comparing live video to still image

i want to compare the image of an empty room and one that has people in it

is there a way to use the cacheCHOP to store a still frame rather than just the last frame?

The cache TOP can be turned on and off. YOu can use more than one Cache TOP as well - and turn them off as you please. Set the cache size to then length of frames you want to capture and there is a output index parameter that lets you output whatever frame you want from that cache.

An example is attached.
compare_with_cache.2.toe (2.85 KB)