Reputation: 1
I am trying to determine when a food packaging have error or not error. Example the logo " McDonald's " have error misprints or not, as the wrong label, wrong color..( i can not post picture ) What should I do, please help me!!
Upvotes: 0
Views: 252
Reputation: 1763
Along a result I just found your question, so I think I come too late.
If not I think your problem car easily be resolved, it exists since years and is called Sikuli .
While it's for testing purposes, I have been using it in the same way as you need : compare a reference and a production image. Based on OpenCV it does it very well.
Upvotes: 0
Reputation: 3047
It's not a trivial task by any stretch of the imagination. Two images of the same identical object will always be different according to lightning conditions, perspective, shooting angle, etc.
Basically you need to: 1. Process the 2 images into "digested" data - dominant color, shapes, etcw 2. Design and run your own similarity algorithm between the 2 objects
You may want to look at Feature detectors in OpenCV: Surf, SIFT, etc.
Upvotes: 1