# Finding length of specific lines in bee wing

Hello, I'm trying to get the ratio between two lines from a scan of beewings (veins).

From the cubital index between line a and b you can determine which honey bee subspecies you're dealing with.

I can find all the beewings in the picture, but I'm not sure to what the general approach should be to get the length of line a and b. The absolute length is not important, just the ratio between a and b. I'm not looking for someone to provide the exact solution, just would be very helpful if someone could point me into a direction of a general approach / what to read up on.

Thanks!

can you show us, what you've tried before ?

I hope you have high resolution images like the second one.

To make it simple i would run an edge detection/contour detection . transform everything into polygons , then come up with an assumption to locate those two segments.

(if you have large set of images you can annotate you can use deep learning to locate segments.)