logo
Browse Source

Modify examples

main
GuoRentong 3 years ago
parent
commit
82816eeded
  1. 6
      README.md

6
README.md

@ -19,8 +19,8 @@ Load a image from path './dog.jpg'.
```python ```python
import towhee import towhee
towhee.glob(./dog.jpg)
.image_decode.cv2()
towhee.glob('./dog.jpg')
.image_decode.cv2()
.show() .show()
``` ```
@ -29,7 +29,7 @@ towhee.glob(./dog.jpg)
```python ```python
import towhee import towhee
towhee.glob['path'](./dog.jpg)
towhee.glob['path']('./dog.jpg')
.image_decode.cv2['path', 'img']() .image_decode.cv2['path', 'img']()
.select('img') .select('img')
.show() .show()

Loading…
Cancel
Save