Search code examples
pythonopencvwebcamvideo-capture

Python-opencv Movement detection


Hi I have followed this tutorial with the code found here https://github.com/HackerShackOfficial/Smart-Security-Camera How do I use this on a usb camera on a windows 10 laptop? I have tried to convert this with videocapture(0) but I cant get it right someone please have a look for me!

The software runs through a raspberry pi camera board and when movement is detected it screen shots she camera and emails me and the camera feed is hosted on an ip server with flask on my router.


Solution

  • lol hasn't worked will try again thanks to every one who helped