This task can be performed using Text Capture
Simple & convenient OCR tool for macOS
Best product for this task

Text Capture
productivity
Capture text from anywhere - non-selectable text in apps, images, videos, PDFs, or anything on your screen! Simple & convenient OCR tool for macOS 1. Click capture text 2. Select an area on screen with text 3. Paste the text anywhere

What to expect from an ideal product
- Snap text from any image with a quick screen selection
- Works on non-copyable text in photos, screenshots and graphics
- Copy text directly from PDFs without selecting or highlighting
- Grab text from videos and online content with one click
- Turn picture text into pasteable content for emails and documents