Given the threshold image of the drop that you can detect and draw outlines around, is it possible to represent the local curvature as a heat map when drawing the outline?
i.e. (1) it is possible to determine the local curvature on the open cv-contour (2), displaying this curvature in the color space of the heat map (3), we draw the contour as a heat map.
My goal is to measure the "sharpness" of the object so that I can draw a vector from the point side to the opposite non-empty side. From my objects, I know that the pointed side is the top.
If other methods will be more effective at presenting "pointedness" than curvature, feel free to suggest.



source share