Ask Different (Apple)
Q&A for power users of Apple hardware and software
Latest Questions
29
votes
5
answers
32486
views
Built-in OCR in macOS?
Recently I've found on my Mac that I can easily highlight text in an image that wasn't possible before. Is there also a built-in CLI option or an AppleScript option to address the OCR program with which I can achieve the same results as tesseract?
Recently I've found on my Mac that I can easily highlight text in an image that wasn't possible before.
Is there also a built-in CLI option or an AppleScript option to address the OCR program with which I can achieve the same results as tesseract?
user448077
Mar 5, 2022, 02:59 PM
• Last activity: Jun 24, 2025, 02:35 AM
5
votes
3
answers
5058
views
Force Preview to Live Text a PDF?
I have scanned a document and turned it into a PDF. When I open that PDF in Preview, I would have expected all of the text in the doc to be selectable via Live Text, but it's not. However, if I take a screenshot of the text displayed in the doc that's open in Preview, and open the screenshot in Prev...
I have scanned a document and turned it into a PDF. When I open that PDF in Preview, I would have expected all of the text in the doc to be selectable via Live Text, but it's not.
However, if I take a screenshot of the text displayed in the doc that's open in Preview, and open the screenshot in Preview, all of the text is instantly selectable.
How can I force Preview to Live Text my scanned PDF?

Sam
(3018 rep)
May 5, 2022, 12:03 PM
• Last activity: Jan 21, 2024, 02:32 AM
1
votes
1
answers
300
views
Is Live Text OCR data stored somewhere?
I’m finding the [Live Text feature][1] on iOS to be incredibly useful. For example, it allows me to copy example sentences from the Duolingo language-learning app if I save the sentence as screenshot. I’d like to access this OCR data for multiple screenshots, either directly on my iPhone (iOS 17) or...
I’m finding the Live Text feature on iOS to be incredibly useful. For example, it allows me to copy example sentences from the Duolingo language-learning app if I save the sentence as screenshot.
I’d like to access this OCR data for multiple screenshots, either directly on my iPhone (iOS 17) or via my Mac (Big Sur 10.11).
I presume this data is part of the image files’ metadata, or perhaps it’s stored in sidecar files.
Can I extract this data for inspection or automation?

EJ Mak
(863 rep)
Dec 26, 2023, 03:27 PM
• Last activity: Dec 26, 2023, 10:11 PM
3
votes
1
answers
1680
views
Search for text in image using macOS Preview's Live Text OCR
I want to use Apple's new [Live Text](https://support.apple.com/en-us/HT212630) feature to **search** a PDF for a specific text phrase. The PDF is a large file without any baked-in encoded text. Just many pages of images of scanned text, stored in a PDF. Per this question, Preview evidently cannot u...
I want to use Apple's new [Live Text](https://support.apple.com/en-us/HT212630) feature to **search** a PDF for a specific text phrase. The PDF is a large file without any baked-in encoded text. Just many pages of images of scanned text, stored in a PDF.
Per this question, Preview evidently cannot use Live Text in a PDF directly:
https://apple.stackexchange.com/questions/440711/force-preview-to-live-text-a-pdf
Using
File > Export
, I can turn the PDF into a multi-page PNG image file.
Once it's an image, Live Text is immediately available. I can select and copy/paste OCR'd text out of the image. I can press ⌘A to select all the text on a single page.
But how can I **search** the image file for Live Text?
In the image file, Preview's Edit > Find...
is not available.
I can copy/paste a single page's Live Text, and then use Find in a text editor. But I can't copy more than one page of the image at a time.
Can I use Find or use Spotlight Search to search Live Text? Please only answers using the new iOS/macOS Live Text feature, not any 3rd party OCR programs.
pkamb
(9620 rep)
Oct 13, 2022, 12:21 AM
• Last activity: Mar 18, 2023, 10:02 PM
15
votes
3
answers
2765
views
For "Live Text" in macOS Monterey, can you have it scan all of your photos, and use the Live Text OCR'd content to search against in Spotlight Search?
MacOS Monterey includes "Live Text", which is OCR to use when viewing your photos, including handwriting recognition. But I have thousands of photos, many of which are photos of presentations, pictures of PowerPoint slides taken from my seat in the audience, etc. I also have hundreds of screenshots...
MacOS Monterey includes "Live Text", which is OCR to use when viewing your photos, including handwriting recognition.
But I have thousands of photos, many of which are photos of presentations, pictures of PowerPoint slides taken from my seat in the audience, etc. I also have hundreds of screenshots with text from YouTube.
I'd like the Mac to slowly work its way through *all* of my photos and add the recognized text as some type of searchable attribute, attached to each photo.
So can I have Live Text OCR my entire Photo Library?
Mark Bennett
(431 rep)
Oct 21, 2021, 07:05 PM
• Last activity: Jan 10, 2023, 05:39 PM
1
votes
0
answers
383
views
Mac Monterey "Live Text" Not Working for Imported Screenshots in Photos app
Live Text seems to work in Photos for pictures that I've taken with my iPhone camera. However, I want to use the Live Text on screenshots from meetings. I've imported the screenshot into Photos, with very clear text, but it only wants to treat it as pixels. I can't share the text. Some of it is a bi...
Live Text seems to work in Photos for pictures that I've taken with my iPhone camera.
However, I want to use the Live Text on screenshots from meetings. I've imported the screenshot into Photos, with very clear text, but it only wants to treat it as pixels. I can't share the text. Some of it is a bit small, but very clear.
On this Mac, I do not have it automatically putting screen shots into photos; I only do that manually for particular screenshots.
I'm on an Intel iMac Pro (Intel Macs *do* now support Live Text; early reports that you need an M1 Mac are out of date), with up-to-date Monterey macOS.
Mark Bennett
(431 rep)
Dec 15, 2021, 07:12 PM
• Last activity: Jan 10, 2023, 05:38 PM
Showing page 1 of 6 total questions