How to calculate width of each worm in the image?

You can use thinining algorithm in opencv_contrib same problem here

1 Like