News for hackers. Stuff that matters.
Re:Flameshot v11.0.0 by QuadrupleA on Tuesday January 25, 2022 @10:59AM (#30073286)
Somewhat related / complementary - Capture2Text is a great Windows OCR screenshot tool, i.e. for capturing graphical text and converting it to textual text:

http://capture2text.sourceforge.net/

No affiliation with the project, just a tool I really like.

Re:Flameshot v11.0.0 by xrigau on Tuesday January 25, 2022 @11:20AM (#30073643)
I use this similar app for MacOS and it works wonders: https://textsniper.app/

Also not affiliate with the project, but it does work really well

Re:Flameshot v11.0.0 by MaxikCZ on Tuesday January 25, 2022 @02:57PM (#30077163)
I was searching for something like Capture2text, which I use often on my windows machine, when I got macbook. None of the free apps made it past my requirements and I was unwilling to pay. I already had BetterTouchTools, so I created a global gesture for 2 finger double-tap that runs my OCR-translate Shortcut (the Apple app called Shortcuts). There the shortcut consists of: Take interactive screenshot -> Extract text from screen -> Translate text from image from detected language to English -> Show translated text.

Now my only 2 gripes are: the gesture sometimes doesn't trigger (for example when right click menu is open), and second: (resolved in edit) the OCR is keeping line breaks but the translation translates each line independently (still shows all lines at the same time). Maybe its fixable somehow, didn't bother yet.

EDIT: Just looked into it and putting a "Split text by lines" and "Combine text with spaces" nodes between "Extract text from screen" and "Translate text from image" works great with getting rid of line breaks. There's also replace text with regex support for wizards. If anyone knows how to say in regex "delete single newline characters, but if there's two, keep both of them", that would be nice.

Re:Flameshot v11.0.0 by dindresto on Wednesday January 26, 2022 @02:56AM (#30082952)
The built-in OCR of macOS truely is the best one I have ever used. Works in Safari and Preview.