Skip to content

Commit

Permalink
Merge pull request deepinsight#1884 from zenohere/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
nttstar authored Jan 12, 2022
2 parents e9bddab + 28167da commit c2b52f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python-package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import insightface
from insightface.app import FaceAnalysis
from insightface.data import get_image as ins_get_image
app = FaceAnalysis()
app.prepare(ctx_id=0, det_size=(640, 640), providers=['CUDAExecutionProvider', 'CPUExecutionProvider'])
app = FaceAnalysis(providers=['CUDAExecutionProvider', 'CPUExecutionProvider'])
app.prepare(ctx_id=0, det_size=(640, 640))
img = ins_get_image('t1')
faces = app.get(img)
rimg = app.draw_on(img, faces)
Expand Down

0 comments on commit c2b52f4

Please sign in to comment.