Hi everyone, I have a blue Rectangle, in a short distance, I can recognize it by findContour with threshold method. but if I increase the distance, the shape after thresholding as below:

Can you help to suggest any solution can help to detect/filter a shape with lowest deformation?
Thank you!
↧