|
@ -4,12 +4,20 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<br /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Desription |
|
|
## Desription |
|
|
|
|
|
|
|
|
An image decode operator implementation with OpenCV. |
|
|
An image decode operator implementation with OpenCV. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<br /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Code Example |
|
|
## Code Example |
|
|
|
|
|
|
|
|
Load a image from path './dog.jpg'. |
|
|
Load a image from path './dog.jpg'. |
|
@ -35,6 +43,12 @@ towhee.glob['path']('./dog.jpg') \ |
|
|
.show() |
|
|
.show() |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
<img src="./show_result.jpg" align='left' style="height: 150px; "/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<br /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Factory Constructor |
|
|
## Factory Constructor |
|
@ -45,6 +59,10 @@ Create the operator via the following factory method |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<br /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Interface |
|
|
## Interface |
|
|
|
|
|
|
|
|
An image decode operator takes an image path as input. It decodes the image back to ndarray. |
|
|
An image decode operator takes an image path as input. It decodes the image back to ndarray. |
|
|