4 ms·
> ocr my_image.png extracts text from an image and prints it to stdout. It only works on macOS The Mac Shortcut at https://github.com/e-kotov/macos-shortcuts h
by Noumenon72 1y ago
> ocr my_image.png extracts text from an image and prints it to stdout. It only works on macOS
The Mac Shortcut at https://github.com/e-kotov/macos-shortcuts https://github.com/e-kotov/macos-shortcuts lets you select a particular area of the screen (as with Cmd-Shift-4) and copies the text out of that, allowing you to copy exactly the text you need from anywhere on your screen with one keyboard shortcut. Great for popups with unselectable text, and copying error messages from coworkers' screenshares.
- 0cf8612b2e1e 1y agoI have a Linux equivalent that uses maim to select a region and then tesseract to do the OCR.