Results 1 to 3 of 3

Thread: Tesseract-OCR

  1. #1
    Senior Member
    Join Date
    Aug 2003
    Posts
    6,585
    Thanks
    0
    Thanked
    246 times in 208 posts

    Tesseract-OCR

    I am wondering if anyone is familiar with the Tesseract-OCR. I'd like to train it, but find the instructions here, a bit hard to digest.

    I am not trying to do anything complicated. I only need to recognise single line of numbers. As it is, it can sometime manage it perfectly already, yet sometime it fails completely.

    Here is an example:

    Running with the digits parameter, Tesseract can cope with it perfectly.

    Yet over here:

    It completely fails. It isn't a case that it gets it wrong, it is unable to output anything at all.

    In making the box file, language is irrelevant (I am dealing with digits only) and I don't know what font it is. Another difficulty is that if I work with the black borders, it is common for the numbers to touch each other, making it hard to establish the exact box. Can I just draw an approximation? Really, I think that only needs the white areas.

  2. #2
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: Tesseract-OCR

    http://www.whatfontis.com/ suggested its "Futura Bold"

    You might be able to make it much simpler by just masking only the white? Solves the touching of the borders!
    throw new ArgumentException (String, String, Exception)

  3. #3
    Senior Member
    Join Date
    Aug 2003
    Posts
    6,585
    Thanks
    0
    Thanked
    246 times in 208 posts

    Re: Tesseract-OCR

    Well that is odd. Upon more testing, it turns out that if I crop the box so that there is less of the orange background, it works perfectly (so far). Notice that the first image has more space especially to the right. This was done on purpose to accommodate more digits if necessary, but it throws off the OCR engine it seems.

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
  •