News for hackers. Stuff that matters.
Re:TextSnatcher: Copy text from images, for the Linux Desktop by tmerse on Friday March 15, 2024 @04:43AM (#39713402)
I also used the very same script until I stumbled upon this on hn [0].

    #!/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

[0]: https://news.ycombinator.com/item?id=33704483#33705272
Re:TextSnatcher: Copy text from images, for the Linux Desktop by tmerse on Friday March 15, 2024 @04:48AM (#39713434)
Ah just saw rjzzleep posted an updated version here. Happy to steal this one again :)
Re:TextSnatcher: Copy text from images, for the Linux Desktop by begueradj on Friday March 15, 2024 @08:51AM (#39714943)
Looks nice