How to detect red object shape?(square shaped object red in color)
I want to detect the the object here below that is similar to a square but with rounded edges?
I can use morphological transform
Gradient
to find the contour with the largest area but some times even the other objects in the picture might be as BIG
as the square object with rounded edges
Does anyone else have any other solution?