I have a time averaged grayscale frame of a video:
I applied Canny edge detector to that frame, but sometimes there is noise like this:
I want to extract the area of a tv logo using boundingRect(), but it works wrong if there is noise. How can i avoid it?