yolov5-head-detector
How to use
Three params you need input:
--source
(usb
orcsi
orvideo_path
)--device
(if you choose usb, you need choose device number)--thresh
(warning number, if detect number below threshhold, it will warning)
- Run usb camera as input
python demo.py --source usb --device 0 --thresh 30
- Run csi camera as input
python demon.py --source csi --thresh 30
- Run video as input
python demo.py --source video_path --thresh 30