Sign in to follow this  
Followers 0
ktoya

reading info from an image

4 posts in this topic

Posted Image

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?

Share this post


Link to post
Share on other sites

Yes


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites

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 :)

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0