Haven't tested this, but try:
System Settings > General > Language & Region > Live Text
"Select text in images to copy or take action."
System Settings > General > Language & Region > Live Text
"Select text in images to copy or take action."
automatic OCR / processing of all image files on macOS
If OCR was deferred until user request/consent, it would eliminate the battery/performance cost of speculative image analysis. photoanalysisd
mediaanalysisd
com.apple.photos.backgroundAnalysisService