Ask Your Question

Revision history [back]

Detecting changes of image

I have a project involving batteries(18650 battery). I have a pack of them in a certain order(some are upwards showing the positive side and some are showing the negative). What i'm trying to do is take a pack that is in the correct form as a reference image (an image that is the correct order of the batteries) and capture another image(for example with the same pack with one battery that is incorrect in all the pack). How can i detect a difference between the referenced image to the current image and highlight the problematic battery.(to make it more clear, the positive has a different "look" than the negative). My goal is to detect changes between the original image to the newly taken image.