This project demonstrates an OpenCV-based motion detection application, deployable on multiple platforms. It leverages the power of Intel OpenVINO and NVIDIA Jetson for enhanced performance. The application is containerized using Docker, ensuring seamless deployment and scalability.
Reference: https://github.com/methylDragon/opencv-motion-detector
You can easily launch the application on various platforms using Docker with the following steps.
# Build and run the container on Intel platforms.
docker-compose -f docker-compose-intel-openvino.yml build
xhost +
docker-compose -f docker-compose-intel-openvino.yml up
# Build and run the container on Nvidia Jetson platforms.
docker-compose -f docker-compose-nvidia-jetson.yml build
xhost +
docker-compose -f docker-compose-nvidia-jetson.yml up
- Python (tested with 3.7)
Install Python packages.
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -U pip setuptools wheel
python3 -m pip install -r requirements.txt
python3 -m pip install -r requirements-dev.txt
Install pre-commit hooks into Git.
pre-commit install
pre-commit install commit-msg