Skip to content

alwaysai/snapshot-security-camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snapshot Security Camera App

This app expands on the realtime_object_detector starter app to build a simple security camera app that takes a picture of each new person who enters the frame. The full tutorial can be found on the alwaysAI blog.

Requirements

Usage

Once the alwaysAI tools are installed on your development machine (or edge device if developing directly on it) you can install and run the app with the following CLI commands:

To perform initial configuration of the app:

aai app configure

To prepare the runtime environment and install app dependencies:

aai app install

To start the app:

aai app start

Images will be saved in the app directory with a person detection index and the timestamp. The timezone is set in the Dockerfile and may need to be changed based on your location.

Once started, a link will appear for the Streamer which displays the camera feed and detections in your browser:

Loaded model:
alwaysai/mobilenet_ssd

Engine: Engine.DNN
Accelerator: Accelerator.GPU

Labels:
['background', 'aeroplane', 'bicycle', 'bird', 'boat', 'bottle', 'bus', 'car', 'cat', 'chair', 'cow', 'diningtable', 'dog', 'horse', 'motorbike', 'person', 'pottedplant', 'sheep', 'sofa', 'train', 'tvmonitor']

[INFO] Streamer started at http://localhost:5000

Support

About

Takes a picture of each new person that enters the frame.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6