I want to create an AI to detect and identify certain edge lines on my image. The input image is a locker key, and I want to know the exact position of certain edges.
Sample input image:
Sample output image. As output i have each red line position.
I was thinking in finetuning some kind of instace segmentation or even yolo network but maybe there is a better approach. Ideally, I would like the software to be light enoguh to run in a mobilephone.
I also considered two "simpler" approaches:
- Using corner detection
- Using Unet to get the contour + opencv approxpoly to get straight lines coordinates
Nevertheless, I believe I would obtain a more consistent result with more advanced AI. (I do have a lot of training images to use)