OpenCV: How to detect rhombus on image?
问题 I hame some image with plane which have perspective transform. I need to detect center of each white rhombus or rhombus itself. Here is examples: As I unserstand the problem can be solved by simple template matching if we rectify image, but I need to do it automatically. Is there any functions in OpenCV suitable for this task? Any other ideas? 回答1: Here are two quick tests I just did without correcting the perspective issue. Pure mathematical morphology : Extract the red channel Big white top