gehenna Posted February 21, 2010 Share Posted February 21, 2010 (edited) a while ago I was making a program which used this lovely function a lot. I made arrays with pixel values of something on the screen. an icon or a letter. then I saved these arrays in a String. and then, once I had a database of saved arrays, I could look around the screen by comparing arrays from the screen and arrays from my database and therefore find whatever I wanted on the screen. a primitive form of OCR I guess. the only thing is now...the PixelGetColor() function is a lot slower. I used to be able to take 100x100 arrays (100x100 pixel pictures) but now it takes ages. anybody else had a similar problem? I know I am now on another PC so that could be the cause, but the hardware is much better. I am also using windows 7 whereas before I used xp. I guess people here have made some form of OCR. if yes, how did you solve this issue? if you have to look through the entire screen for one letter for example, there is no way you will get done in time. even in a low resolution like 800x600. calling the PixelGetColor() 800*600 times just wont work so I am guessing there is a way around this to get an array of your screen? Edited February 21, 2010 by gehenna Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now