Hello, I have the following configuration of vision functions.
My idea is to detect an object using Matching and then send the coordinates of the object to the AnomalyDetection function. I use this for cropping my images in preparation for the training of the neural network.
It goes well during the first execution.
This is an example of my raw image being analyzed by the matching function:
This is an example of my cropped image after I set the ROI in the Anomaly Detection function:
The issue comes when I save, close and open the “Offline parametrization” window, now my cropped image looks like this:
It looks like the ROI has shifted.
I’m using AS 4.12.6.106 with the following runtime versions:
I successfully trained my model using the cropped images from my initial execution. However, when testing my application, the incorrect placement of the ROI results in all images being detected with anomalies.
What could be the problem? I have used this method of sending the coordinates to functions like Measurement and it works well in offline mode.
Thank you!