ktoya Posted March 28, 2013 Posted March 28, 2013 To read the image info from above sceenshot:There are 10 columns in this pic.I need to count the circle number in each column, in this pic column 1 has 2 blue circles, column 2 has 1 red circle, column 3 etc., etc.Can AutoIt do it?
MuchTex Posted March 29, 2013 Posted March 29, 2013 Check out the different pixel functions in the Help File: - PixelSearch - PixelGetColor - PixelCheckSum If this isn't what you're looking for then please explain a little bit more. P.S. - AutoIt can solve almost anything if you use your resources correctly
ktoya Posted March 29, 2013 Author Posted March 29, 2013 Thanks for help. in this example my first thought is to use an array(10, 3), and manually set a position in each boxes and PixelGetColor() for this position, if it is red, red count + 1, if it is blue, blue count +1. my problem is it is only a part of the whole image, the original image is very big, is there some efficient way to do this?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now