Update README.md
Browse files
README.md
CHANGED
|
@@ -5,4 +5,28 @@ base_model:
|
|
| 5 |
pipeline_tag: object-detection
|
| 6 |
---
|
| 7 |
|
| 8 |
-
ONNX version of https://github.com/Abcfsa/YOLOv8_head_detector
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
pipeline_tag: object-detection
|
| 6 |
---
|
| 7 |
|
| 8 |
+
ONNX version of https://github.com/Abcfsa/YOLOv8_head_detector
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
YOLOv8_head_detector
|
| 15 |
+
model trained for head detection,graduation project 2023-24
|
| 16 |
+
|
| 17 |
+
Info
|
| 18 |
+
These model are trained with yolov8 on the dataset SCUT-HEAD part A and part B. medium.pt is bigger and more accurate while nano.pt is smaller and faster.
|
| 19 |
+
|
| 20 |
+
Usage
|
| 21 |
+
If you already have ultralytics/yolov8 installed,then just choose one of these two models to do your prediction jobs. Else first enter these in the command line
|
| 22 |
+
|
| 23 |
+
pip install ultralytics
|
| 24 |
+
pip install opencv-python
|
| 25 |
+
pip install pandas
|
| 26 |
+
Basic usage:
|
| 27 |
+
|
| 28 |
+
python example.py --model path/to/model_weights.pt --source path/to/img_folder --output path/to/save.csv --mode track/detect
|
| 29 |
+
Output format
|
| 30 |
+
Depends on mode.If mode is detect,then the columns would be ["name","xmin","ymin","xmax","ymax"]. If mode is track,then there will be an additional "id" column between "name" and "xmin".
|
| 31 |
+
Output has no index column
|
| 32 |
+
"xmin",...,"ymax" are all normalized to 0-1.
|