Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to identify what's new in image?

I have a camera facing into a trashbin. I want to take a picture of every new threwn item.

To start with I don't realy know what way to go. Take one picture after something is threwn and compare with last taken picture or use live camera stream analyse.

The problem is to mask that new item as some stuff like glassbottles are both transparent and heavy which makes them hard to mask and they often moves other trash little bit. If I have one white item in the trashbin and the new item is also white it's hard to mask that new item by absdiff as the differences is to small. In those cases maybe a edge-detection solution could fix it, but I don't know how to remove edges of all old stuff and only get the edge of the new item, and then mask the area inside.

Any suggestions how to solve this?