Skip to content

Commit

Permalink
fixed function parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
elyha7 committed Mar 2, 2023
1 parent bee95bd commit 04bfe34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ from face_detector import YoloDetector
import numpy as np
from PIL import Image

model = YoloDetector(target_size=720,gpu=0,min_face=90)
model = YoloDetector(target_size=720, device="cuda:0", min_face=90)
orgimg = np.array(Image.open('test_image.jpg'))
bboxes,points = model.predict(orgimg)
```
Expand Down

0 comments on commit 04bfe34

Please sign in to comment.