OCR DLL component

This is a discussion on OCR DLL component within the C++ Programming forums, part of the General Programming Boards category; Hello everyone, I'm working on a project that requires text to be recognized from on screen applications running as flash ...

  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    2

    OCR DLL component

    Hello everyone,


    I'm working on a project that requires text to be recognized from on screen applications running as flash player or similar. These are casino and / or poker tables.
    They typically not only do not have windows controls that can be used to get text from them but also resist any OCR packages available in the first page of google search for OCR.

    I have however found a project that successfully solves this problem using custum built CTransforms for text, images, hashes etc. The whole project is available in source code here:

    http://code.google.com/p/openholdembot/source/browse/

    Using OpenScrape one can easily connect to any window, get a screenshot, then create regions that require scraping, designate coordinates, foreground text color and color radius (all required for detection of text in that particular region). From there OpenScrape will return pixels, and next step is to create fonts (or manually identify specific characters if you want), which are later used to recognize text. The whole process is relatively simple and straightforward, and results are as accurate as the fonts / characters base you build using the tool. This can typically be brought to 100% as soon as all characters are captured using OpenScrape.



    Now, the problem is that these functions are hardcoded inside OpenHoldem or OpenScrape and can not be easily moved outside those programs. Full source is available for download at above link.


    I was wondering if there are people here who are skilled with C++ and interested in decoupling this powerfull OCR component from OH/OS and creating a sort of standalone package, DLL or similar, that can be integrated in other packages / applications with relative ease.


    If you would like to explore this in more detail, please contact me at registered email.


    Thanks all!

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    So you want to cheat at cards?

  3. #3
    Registered User
    Join Date
    Jul 2008
    Posts
    2
    Without going into further discussion on the subject of cheating, what constitutes it etc. I'll say I'm doing it already, as many others are. Not for the money (which is good btw) but for the technical challenge of putting together a contraption that can beat live humans at the table.

    Can we now get back to the original subject please?



    Cheers

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. non-MFC DLL with MFC app question.
    By Kempelen in forum Windows Programming
    Replies: 10
    Last Post: 08-20-2008, 07:11 AM
  2. Who Called My DLL? And Component Security.
    By DeepBlackMagic in forum Windows Programming
    Replies: 12
    Last Post: 01-07-2007, 04:17 PM
  3. dll communicating between each other
    By cloudy in forum C++ Programming
    Replies: 5
    Last Post: 06-17-2005, 02:20 AM
  4. DLL and std::string woes!
    By Magos in forum C++ Programming
    Replies: 7
    Last Post: 09-08-2004, 12:34 PM
  5. .lib vs .h vs .dll
    By Shadow12345 in forum C++ Programming
    Replies: 13
    Last Post: 01-01-2003, 04:29 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21