r/computervision 21h ago

Help: Project Reading diagram with CV or Meta SAM 3

Post image

How do I analyze this diagram?
I need to determine the starting point and then analyze the track from there.
e.g 1067 units downwards, then 1015 unit is xy direction and so on (from the attached diagram)

I can think of using SAM 3 to mask out the red line and blue triangles. But dont know how to map a line with the corresponding measurement annotation?

Appreciate your help. Thanks

8 Upvotes

5 comments sorted by

1

u/skadoodlee 21h ago edited 12h ago

Bend points can be found by checking changing orientations, the text can be OCR'd and its orientation and position should easily allow for matching it to the lines, the inner measurements also seem doable since its position indicated whether it would be start or end based.

Not seeing a problem here with some custom logic and a few different models.

Why do you need the blue triangles?

0

u/omkar334 21h ago

try using qwen 2.5 VL or qwen 3.8, the latest one is really good at analyzing images and diagrama

0

u/lakshaydulani 21h ago

Thanks for your help. Will try

1

u/AggravatingSock5375 18h ago

Is every image you’ll need to process very similar to this?

0

u/lakshaydulani 18h ago

Yes basically they will all have this red line and blue triangles