I have to detect hazMat labels which are square shaped but depending upon the camera location they do not appear as perfect squares most of the time.
To have a look of hazmat labels and the background i have (the red color sign is hazMat sign)....please see the following link:
https://wiki.cc.gatech.edu/robocup/images/9/9b/Box3.jpg
Techniques i have tried so far:
- Generalized hough transform: It didn't work because the shape keep changing depending upon the webcam location.
Color based segmentation and then Contour detection: It didn't work because the hazMat labels are of different color and many times the color difference between the background & Hazmat label is not too much.
Detection of contours having 4 point and eliminating small & very big contours: It also didn't work. The results are good and it is detecting quadrilateral except my Hazmat labels.
Kindly tell me, what other technique (or combination of techniques) i can try??