Skip to main content
Solved

A360 - "IF: Image found in image" always returns true despite the condition truly being true

  • February 15, 2023
  • 3 replies
  • 76 views

LoganPrice
Most Valuable Pathfinder
Forum|alt.badge.img+12

I am trying to use a loop and an IF statement to determine whether an image exists within each of the images.

 

The loop goes through each image in a folder, than the IF statement searches the image to find a certain image within it.

 

Here is my issue: I know that there is a mix of image files in the loop folder that contain the search image and that do not contain the search image. I have verified that the IF command can work by using the preview button on the IF: image exists in image action to triple check. I have previewed both the images that contain the search image as well as the images that do not contain the search image and when I use the preview button, it works! But when I run the task bot, it always defaults to true/image found.

 

Has anyone else experienced this or know what to do about it?

Best answer by Raul Jaimes

@LoganPrice 

Try to increasing the precision in the if action

HTH

Regards

View original
Did this topic help answer your question?

3 replies

Raul Jaimes
Forum|alt.badge.img+9
  • Navigator | Tier 3
  • 494 replies
  • Answer
  • February 15, 2023

@LoganPrice 

Try to increasing the precision in the if action

HTH

Regards


Forum|alt.badge.img+2
  • Navigator | Tier 3
  • 11 replies
  • February 21, 2023

Hi,  Can you share your Source and target image? 


rbkadiyam
Forum|alt.badge.img+16
  • Navigator | Tier 3
  • 578 replies
  • February 21, 2023

@LoganPrice  Increasing the matching percentage will help 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings