Hey there,
I'm using the vision assistant to do error pattern recognition. Beforehand i need to specify the region where to do that. we have a quite good contrast isolated region, that is nicely detected using pattern matching. (See file attached) .. The matching is nicely finding the pattern and also returns the red curve.
Now the quesion is: Is there any possibility to mask the image based on the found pattern matching curve?
I tried to use making a coordinate system shift from the pattern matching and then do move (shift x,y) a beforehand manually specified ROI. (see script with img mask) But there i only can use a predefined ROI size and loose inspection area (in vision assistant at least.)
Any Help is appreciated 🙂 Thanks in advance!
Best, Gybrush