Results 1 to 10 of 10

Thread: TesseractTool

  1. #1
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default TesseractTool

    TesseractTool - A Helper tool for finding the best (simple) filter to get the best recognition results.

    I wrote a small tool in Lape so people can understand, and figure out how the simple filters we apply to images for Tesseract to work optimal.

    Optimal way is to re-size > threshold > Tesseract.

    Couple of tips:
    • Left click on image to start to draw a box, left click again to finish the box.
    • Press enter to crop the image.
    • Control + v to paste from clipboard.
    • Set whitelist (Chars to only read) under the tesseract menu.

    To-do:
    • Undo/Redo

    Git: https://github.com/Olly-/TesseractTool



    Also, Thanks to slacky, He made me release it.. and helped with bit of it.
    Attached Files Attached Files

  2. #2
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

  3. #3
    Join Date
    Jan 2012
    Location
    East Coast
    Posts
    733
    Mentioned
    81 Post(s)
    Quoted
    364 Post(s)

    Default

    Nice! This can come in handy!

  4. #4
    Join Date
    Feb 2012
    Location
    Norway
    Posts
    995
    Mentioned
    145 Post(s)
    Quoted
    596 Post(s)

    Default

    Great work Olly
    !No priv. messages please

  5. #5
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

  6. #6
    Join Date
    Dec 2011
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Great tool!

  7. #7
    Join Date
    Mar 2015
    Location
    United States
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default

    Would this tool help with text recognition of AA text? If not what is this used for in text recognition? Seems interesting .

  8. #8
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    Quote Originally Posted by elephant View Post
    Would this tool help with text recognition of AA text? If not what is this used for in text recognition? Seems interesting .
    Yes, probably. This uses TesseractOCR (https://code.google.com/p/tesseract-ocr/) and Tesseract is also used in SRL-6 on somethings where handmade fonts (as well as simba's method) just dont cut it.

    There is nothing really required to do, ie font picking, sizing, spacing, etc, just give tesseract a bitmap (or in SRL-6's case, a tbox) and it extracts the text fairly well.

    Keep in mind, as this is not like simba's OCR, it is slower. But for AA'ed text, it will probably work better.

  9. #9
    Join Date
    May 2015
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Would this tool help with text recognition of AA text? If not what is this used for in text recognition

  10. #10
    Join Date
    Apr 2015
    Posts
    37
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Hmmmm, been trying to use Tesseract to read green text letters. I can get the tool to work perfectly. It reads the text like a boss. However the actual tesseract that simba uses, outputs 3 different lines with about 10 digits each. (I'm only reading 3 characters....)

    EDIT: Finally figured it out, maybe had something to do with saving the tesseract file before trying it out. Still though, the tesseractGetText function needed a filter of [3, 3, [false, 20, TM_MEAN]]. Yet the tool said that [5, 5, [false, 0, TM_MEAN]] would work perfectly for reading lime-green text.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •