Using the YOLOv8n model to detect whether the position of a person intersects with a manually drawn line, and if so, it is considered as an act of climbing over the fence.
reComputer AI Box | reComputer Industry AI Box |
---|---|
Purchase Now | Purchase Now |
sudo apt update && sudo apt full-upgrade -y && sudo apt install hailo-all
git clone https://github.com/Seeed-Projects/cross_fence_with_AIBox.git
cd cross_fence_with_AIBox
python -m venv .env --system-site-packages && source .env/bin/activate
pip install -r requirements.txt
python app.py -i ./scale_the_fence.mp4 -n ./yolov8n.hef --show-fps -l ./common/coco.txt
This project references Hailo-Application-Code-Examples.