Count people in specific regions in images using Yolov5 (CPP, Libtorch)
Count people inside some given ROIs. Video
PETS 2009 Benchmark Data Avaible here: http://cs.binghamton.edu/~mrldata/pets2009
- Yolov5 : https://github.com/Nebula4869/YOLOv5-LibTorch
- Pretrained model : https://github.com/deepakcrk/yolov5-crowdhuman
- Model was exported to torch script using ultralytics/yolov5#251
We can change ROIs as we like in the config.yml file. The output data can be found in "data/output" folder.
- Visual studio