Skip to content

marktolson/ai-nanny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

AI Nanny - Because I Couldn't Think Of A Better Name

Use the power of AI (well ML) to help monitor your kidlets during the Coronavirus isolation period.

This simple site allows you to connect multiple live streams using your old phones, then utilises machine learning models (COCO SSD mobilenet & tensorflow lite) to detect the presence of people appearing in the streams. When no people are detected in all views (ie. your baby is no longer visible to any camera), the page requests your attention. There is nothing to install, just click the link below and add your cam streams.

Click here to use the site

Feel free to do as you wish with the code. It's very easy to modify to monitor animals / pets and other objects.

Disclaimer: It's very poorly written and probably really buggy. I was tired and just needed a solution by the time my child woke up from her nap!

Screenshots

AI Nanny

How To Setup

  1. Grab some old phones and install IP Webcam or another cam streaming app that can encode to the MJPEG format.

  2. Obtain the cam stream URL of the video from the app (example: http://192.168.1.20:8080/video) NOTE: You'll need to append the '/video' to the end of the URL if using the IP Camera app.

  3. Go to this site

  4. Enter the streaming url from the IP Camera app.

  5. Click the 'Add' button.

  6. Once all cams have been added, click the 'START MONITORING' button.

  • For best results reduce the stream resolution in th IP Camera app to around 640px wide.

Releases

No releases published

Packages

No packages published

Languages