ordellrb@lemmy.world to linuxmemes@lemmy.world · edit-229 days agoNot Total Recall (1990)lemmy.worldimagemessage-square57fedilinkarrow-up1728arrow-down110
arrow-up1718arrow-down1imageNot Total Recall (1990)lemmy.worldordellrb@lemmy.world to linuxmemes@lemmy.world · edit-229 days agomessage-square57fedilink
minus-squareAux@lemmy.worldlinkfedilinkarrow-up58·29 days agoYou can start by running sudo apt install tesseract-ocr and then reading its docs.
minus-squareMacN'Cheezus@lemmy.todaylinkfedilinkEnglisharrow-up4·edit-227 days agoIt appears to be as simple as tesseract <infile> <outfile>. Possibly could even pipe (or tee) the screenshot straight into that and save both an image and a text file in a single command line. So something like this should do the trick: gnome-screenshot -f - | tee /Microsoft/yourPrivacy/$(date +%s).png | tesseract - /Microsoft/yourPrivacy/$(date +%s).txt Skip the database, just use grep to search that directory if you need to find anything. Voilà, homemade Recall.
minus-squareMacN'Cheezus@lemmy.todaylinkfedilinkEnglisharrow-up0·28 days agoYou can use textract to make it even simpler (still uses tesseract under the hood though).
You can start by running
sudo apt install tesseract-ocr
and then reading its docs.Fulfills the AI quota 👍
It appears to be as simple as
tesseract <infile> <outfile>
. Possibly could even pipe (or tee) the screenshot straight into that and save both an image and a text file in a single command line.So something like this should do the trick:
Skip the database, just use
grep
to search that directory if you need to find anything. Voilà, homemade Recall.You can use textract to make it even simpler (still uses tesseract under the hood though).