3 ms·
Ask HN: How to extract product label from a sequence of 306 product images?
I have 360 pictures of a supplement bottle. I want to extract product label out of those pictures. Is there anything that could do this?
I would imagine the software would need to project series of images onto a cylinder, align them, and then recognize and extract the label.
Feels like I will need to write the solution myself, but figured I will ask before I start tackling the problem.
- ahazred8ta 2y agoThe keywords seem to be Photogrammetry 3D Model creation ... GIYF
- serf 2y agostitch the images together (sift,orb) and apply a perspective transform. if the images are uniform enough in style you can then probably crop them all at once with mask coordinates. opencv/imagemagick will handle all of it. if the images aren't uniform enough to crop them all at once, consider the use of a 'lazy susan' style vertical rotisserie, take all the photos from the same plane, easy post-processing.
- sandreas 2y agoHere is a tutorial: https://docs.opencv.org/4.x/d7/d66/tutorial_feature_detection.html https://docs.opencv.org/4.x/d7/d66/tutorial_feature_detectio...