Results 1 to 10 of 10

Thread: VB - Text Recognition Example

  1. #1

    Thread Starter
    Hyperactive Member Dmitri K's Avatar
    Join Date
    Sep 2002
    Location
    West Palm Beach, FL
    Posts
    444

    VB - Text Recognition Example

    The most recent sub-project of the most recent project (FOREX Analyzer) of mine (as of February 19, 2003). I had to develop a precise (no errors) OCR. If you ever think about writing an OCR program, this could be the core of the program.
    Attached Files Attached Files

  2. #2
    New Member
    Join Date
    Dec 2005
    Posts
    4

    Re: VB - Text Recognition Example

    This is exactly what i was searching for
    i have some problems though
    first,
    I'm using vb.net,not vb6
    so some of the classes u r using not being used there
    the reason why i'm using vb.net cuz i'm developing the application for windows mobile,to be used for pocket pc devices
    can u help me out plz?

  3. #3
    Hyperactive Member
    Join Date
    Mar 2006
    Posts
    366

    Re: VB - Text Recognition Example

    How can i put an image into it and get it to recognise the text. Every time i try, the image turns to a muddle of black and white pixels, then goes back to normal without any recognsed text coming up in the textbox.

    Anyone have any ideas...

  4. #4
    Hyperactive Member
    Join Date
    Mar 2006
    Posts
    366

    Re: VB - Text Recognition Example

    Sorry, forgot to say also that if i open word, write something, take screenshot, and import that, it just decyphers it as naughts. Lastly, how do i work out number of pixels a letter takes up.

    Thanks

  5. #5

    Thread Starter
    Hyperactive Member Dmitri K's Avatar
    Join Date
    Sep 2002
    Location
    West Palm Beach, FL
    Posts
    444

    Re: VB - Text Recognition Example

    Well the OCR is 100 percent accurate. Any alternations, especially if you are using a different font, not to mention the size is even different, the code will not work. Inconvinient? Yes, but darn accurate. This code is just an example, you would have to derive your own 100% accurate code for your own purposes using my technique (or any other you may find suitable). If you want to make an OCR that will work with anything "reasonable", you will increase the chance for mistakes. For example simple letters like O and D sometimes on some fonts could be easily confused even by a naked eye, let alone an OCR that calculates percent similarity and gives best match.

  6. #6
    Hyperactive Member kazar's Avatar
    Join Date
    Apr 2006
    Location
    UK
    Posts
    323

    Re: VB - Text Recognition Example

    then surely it's not a true ocr. OCR is designed to get text from any font, size, etc, even handwriting sometimes.
    KAZAR

    The Law Of Programming:

    As the Number of Lines of code increases, the number of bugs generated by fixing a bug increases exponentially.
    __________________________________
    www.startingqbasic.co.uk

  7. #7

    Thread Starter
    Hyperactive Member Dmitri K's Avatar
    Join Date
    Sep 2002
    Location
    West Palm Beach, FL
    Posts
    444

    Re: VB - Text Recognition Example

    No it's not the OCR you usually see that works with most fonts, sizes, etc....this is an example OCR for Arial 9 font that is more accurate than the OCR you are talking about. Again, it works just for ARIAL 9 font, you would need to completely rewise the technique or most likeley use a different method for usual OCR type that works with a lot more than Arial 9 but it's also not 100% accurate, at least on some fonts.

  8. #8
    Lively Member Scorpionz's Avatar
    Join Date
    Feb 1999
    Location
    lafayette/kaplan, louisiana, usa
    Posts
    72

    Re: VB - Text Recognition Example

    hmm, i take it this example only works withone line of text..

  9. #9
    Lively Member Scorpionz's Avatar
    Join Date
    Feb 1999
    Location
    lafayette/kaplan, louisiana, usa
    Posts
    72

    Re: VB - Text Recognition Example

    heres a scenario.. i know how to add letters to the array and all that good stuff.. lets say i'm reading an image that has "Lv" in it, there is no 1 pixel space between the letters thus it would not return anything at all.. how would that be delt with?

  10. #10
    Lively Member Scorpionz's Avatar
    Join Date
    Feb 1999
    Location
    lafayette/kaplan, louisiana, usa
    Posts
    72

    Re: VB - Text Recognition Example

    jcis? i got an email you replied to this thread.. did you delete it? =(

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