minus-squaremotorondo@lemmy.mltoLinux@programming.dev•Fast OCR to clipboardlinkfedilinkarrow-up2·1 year agoThanks for this!! I just realized I can use the following command to OCR a bitmap in the clipboard and put the text back into the clipboard. xclip -out -selection clipboard -t image/bmp | tesseract stdin stdout -l eng | xclip -in -selection clipboard This works in my linux VM (in Virtualbox on my work laptop) using bi-directional shared clipboard without touching my Windows software. Mind blown!! linkfedilink
motorondo@lemmy.ml to Free Games@lemmy.ml · 1 year ago[Prime Gaming] Dexter Stardust: Adventures in Outer Spaceplus-squaregaming.amazon.comexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-link[Prime Gaming] Dexter Stardust: Adventures in Outer Spaceplus-squaregaming.amazon.commotorondo@lemmy.ml to Free Games@lemmy.ml · 1 year agomessage-square0fedilink
motorondo@lemmy.ml to Free Games@lemmy.ml · 1 year ago[Prime Gaming] Shotgun King: The Final Checkmateplus-squaregaming.amazon.comexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-link[Prime Gaming] Shotgun King: The Final Checkmateplus-squaregaming.amazon.commotorondo@lemmy.ml to Free Games@lemmy.ml · 1 year agomessage-square0fedilink
motorondo@lemmy.ml to Free Games@lemmy.ml · 1 year ago[Fanatical] Crumble | PC Mac Linux Steam Gameplus-squarewww.fanatical.comexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-link[Fanatical] Crumble | PC Mac Linux Steam Gameplus-squarewww.fanatical.commotorondo@lemmy.ml to Free Games@lemmy.ml · 1 year agomessage-square0fedilink
motorondo@lemmy.ml to Free Games@lemmy.ml · edit-21 year ago[Prime Gaming] Football Manager 2023 (redeemed on Epic Games)plus-squaregaming.amazon.comexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-link[Prime Gaming] Football Manager 2023 (redeemed on Epic Games)plus-squaregaming.amazon.commotorondo@lemmy.ml to Free Games@lemmy.ml · edit-21 year agomessage-square0fedilink
motorondo@lemmy.ml to Free Games@lemmy.ml · 1 year ago[GOG] King's Bounty: The Legendplus-squarewww.gog.comexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-link[GOG] King's Bounty: The Legendplus-squarewww.gog.commotorondo@lemmy.ml to Free Games@lemmy.ml · 1 year agomessage-square0fedilink
motorondo@lemmy.ml to Free Games@lemmy.ml · 1 year ago[Prime Gaming] In Sound Mindplus-squaregaming.amazon.comexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-link[Prime Gaming] In Sound Mindplus-squaregaming.amazon.commotorondo@lemmy.ml to Free Games@lemmy.ml · 1 year agomessage-square0fedilink
motorondo@lemmy.ml to Free Games@lemmy.ml · edit-21 year ago[Epic Games] Homeworld: Deserts of Kharakstore.epicgames.comexternal-linkmessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-link[Epic Games] Homeworld: Deserts of Kharakstore.epicgames.commotorondo@lemmy.ml to Free Games@lemmy.ml · edit-21 year agomessage-square0fedilink
minus-squaremotorondo@lemmy.mltoLinux@lemmy.ml•Linux From Scratchlinkfedilinkarrow-up14·1 year agoDo Linux From Scratch! You will learn a lot. I credit LFS with getting me comfortable with the linux command line. But don’t use it as your daily use linux. linkfedilink
Thanks for this!!
I just realized I can use the following command to OCR a bitmap in the clipboard and put the text back into the clipboard.
xclip -out -selection clipboard -t image/bmp
| tesseract stdin stdout -l eng
| xclip -in -selection clipboard
This works in my linux VM (in Virtualbox on my work laptop) using bi-directional shared clipboard without touching my Windows software.
Mind blown!!