Advanced Detection Surveillance System that uses A.I. and ML to utilize facial recognition, customizable to also perform automated response/actions based on human behaviors. Both threat detection, as well as loss prevention.
pip install -r requirements.txt
Heimdall supports multiple configuration methods:
Copy the example file and edit:
cp .env.example .env
# Edit .env with your camera credentials
Copy the example file and edit:
cp config.yaml.example config.yaml
# Edit config.yaml with your settings
Provide credentials directly via command line:
python rtsp_ip/rtsp_stream.py --ip 192.168.1.100 --username admin --password secret
With configuration in .env or config.yaml:
python rtsp_ip/rtsp_stream.py
# Specify connection details
python rtsp_ip/rtsp_stream.py --ip 192.168.1.100 --username admin --password pass123 --channel 401
# Use custom config file
python rtsp_ip/rtsp_stream.py --config my_config.yaml
# Set log level
python rtsp_ip/rtsp_stream.py --log-level DEBUG
While viewing the stream:
q to quitr to toggle recording on/offHeimdall/
├── rtsp_ip/ # RTSP streaming module
│ ├── rtsp_stream.py # Main RTSP viewer application
│ └── README.md # RTSP-specific documentation
├── .env.example # Example environment configuration
├── config.yaml.example # Example YAML configuration
├── requirements.txt # Python dependencies
├── .gitignore # Git ignore rules
├── LICENSE # MIT License
└── README.md # This file
.env and config.yaml are gitignoredInstall development dependencies:
pip install pytest pytest-cov black flake8 pylint mypy
flake8 rtsp_ip/
pylint rtsp_ip/
black rtsp_ip/
mypy rtsp_ip/
pip install opencv-pythonContributions are welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE file for details.
Ky1e Parisher (cywf)