Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amhsirak/human-monitoring-system

Real-time human detection, tracking and counting using MobileNet SSD
https://github.com/amhsirak/human-monitoring-system

computer-vision deep-learning footfall-analysis image-processing mobilenet-ssd opencv python

Last synced: about 2 months ago
JSON representation

Real-time human detection, tracking and counting using MobileNet SSD

Awesome Lists containing this project

README

        

# Human Monitoring System
Real-time human detection, tracking and counting using MobileNet SSD and Centroid Tracking.

- **Use case:** Counting the number of people in stores/buildings/shopping malls etc., in real-time.
- Sending an alert to the staff if the people are way over the limit.
- Automating features and optimising real-time stream for better performance (with threading).
- Acts as a measure towards footfall analysis.
- Compatible with IP cameras and web cameras.

## Results

![people](https://user-images.githubusercontent.com/76456498/162854732-f3a236fa-b733-4e89-a3d5-f80a0fcc0994.gif)

![night](https://user-images.githubusercontent.com/76456498/162853346-5dfa62ec-fd77-4621-8866-398482f906f1.gif)

## Features

- **Real Time Alert:** If selected, an email alert in real-time is sent.
- **Scheduler:** Automatic scheduler to run the software at your desired time.
- **Timer:** To stop the software after a certain time.
- **Simple Log Maintainer:** Logs all data at end of the day with information including time and number of people.
- **Threading:** Removes OpenCV's internal buffer and thus reduces lag/increases fps in real-time stream.

All these features can be easily turned on/off in `lib/config.py`file.

## Screenshots

### Email Alert

email

### Simple Log

log

## How To Use

- Install all dependencies
```
pip install -r requirements.txt
```

- To run on a test video file
```
python main.py --prototxt mobilenet_ssd/MobileNetSSD_deploy.prototxt --model mobilenet_ssd/MobileNetSSD_deploy.caffemodel --input videos/example.mp4
```
- To run on IP camera / Web camera

For web camera, set `url = 0`
```
python main.py --prototxt mobilenet_ssd/MobileNetSSD_deploy.prototxt --model mobilenet_ssd/MobileNetSSD_deploy.caffemodel
```

## Run On Your Local Machine
- Fork the repository
- Clone the repository
```
git clone https://github.com/karishmashuklaa/human-monitoring-system.git
```

🦄🦄🦄🦄🦄