newbie here with little knowledge on opencv/image-processing with python. I’m trying to extract arrows/curves defined in an image (background – white). So far I tried using contours and a few basic approaches like masks, edge detection etc, but none helped.
Note: the findContours method actually found all the edges but the problem is I couldn’t then extract path of each arrows from it.
below are my basic requirements:
- Each arrow defines a path (I can color each arrow differently if needed) Note: I created arrows from an online editor (draw.io)
- Arrows can cross each others path
- Arrow head defines the end of the path
so, as you’d have guessed, I need to extract x, y co-ordinates for each arrow, from this image. but if I can at least extract each arrows separately, then I’m hoping to use methods like findContours to extract the coordinates.
Adding the image for your reference.
2