Update README.md
Browse files
README.md
CHANGED
@@ -16,6 +16,26 @@ language:
|
|
16 |
|
17 |
ONNX model exported from [akanametov/yolo-face](https://github.com/akanametov/yolo-face).
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
| Model | Type | FLOPS | Params | precision(B) | recall(B) | mAP50(B) | mAP50-95(B) | Labels |
|
20 |
|:-------------:|:------:|:-------:|:--------:|:--------------:|:-----------:|:----------:|:-------------:|:--------:|
|
21 |
| yolov11s-face | yolo | 21.5G | 9.43M | 0.864 | 0.626 | 0.713 | 0.392 | `face` |
|
|
|
16 |
|
17 |
ONNX model exported from [akanametov/yolo-face](https://github.com/akanametov/yolo-face).
|
18 |
|
19 |
+
Use this with `dghs-realutils`
|
20 |
+
|
21 |
+
```shell
|
22 |
+
pip install dghs-realutils
|
23 |
+
```
|
24 |
+
|
25 |
+
```python
|
26 |
+
from realutils.detect import detect_real_faces
|
27 |
+
|
28 |
+
print(detect_real_faces('yolo/solo.jpg'))
|
29 |
+
# [((168, 79, 245, 199), 'face', 0.7996422052383423)]
|
30 |
+
print(detect_real_faces('yolo/2girls.jpg'))
|
31 |
+
# [((721, 152, 1082, 726), 'face', 0.8811314702033997), ((158, 263, 509, 714), 'face', 0.8745490908622742)]
|
32 |
+
print(detect_real_faces('yolo/3+cosplay.jpg'))
|
33 |
+
# [((351, 228, 410, 302), 'face', 0.8392542600631714), ((384, 63, 427, 116), 'face', 0.8173024654388428), ((195, 109, 246, 161), 'face', 0.8126493692398071)]
|
34 |
+
print(detect_real_faces('yolo/multiple.jpg'))
|
35 |
+
# [((1074, 732, 1258, 987), 'face', 0.8792377710342407), ((1378, 536, 1541, 716), 'face', 0.8607611656188965), ((554, 295, 759, 557), 'face', 0.8541485071182251), ((897, 315, 1068, 520), 'face', 0.8539882898330688), ((1194, 230, 1329, 403), 'face', 0.8324605226516724)]
|
36 |
+
```
|
37 |
+
|
38 |
+
|
39 |
| Model | Type | FLOPS | Params | precision(B) | recall(B) | mAP50(B) | mAP50-95(B) | Labels |
|
40 |
|:-------------:|:------:|:-------:|:--------:|:--------------:|:-----------:|:----------:|:-------------:|:--------:|
|
41 |
| yolov11s-face | yolo | 21.5G | 9.43M | 0.864 | 0.626 | 0.713 | 0.392 | `face` |
|