Results 1 to 2 of 2

Thread: VB 6.0 - Help improve OCR, problems with Speed

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2003
    Posts
    55

    Question VB 6.0 - Help improve OCR, problems with Speed

    Alright my recent post I was trying to come up with a function to compare two arrays for my OCR now my OCR is complete it works pretty much perfectly for what I have to do. My friend of mine made an OCR but he used getpixel instead of a picture box and bitblt. Now don't get me wrong my way is fast but his is alot faster. I did a little speed test on mine reading 12 Letters and I get about 40-50 calls per second with no focus and 10-16 calls per second with focus (using it for a game I play). His reads about 250-300 calls per second no focus and about 40-50 with focus. My goal now is to optimize my code so that it gets a sigificant amount of more calls per second.

    There's several things I need help with.
    1.) I need to fix when it reads the " letter (Look at LineSpace function) Look at the comments in FindLetter Function
    2.) Improve how it detects the end of letters (now it's if it's greater than or equal to 9 Line spaces then it's the end)
    3.) Make it FASTER! That's my maine goal

    Any tips would be greatly appreciated.

    Note: I'm a newb so don't laugh at my code lol

    I've included a sample project with the code, there are comments on what each sub does but not great detail. Click Get text button to run don't worry about the Store font button.

    Thanks,
    Jeff
    Attached Files Attached Files

  2. #2

    Thread Starter
    Member
    Join Date
    Nov 2003
    Posts
    55

    Re: VB 6.0 - Help improve OCR, problems with Speed

    bump

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