nicooprat
-
Posts
5 -
Joined
-
Last visited
-
Days Won
1
Reputation Activity
-
nicooprat got a reaction from JJJJ in OCR: extract text from snapshot
Hi there,
Just sharing my first workflow. Some OCR workflow already exist but are relying on some obscur chinese API with exposed personal credentials... This one use your system own installation of `tesseract`. Just take a snapshot and paste the text. The script usually takes no more than a few seconds.
https://github.com/nicooprat/alfred-ocr
PR welcome.
Hope it helps!
-
-
-
nicooprat got a reaction from Mike Outram in OCR: extract text from snapshot
Hi there,
Just sharing my first workflow. Some OCR workflow already exist but are relying on some obscur chinese API with exposed personal credentials... This one use your system own installation of `tesseract`. Just take a snapshot and paste the text. The script usually takes no more than a few seconds.
https://github.com/nicooprat/alfred-ocr
PR welcome.
Hope it helps!
-
nicooprat got a reaction from cands in OCR: extract text from snapshot
Hi there,
Just sharing my first workflow. Some OCR workflow already exist but are relying on some obscur chinese API with exposed personal credentials... This one use your system own installation of `tesseract`. Just take a snapshot and paste the text. The script usually takes no more than a few seconds.
https://github.com/nicooprat/alfred-ocr
PR welcome.
Hope it helps!
-
nicooprat reacted to selfmade69 in OCR: extract text from snapshot
This is some insanely productive and underrated plugin. It made my note taking life 10x easier
-
nicooprat got a reaction from selfmade69 in OCR: extract text from snapshot
Hi there,
Just sharing my first workflow. Some OCR workflow already exist but are relying on some obscur chinese API with exposed personal credentials... This one use your system own installation of `tesseract`. Just take a snapshot and paste the text. The script usually takes no more than a few seconds.
https://github.com/nicooprat/alfred-ocr
PR welcome.
Hope it helps!
-
nicooprat got a reaction from Shark.Formax in OCR: extract text from snapshot
Hi there,
Just sharing my first workflow. Some OCR workflow already exist but are relying on some obscur chinese API with exposed personal credentials... This one use your system own installation of `tesseract`. Just take a snapshot and paste the text. The script usually takes no more than a few seconds.
https://github.com/nicooprat/alfred-ocr
PR welcome.
Hope it helps!
-
nicooprat got a reaction from ReinaSuo in OCR: extract text from snapshot
I recently added the `lang` parameter with `-l` flag:
tesseract /tmp/ocr_snapshot.png stdout -l {query} 2>&1 It should allow you to run the command with `OCR fra` for french for example, but it should still work without any parameter. Tried just now and it works (Mac High Sierra & tesseract 3.05.01).
Possible solutions:
* add a way in the bash script to remove `-l` flag if `{query}` is undefined (don't know how to do this)
* downgrade to tesseract 3 as it seems to behave differently in 4
* remove this part in the bash script if you don't need it (see screenshot attached)
Hope it helps.
-
nicooprat got a reaction from paulw in OCR: extract text from snapshot
Hi there,
Just sharing my first workflow. Some OCR workflow already exist but are relying on some obscur chinese API with exposed personal credentials... This one use your system own installation of `tesseract`. Just take a snapshot and paste the text. The script usually takes no more than a few seconds.
https://github.com/nicooprat/alfred-ocr
PR welcome.
Hope it helps!