We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi all,
Working on a little project. I could really use some help. New to processing. Even if someone could send me in the right direction it would be great.
Scenario: I have a camera pointing at a desk. I want to know if theres someone sitting at it. So I want to compare frames from the live video feed (webcam) with a control image of the empty desk. Need the results to be printed: ‘1’ if someone is at the desk ‘0’ if no one is at the desk or something along those lines.
Thanks.
Answers
You can use the openCV library to do the vision. There's an ImageDiff example on the library's page at https://github.com/atduskgreg/opencv-processing You'll need to integrate that with the LiveCam example on the same page.
Hi bilmor, Thanks for your reply.
This is perfect.
I have spent a lot of time setting up OpenCV and (trying to) using python bindings. I gave up because I’m only familiar with processing.
This is music to my ear that there is a binding for processing. I’ll look into your suggestions and see if I can make some progress.
Thanks again