logo
Browse Source

update the doc.

Signed-off-by: wxywb <xy.wang@zilliz.com>
main
wxywb 3 years ago
parent
commit
c22d0d02d1
  1. 11
      README.md
  2. BIN
      result2.jpg
  3. BIN
      result2.png

11
README.md

@ -26,7 +26,7 @@ Load an image from path './turing.png' and use the pretrained RetinaFace model t
import towhee
towhee.glob('turing.png') \
.image_decode.cv2() \
.image_decode() \
.face_detection.retinaface() \
.show()
@ -39,13 +39,14 @@ towhee.glob('turing.png') \
import towhee
towhee.glob['path']('turing.png') \
.image_decode.cv2['path', 'img']() \
.image_decode['path', 'img']() \
.face_detection.retinaface['img', ('bbox','score')]() \
.select['img', 'bbox', 'score']() \
.show()
.image_crop[('img', 'bbox'), 'crop']()\
.select('img', 'crop', 'bbox', 'score').show()
```
<img src="https://towhee.io/face-detection/retinaface/raw/branch/main/result2.png" alt="result2" style="height:60px;"/>
<img src="https://towhee.io/face-detection/retinaface/raw/branch/main/result2.jpg" alt="result2" style="height:60px;"/>
<br />

BIN
result2.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

BIN
result2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 KiB

Loading…
Cancel
Save