|
@ -22,7 +22,7 @@ An image decode operator implementation with OpenCV. |
|
|
|
|
|
|
|
|
Load a image from path './dog.jpg'. |
|
|
Load a image from path './dog.jpg'. |
|
|
|
|
|
|
|
|
*Write the pipeline in simplified style*: |
|
|
|
|
|
|
|
|
*Write the pipeline in simplified style:* |
|
|
|
|
|
|
|
|
```python |
|
|
```python |
|
|
import towhee |
|
|
import towhee |
|
@ -73,7 +73,7 @@ An image decode operator takes an image path as input. It decodes the image back |
|
|
|
|
|
|
|
|
**Parameters:** |
|
|
**Parameters:** |
|
|
|
|
|
|
|
|
***img***: *str* |
|
|
|
|
|
|
|
|
**img**: *str* |
|
|
|
|
|
|
|
|
Image file path. |
|
|
Image file path. |
|
|
|
|
|
|
|
|