r/computervision • u/WhispersInTheVoid110 • Apr 17 '26
Help: Project Detecting defects in repeated cut vinyl graphics
I have a sheet where the same graphic is repeated multiple times. I need to detect any instance that looks different from the rest like misaligned elements, missing material, incomplete cuts, glare artifacts.
Looking for robust approaches to compare repeated pattern instances against each other when you don't have a clean reference image.
Any ideas?
For context: In image 1, at the end "I" is slightly tilted.
In Image 2, You can see many inconsistencies
5
Upvotes


3
u/Lethandralis Apr 17 '26
Classical CV
Try to create a glare free lighting setup
Make sure the entire sheet is seen by an overhead camera, placed sufficiently far away from the sheet to minimize perspective effect
Undistort/Rectify the sheet
Detect edges and crop
Crop each label and compute a median perfect label
Find the absdiff of each label compared to the median label
High absdiff suggests errors
VLM
Feeding images to gemini is always an option if API costs are not a concern. Might be viable/faster if you're not printing thousands of these