1 | initial version |
Detection of white strips on zebra crossing is much easier than detection of general object. It has no internal edges. And It clearly distinguished from its surrounding. I think simplest way for detection will be application of Canny() for detection of edges. Then you can use findContours() in order to find all contours in image. As a last step filter all contour that are not resemble rectangular white strips.
2 | No.2 Revision |
Detection of white strips on zebra crossing is much easier than detection of general object. It has no internal edges. And It clearly distinguished from its surrounding. I think simplest way for detection will be application of Canny() Canny for detection of edges. Then you can use findContours() findContours on result of edge detection in order to find all contours in image. As a last step filter all contour that are do not resemble rectangular white strips.