I have a set of images of a scene taken under slightly changing lighting conditions and objects in the scene move slightly from their positions (SET 1). I have another set of images where one or more objects in the scene are missing or misaligned (SET 2).
I want to train a background subtraction model by learning a background model using SET 1 and find the missing or misaligned objects in SET 2 using the background model. Is there a way to do this using OpenCV?