Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Copyfish
Copy, paste and translate text from images, videos and PDFs with this free Chrome extension
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
>By default, a text recognition request first locates all possible glyphs or characters in the input image, then analyzes each string.
Since the code doesn't specify any preferred language, I think it would try to detect any language supported by the framework.
From short googling, I found this thread [3]. Looks like the supported languages depends on the MacOS version, and it only support en, fr, it, de, es, pt, zh on Big Sur.
Not sure about the rotation though.
[1] https://developer.apple.com/documentation/vision/vnrecognize...
[2] https://github.com/schappim/macOCR/blob/master/ocr/main.swif...
[3] https://developer.apple.com/forums/thread/121048
You’re welcome.
It should be pretty trivial for someone to hook this into https://insect.sh/.
I hooked it up with skhd [0] and it's super convenient, thanks it's a really clean and functional software!
[0] https://github.com/koekeishiya/skhd
The problem with Naptha that the OCR quality of Tesseract (used by Project Naptha) is not very good for screenshots. Historically Tesseract has been optimized for text documents. So the OCR results of this macOCR app are significantly better.
Another alternative is Copyfish. It is cross-platform and uses cloud ocr:
https://github.com/A9T9/Copyfish
OCRmyPDF does that. Given the name I assume it's only for PDFs given the name, but theoretically it should work for any image without the need to extract it from the PDF.
https://github.com/jbarlow83/OCRmyPDF
Flameshot could do with this feature https://github.com/flameshot-org/flameshot/issues/702