I am trying to use the image recognition feature but am running into an issue. The image I am trying to recognize can appear in various orientations, such as sideways or tilted, but the image stays the same. Is there a way to ignore orientation? I've tried lowering the Correlation Coefficient but that doesn't help.
Any thoughts?
Image Recognition Problem
Moderators: JRL, Dorian (MJT support)
- Dorian (MJT support)
- Automation Wizard
- Posts: 1415
- Joined: Sun Nov 03, 2002 3:19 am
Re: Image Recognition Problem
That's an interesting one. No, there's no way to ignore orientation. Are you able to capture all of the variations and try to detect all of them? Or are there too many permutations? Or maybe is there a small part of the image which may appear the be the same - for example if there's a unique block of colour that you can sample without capturing the parts that have rotated?
Is there any way you can achieve what you need by detecting pixel colours in specific parts of the screen? Maybe WaitPixelColor or even GetPixelColor ?
Is there any way you can achieve what you need by detecting pixel colours in specific parts of the screen? Maybe WaitPixelColor or even GetPixelColor ?