1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Read text inside Gif

Discussion in 'Programming' started by ma0, Jul 10, 2007.

  1. #1
    Hi, I need to read some text numbers inside a Gif. What's the easy way to do so? I haven't found anything on the net.

    Note: I don't want to read captcha, I need to read Feedburner chicklets.
     
    ma0, Jul 10, 2007 IP
  2. ProgrammersTalk

    ProgrammersTalk Peon

    Messages:
    684
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ProgrammersTalk, Jul 10, 2007 IP
  3. ma0

    ma0 Peon

    Messages:
    218
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    lol..
    I think some tool already exist, otherwise all those spammer have to read captchas by hand (eyes lol).

    I'm sure someone here knows them, but he's afraid to tell.
    :D
     
    ma0, Jul 11, 2007 IP
  4. marblehost

    marblehost Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    maybe it's not a easy job.
    you can use some api/skd of twain.
    But if the gif has innterfere code. It's near impossible to read the text
     
    marblehost, Jul 11, 2007 IP
  5. ma0

    ma0 Peon

    Messages:
    218
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I have to read Feedburner images.
    They are animated gif, so I have to use ImageMagik to split them.
    convert +adjoin -coalesce anim.gif frame%02d.gif
    Code (markup):
    But then I need to read the text inside. I tried with Google's OCR code, but it doesn't work as expected, or maybe I'm not good enough to configure it.

    I am sure there is some lib to read Captchas, so it should be good enough for my task.
     
    ma0, Jul 11, 2007 IP
  6. arcx33

    arcx33 Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Is OCR (Optical Character Recognition) what you are after?

    If so then there are a bunch out there for free even one from google called OCRopus (no downloads yet)

    Just search for "open source OCR" and a whole lot will drop out
     
    arcx33, Jul 11, 2007 IP
  7. sarahk

    sarahk iTamer Staff

    Messages:
    28,494
    Likes Received:
    4,457
    Best Answers:
    123
    Trophy Points:
    665
    #7
    Check with feedburner, they may have an api that you can use to get the info without trying to mangle their images.
     
    sarahk, Jul 11, 2007 IP
  8. ProgrammersTalk

    ProgrammersTalk Peon

    Messages:
    684
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #8
    LOL, I'm talking about more advanced ones. There are some researched about License Plate recognition :D
     
    ProgrammersTalk, Jul 12, 2007 IP
  9. ma0

    ma0 Peon

    Messages:
    218
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Sarahk: They have an API, but last time I checked, it was too restrictive. I think I can't do more than 1000 requests/day.

    I tested Tesseract OCR (now developed by Google), but apparently I don't know how to set it up correctly. I was able to get a number just once, then for every other gif I tried, I got just rubbish.
    Funnily enough, the one I tested read 55 when the gif contained 56.
     
    ma0, Jul 12, 2007 IP