I'm trying to analyze an image of a snake and determine the thickest point and which end is the head and which end is the tail. Here is the original image.
So far I have processed the image through grayscale, binary and processed the canny contours of the snake.
I also have the skeleton of the canny via thinning algorithm which is roughly the center line of the snake.
Now that I have the Canny contours and skeleton contours what techniques could be used to determine the pixel width of the fattest part of the snake body and also determine the head and tail?
I havent been able to find any techniques with OpenCV C++ that I can use to create these measurements or determine head from tail.
Any help and guidance would be greatly appreciated.



