Jump to content
Sign in to follow this  
fbengo

Recognition cards

Recommended Posts

fbengo

Hello my friends,

I have a question about recognition patters. What is the best way to recognize patters with autoit? Because I dont know whats the best/easiest way. For example: 6 harts on a playcard, how can autoit recognize these 6 harts??

Thanks,

Engin

Share this post


Link to post
Share on other sites
4ggr35510n

PixelGetColor? If you know in which part of screen card will be shown, you can check 12 or so pixels in 'card-region' to determine what card is it. If you need something more sophisticated, you can check OCR udf (http://www.autoitscript.com/forum/index.php?showtopic=89542&st=0), but I dunno how good can it deal with symbols.

Edited by 4ggr35510n

Share this post


Link to post
Share on other sites
enaiman

It looks like you are trying to automate a game - read first the announcement regarding "Game Bots and Automation" http://www.autoitscript.com/forum/index.php?showannouncement=12&f=2

I won't report the thread at this point, just consider yourself warned and don't pursue this matter anymore.


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

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  

×