Frog: OCR Tool for Linux
11–20 of 49 posts
Re: Frog: OCR Tool for Linux
#12Appears to be a nice wrapper around Tesseract: https://github.com/tesseract-ocr/tessdata https://en.wikipedia.org/wiki/Tesseract_(software) The demo of course works perfectly on a Mac as this is already built into Ventura. If you haven't experienced it yet ye olde ctrl-f now seamlessly sneaks a peak into images on the page for example, surprisingly useful. In November 2020, Brewster Kahle from the Internet Archive pr…
Last I compared them, (1-2 years ago), Google OCR was much much better and supported more languages than tesseract. There was also an OCR in openCV, which was slightly better than tesseract, but not good enough to be useful.
Re: Frog: OCR Tool for Linux
#13Appears to be a nice wrapper around Tesseract: https://github.com/tesseract-ocr/tessdata https://en.wikipedia.org/wiki/Tesseract_(software) The demo of course works perfectly on a Mac as this is already built into Ventura. If you haven't experienced it yet ye olde ctrl-f now seamlessly sneaks a peak into images on the page for example, surprisingly useful. In November 2020, Brewster Kahle from the Internet Archive pr…
Last I compared them, (1-2 years ago), Google OCR was much much better and supported more languages than tesseract. There was also an OCR in openCV, which was slightly better than tesseract, but not good enough to be useful.
Re: Frog: OCR Tool for Linux
#14Appears to be a nice wrapper around Tesseract: https://github.com/tesseract-ocr/tessdata https://en.wikipedia.org/wiki/Tesseract_(software) The demo of course works perfectly on a Mac as this is already built into Ventura. If you haven't experienced it yet ye olde ctrl-f now seamlessly sneaks a peak into images on the page for example, surprisingly useful. In November 2020, Brewster Kahle from the Internet Archive pr…
Re: Frog: OCR Tool for Linux
#15Re: Frog: OCR Tool for Linux
#16Earlier quoted context omitted.
Last I compared them, (1-2 years ago), Google OCR was much much better and supported more languages than tesseract. There was also an OCR in openCV, which was slightly better than tesseract, but not good enough to be useful.
What are these projects are you referring to? AFAIK Tesseract is sponsored by Google, from what I understand it is state of the art, ie it is Google OCR. Searching for OCR with OpenCV only reveals using OpenCV with Tesseract, not rolling its own OCR, OpenCV being used to preprocess images to optimise them for Tesseract. Maybe I'm missing something, so I'm interested if you can point me in the right direction.
Source: I work in developing a competing OCR service and we keep an eye on competition (e.g. aside from Google, solutions by Azure, Amazon, Abbyy, Nuance, Cloudmersive, etc., as well as our internal product of course, which is not available externally), and they are (almost) all significantly better on Tesseract.
The only domain where Tesseract is competitive is for perfect "black text on white paper", it gives pretty poor performance when dealing with colored, distorted text, or even strong page structure effects (tables, etc.).
When I say "pretty poor" I mean: "with respect to the state-of-the-art", of course it's still enormously better than what was the state-of-the-art before deep learning came into the picture, roughly a decade ago. And for things like "search contents of a book" it's basically perfect already.
Re: Frog: OCR Tool for Linux
#17Re: Frog: OCR Tool for Linux
#18Appears to be a nice wrapper around Tesseract: https://github.com/tesseract-ocr/tessdata https://en.wikipedia.org/wiki/Tesseract_(software) The demo of course works perfectly on a Mac as this is already built into Ventura. If you haven't experienced it yet ye olde ctrl-f now seamlessly sneaks a peak into images on the page for example, surprisingly useful. In November 2020, Brewster Kahle from the Internet Archive pr…
Among many other things, it offes OCR of any region on the screen
for larger-scale OCR processing of pdfs and other files, I love how s3-ocr https://simonwillison.net/2022/Jun/30/s3-ocr/ makes working with AWS Textract OCR more accessible (though, somehow, Textract refuses to fully OCR larger pdfs I possess..)
Re: Frog: OCR Tool for Linux
#19This looks like a nice app. I was looking for something like this a while back until I noticed that there are "one" liners that can you can setup for a hotkey: #!/usr/bin/env bash langs=(eng ara fas chi_sim chi_tra deu ell fin heb hun jpn kor nld rus tur) lang=$(printf '%s\n' "${langs[@]}" | dmenu "$@") maim -us | tesseract --dpi 145 -l eng+${lang} - - | xsel -bi
#!/bin/bash
SRC_IMG=$(mktemp -u /tmp/ocr_XXXXXXXXX.png)
scrot --select "$SRC_IMG" -q 100
mogrify -modulate 100,0 -resize 400% "$SRC_IMG"
tesseract "$SRC_IMG" "$SRC_IMG" &> /dev/null
OCR_RESULT=$(cat "$SRC_IMG.txt")
echo "$OCR_RESULT"
notify-send "$OCR_RESULT"
xsel -bi Re: Frog: OCR Tool for Linux
#20Earlier quoted context omitted.
What are these projects are you referring to? AFAIK Tesseract is sponsored by Google, from what I understand it is state of the art, ie it is Google OCR. Searching for OCR with OpenCV only reveals using OpenCV with Tesseract, not rolling its own OCR, OpenCV being used to preprocess images to optimise them for Tesseract. Maybe I'm missing something, so I'm interested if you can point me in the right direction.
Google OCR is definitely not the same as Tesseract, although it's true that Tesseract is maintained by Google. Google OCR has definitely much higher accuracy and is significantly faster (basically always taking 1s for inference, while Tesseract can easily take 10s or more for dense pages). Source: I work in developing a competing OCR service and we keep an eye on competition (e.g. aside from Google, solutions by Azur…
Great. How do you quantify it and keep track? Is there an industry standard benchmark?
Would you consider sharing a backblaze type analysis (they track consumer HD performance and blogging about it got them a lot of attention and customers)?