News for hackers. Stuff that matters.
Re:Tesseract.js: Pure JavaScript OCR for 100 Languages by NewDimension on Friday December 20, 2019 @03:17PM (#21847054)
That sounds like a valid approach, any idea what tools I could use to get the define the area and get the screenshot?
Re:Tesseract.js: Pure JavaScript OCR for 100 Languages by severine on Friday December 20, 2019 @04:59PM (#21847746)
You possibly have one installed. Mine comes with my desktop (Xfce), and gives me a GUI and a CLI to take screenshots of the full desktop, any window, or a particular area defined by crosshairs.

There's a very popular and minimalist CLI called scrot that I think would be ideal... well scratch that, I made a search and our question has already been asked and answered:

https://askubuntu.com/questions/280475/how-can-instantaneous...

https://stackoverflow.com/questions/21497447/ocr-on-a-screen...

Re:Tesseract.js: Pure JavaScript OCR for 100 Languages by mkl on Friday December 20, 2019 @06:10PM (#21848201)
If I remember correctly, I did it with the ImageMagick "import" command. I found I had to add a wide white border, as Tesseract got confused near the edges of the image (this was over 10 years ago though).