Image substraction

asked 2020-07-14 15:38:44 -0500

RobD gravatar image

I am working on a college project, I am trying to detect damage on the surface of a marble. I am working with OpenCV 4.3.0 I have converted to HSV carried out erode and dilation and isolated the marble and drawn a circle around it. What I would like to try is to save just what is in the circle and the use substraction with the current image in the circle to highlight the difference or defect. Is it possible to save just the section of a frame inside circle. The target marble will be rotating so all parts are seen, so the location within the frame will move. Any suggestions welcome, I intend to run on a Pi4 in real time.

edit retag flag offensive close merge delete