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