CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11

Thread: OCR project

  1. #1
    Join Date
    Sep 2014
    Posts
    6

    OCR project

    Hello,

    I was wondering if someone could point me in the right direction on this one, or tell me where I could find good C++ programmers to hire for this (if it's possible).

    I am trying to automatically(periodically) print screen a custom area of the screen, save it as an image file (the image will have the same format always), and then use OCR to get the text in the image as usable string variables. Is this doable? I was looking into tesseract OCR but I find it a bit unclear.

    Thank you !

  2. #2
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: OCR project

    What's the purpose of this app?

  3. #3
    Join Date
    Sep 2014
    Posts
    6

    Re: OCR project

    Quote Originally Posted by GCDEF View Post
    What's the purpose of this app?
    Hey,

    The purpose is to get slow live data from a software and use it for statistics. (like for example live stock market quotes that I cannot get other way). If this makes sense.

  4. #4
    Join Date
    Sep 2014
    Posts
    6

    Re: OCR project

    Hey,

    The purpose is to get slow live data from a software and use it for statistics. (like for example live stock market quotes that I cannot get other way). If this makes sense.

  5. #5
    Join Date
    Sep 2014
    Posts
    6

    Re: OCR project

    Sorry for the double post, it updated quite slowly.

  6. #6
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: OCR project

    We use this engine, but its API is fairly complicated too. http://rerecognition.com/ I've never used tesseract, but there should be samples out there. OCR engines work well if there's no other graphics in the image that interfere with the characters. That may turn out to be your biggest issue.

  7. #7
    Join Date
    Sep 2014
    Posts
    6

    Re: OCR project

    My skype is " robsdbme " for anyone who has insight on how i can get this done or knows how to do it.

  8. #8
    Join Date
    Oct 2008
    Posts
    1,456

    Re: OCR project

    I had exactly the same problem some years ago; well, it was not a stock market quote service, but some other live feed of data; there was no API, just an ugly legacy Internet Explorer-only Java web app showing a live table of numbers. At first, I also considered an OCR solution but in the end it turned out to be easier than I thought. It sufficed to install some win32 hooks to grab "update" message, capture the screen and perform a very basic character recognition routine ( the java app used a fixed size, non antialiased font with regular formatting ). Maybe, something like this could work for you too ?

  9. #9
    Join Date
    Sep 2014
    Posts
    6

    Re: OCR project

    Quote Originally Posted by superbonzo View Post
    I had exactly the same problem some years ago; well, it was not a stock market quote service, but some other live feed of data; there was no API, just an ugly legacy Internet Explorer-only Java web app showing a live table of numbers. At first, I also considered an OCR solution but in the end it turned out to be easier than I thought. It sufficed to install some win32 hooks to grab "update" message, capture the screen and perform a very basic character recognition routine ( the java app used a fixed size, non antialiased font with regular formatting ). Maybe, something like this could work for you too ?
    Can we chat on Skype?

  10. #10
    Join Date
    Oct 2008
    Posts
    1,456

    Re: OCR project

    I don't have a Skype account, sorry. You can ask questions here or you can send me a PM.

  11. #11
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,626

    Re: OCR project

    you can get stock quotes via a web API.
    I don't think there's any half decent stock broker out there that doesn't provide a web API.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured