--- title: people-counting app_file: app.py sdk: gradio sdk_version: 3.41.2 --- ## Head & Person Detection Model ### Download model trained on crowd human using yolov5(m) architeture Download Link: [YOLOv5m-crowd-human](https://drive.google.com/file/d/1gglIwqxaH2iTvy6lZlXuAcMpd_U0GCUb/view?usp=sharing)
**Output (Crowd Human Model)** ![image](https://drive.google.com/uc?export=view&id=1ZOhDBRXj-Ra0vPL7iG6lrxCWAFhJTAti)
## Test ```bash $ python detect.py --weights crowdhuman_yolov5m.pt --source _test/ --view-img ``` ## Test (Only Person Class) ```bash python3 detect.py --weights crowdhuman_yolov5m.pt --source _test/ --view-img --person ``` ## Test (Only Heads) ```bash python3 detect.py --weights crowdhuman_yolov5m.pt --source _test/ --view-img --heads ```