Image Recognition Problem

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Uberdaf
Newbie
Posts: 2
Joined: Tue Apr 23, 2019 1:54 am

Image Recognition Problem

Post by Uberdaf » Tue Apr 23, 2019 1:57 am

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?

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1348
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Image Recognition Problem

Post by Dorian (MJT support) » Wed Apr 24, 2019 10:20 am

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 ?
Yes, we have a Custom Scripting Service. Message me or go here

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts