I am currently working on a school project where I want to segment the lenses of eye glasses.
Is this possible using opencv?
Essentially, I want to extract the shape of the glasses/lenses of glasses from selfies taken straight from the front.
My idea is to identify the eyes (which I have already done) and from there segment the lenses using the eyeglass frame as borders for segmentation.
Is this possible to do?
I have uploaded some pictures of where I am currently.
I have been searching the web for “seeded regional growing” but cant find any usefull code for this.
Slightly off topic: I started of trying to segment the glasses using the pretrained COCO model, but unfourtinatly, its not trained on glasses.
Thanks in advance