I need to detect the white rectangles and get their coordinates on an camera input like this:
i've been reading and i think i need to put a hsv filter and then apply threshold to the input. but then, for the tracking part i read about three methods: fincontours, houghline, and cvblob. but im not really sure of which one would be the best/simplest for this kind of uniform objects with the same color. specifically, i need to know the coordinates of the borders, because i need to know whether if another object is inside one of the lines (and in which one) or in the middle of two. any advice is appreciated.
edit:
the camera will be just the top of the street, so in the application they will be rectangles. i just didn't find an image like that in google.