Jump to content

nicooprat

Member
  • Posts

    5
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    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!
  2. Like
    nicooprat reacted to marlowe in OCR: extract text from snapshot   
    Really useful. Thank you!!
  3. Like
    nicooprat reacted to Mike Outram in OCR: extract text from snapshot   
    Thanks so much for this!
  4. Like
    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!
  5. Like
    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!
  6. Like
    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
  7. Like
    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!
  8. Like
    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!
  9. Like
    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.
     
     

  10. Like
    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!
×
×
  • Create New...