|
@ -19,7 +19,7 @@ Load a image from path './dog.jpg'. |
|
|
```python |
|
|
```python |
|
|
import towhee |
|
|
import towhee |
|
|
|
|
|
|
|
|
towhee.glob(./dog.jpg) |
|
|
|
|
|
|
|
|
towhee.glob('./dog.jpg') |
|
|
.image_decode.cv2() |
|
|
.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() |
|
|