Live data from Hacker News

Frog: OCR Tool for Linux

tenderowl.com

1–10 of 49 posts

Re: Frog: OCR Tool for Linux

#2
Appears 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 praised Tesseract saying:

  Tesseract has made a major step forward in the last few years. When we last evaluated the accuracy it was not as good as the proprietary OCR, but that has changed– we have done evaluations and it is just as good, and can get better for our application because of its new architecture.
Anybody have an up to date breakdown of available OCR solutions?

Re: Frog: OCR Tool for Linux

#4
post #2

Appears 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

#7
A useful tool and great UI work. A handy extension would be the ability to extract text of specific colour, e.g. the highlights in Kindle's Cloud Reader, to get around the 10% highlight export cap that Amazon puts on most books. I did this previously by running the screenshot through ImageMagick's colour filling and thresholding options before passing the output to Tesseract. A colour picker tool might be a nice addition.

Re: Frog: OCR Tool for Linux

#8
post #2

Appears 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…

There's also DocTR which can do text detection and extraction out of the box.

It's command line driven but can display the detected text as an overlay of the document.

https://github.com/mindee/doctr

Re: Frog: OCR Tool for Linux

#10
This 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
Post reply on HN