Skip to content

Seeed-Projects/cross_fence_with_AIBox

Repository files navigation

Cross fence detection

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.

Hardware prepare

reComputer AI Box reComputer Industry AI Box
Raspberry Pi AI Kit reComputer R1100
Purchase Now Purchase Now

Software prepare

Install the runtime environment

sudo apt update && sudo apt full-upgrade -y && sudo apt install hailo-all

Install the project

git clone https://github.com/Seeed-Projects/cross_fence_with_AIBox.git
cd cross_fence_with_AIBox

Prepare the python environment

python -m venv .env --system-site-packages  && source .env/bin/activate
pip install -r requirements.txt

Run the project

python app.py -i ./scale_the_fence.mp4 -n ./yolov8n.hef --show-fps -l ./common/coco.txt 

Result

Watch the video

Reference

This project references Hailo-Application-Code-Examples.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published