Results 1 to 6 of 6

Thread: Problem using Gocr

  1. #1
    Join Date
    Nov 2009
    Posts
    518

    Problem using Gocr

    Hello,
    I have a little trouble with using gocr, let me explain. I have a picture with characters (eg author name), to get this string, I decided to use gocr I use the following way:
    Code:
    convert image.jpg image.pnm | gocr --
    Unfortunately, the result is not what I expected. In fact here is that the court order me output:
    Code:
    ______________0__a__
    Can anyone help me? Thank you for everything.
    Last edited by GlassFish; 05-01-2010 at 02:31 PM.

  2. #2
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Problem using Gocr

    hi,
    I use Tesseract. Initially I wanted to transcribe a leaf , as it got out of something quite wizard, I looked and saw that tesseract was based on a list of words in English so I ' I add word in other language and it work more better. But it is still keyword wizard. Try it once, if you like it then continue with it or else just look for any other software which fulfills your requirement.

  3. #3
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Problem using Gocr

    Hi
    This is what you are doing
    convert image.jpg image.pnm | gocr --
    Convert does not review ... it simply write the second file from the first using any treatment. You probably have to do:
    Code:
    convert image.jpg image.pnm
    cat image.pnm | gocr --
    By my knowledge this should work with you, if you have any more queries then do post back.

  4. #4
    Join Date
    Nov 2009
    Posts
    518

    Re: Problem using Gocr

    Hello,
    The result is identical in effect to a
    Code:
    convert test.jpg test.pnm
    cat test.pnm | gocr --
    return to
    Code:
    convert test.jpg test.pnm
    gocr test.pnm
    which is roughly equivalent to:
    Code:
    convert test.jpg test.pnm | gocr --
    My cmd works very well, I squeezed from the tube "test.pnm" that is passed in parameter to gocr which is responsible for processing the image.

  5. #5
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Problem using Gocr

    Hello
    The result is identical
    I'm not sure, instead I think
    " ~% Convert img015.jpg img015.png> pl.png
    ~% Ll img015.jpg img015.png pl.png
    -rw ------- 1 Rom own 1614547 2009-07-24 13:49 img015.jpg
    -rw-r - r - 1 Rom own 18201460 2009-07-25 17:42 img015.png
    -rw-r - r - 1 Rom own 0000 2009-07-25 16:42 pl.png"
    Check the output you got with this one and compare both of them.

  6. #6
    Join Date
    Nov 2009
    Posts
    518

    Re: Problem using Gocr

    Hi
    Yes, finally I think I have got an appropriate solution for me not the best still I won't mind it. Anyway reading is allowed for the owner, then me. Although I am probably misspoke, the result is identical, ie: gocr takes parameter file. Pnm converted with convert, not the jpeg file passed as argument to convert.

Similar Threads

  1. Sony VGNCS3 laptop 15 inch screen problem...LCD or CHIP problem?
    By Mick$Tyler in forum Hardware Peripherals
    Replies: 5
    Last Post: 31-10-2010, 06:49 AM
  2. Replies: 6
    Last Post: 27-07-2010, 12:10 AM
  3. Replies: 4
    Last Post: 10-04-2010, 04:19 PM
  4. AD problem in Server 2003, Userenv Event ID 1053 problem
    By Victor Kam in forum Active Directory
    Replies: 3
    Last Post: 24-09-2007, 04:44 PM
  5. Replies: 1
    Last Post: 30-11-2004, 11:57 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,175,294.53175 seconds with 16 queries