motorondo

u/motorondo@lemmy.ml
37 posts · 11 comments

Recent posts

Recent comments

on Fast OCR to clipboard · c/linux · 2 pts · 2y

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

on Linux From Scratch · c/linux · 14 pts · 3y

Do 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.