Hey Ricardo. Yeah, my first step is to run a bunch of proof of concept tests. What kind of approach would you recommend in terms of building a database and running tests? From what I can tell, I should start by adding one "good" product photo. Then I would add the test images one by one and call calcImgDiff. Something like this:
1) Add test image to database
2) testDiff = calcImgDiff(dbId, goodImageId, testImageId)
3) if testDiff > someThreshold then flag as "bad" product
4) Delete testImageId from database
5) Repeat
Does this seem like the right way to do this type of thing?
Thanks,
-Tim