I want to detect missing objects of an image. Here is the situation
You have an image of a room. There is a ball in the room. You have another image of the same room (Light conditions similar). The only difference is, the ball is missing. Now I need to opencv to compare these 2 images and find what is missing.
If I subtract image 1 with image 2, I can get the difference, or I can use abs() method to find the difference isn't it?
Now the other problem. I need to draw a rectangle/circle or something over the "missing area to show what is missing from where.
I was told the second objective can be done by blob detection. In motion detection I used contours so can I apply the same technique to here? I detected motion by using abs() to find the difference and drawing contours.
Anyway, I need help and advice about this. I do not know what technique to follow. I am learning image processing only by doing opencv, and reading opencv stuff. Please help.
PS. Ball is just an example. Anything could be missing from the room (which are in the vision of the camera) , including book, table etc. Camera will be in the 100% same angle always.