Loading...
Logo
Processing Forum

webcam help?

in General Discussion  •  Other  •  2 years ago  
Hi

I'm creating an installation and i want to use a webcam to trigger the program to run essentially its a box and when user enters i want a camera to regonise that someone has entered and then run the rest of the program.


Replies(1)

Re: webcam help?

2 years ago
You can check out Golan's Frame Differencing example under Examples > Libraries > Video (Capture) 
.. maybe don't recolour the new pixels, but you can just input an if statement checking if the movementSum is over a given amount to tell you if someone has entered the trigger zone.

Otherwise, this is easy to do via any of the openCV / blob detection libraries