Tuesday, January 11, 2022

Motion Detection and Object detection with Machine Learning from webcamera

Motion Detector with ML
Program initialization/Machine Learning model loading. Please wait...
Usually it takes 5-10 seconds, but if loading takes more than 30-60 seconds, refresh the page.
 

I could not find a good program, which can do motion detection and I made it myself. This program has several functions:

  • Motion detection and take a photo when motion is detected and when motion level is more than specified sensitivity
  • Detect and mark objects on the photo if the probability of object detection is more than specified.
  • Interval photo for timelapse making.
  • Turn on flash if the program is running on the Android phone.
  • Add photos to zip file.
  • Works fine on PC, Mac, Android Phone. Limited functionality works on iPad with Safari browser and it does not really work on iPhone.

Note 1: In Google Chrome it works only if the automatic download is enabled. If Chrome is configured to ask every time file path where to download the files, it will not work.

Note 2: Program will ask permission to access the camera immediately after starting. This is required to build a list of all available cameras.

If the program does not work well in this blog please try it here.

If Google Drive is mapped as an independent drive and the Browser is setup to automatically download photos to the Google Drive folder, then it can be used as home video surveillance.