logo
Browse Source

update the result image.

main
wxywb 3 years ago
parent
commit
83fa6fc42e
  1. 4
      README.md
  2. BIN
      result.png

4
README.md

@ -20,13 +20,13 @@ An image crop operator implementation with OpenCV.
## Code Example ## Code Example
Crop the face from 'einstein.jpg'.
Crop the face from 'avengers.jpg'.
```python ```python
import towhee import towhee
bboxes = towhee.glob['path']('einstein.jpg') \
towhee.glob['path']('./avengers.jpg') \
.image_decode['path', 'img']() \ .image_decode['path', 'img']() \
.face_detection.retinaface['img', ('box','score')]()\ .face_detection.retinaface['img', ('box','score')]()\
.image_crop[('img', 'box'), 'crop'](clamp = True)\ .image_crop[('img', 'box'), 'crop'](clamp = True)\

BIN
result.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 KiB

Loading…
Cancel
Save