Skip to content

Commit 4c92a01

Browse files
committed
Merge branch 'master' of github.com:elyha7/yoloface
2 parents 631a06d + 9217bfe commit 4c92a01

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ model = YoloDetector(target_size=720,gpu=0,min_face=90)
1616
orgimg = np.array(Image.open('test_image.jpg'))
1717
bboxes,points = model.predict(orgimg)
1818
```
19+
You can also pass several images packed in a list to get multi-image predictions.
20+
```python
21+
bboxes,points = model.predict([image1,image2])
22+
```
1923
If you want to use model class outside root folder, export it into you PYTHONPATH
2024
```bash
2125
export PYTHONPATH="${PYTHONPATH}:/path/to/yoloface/project/"

0 commit comments

Comments
 (0)