diff --git a/README.md b/README.md index a249c1a..b3c72f0 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ ## Description -An image decode operator implementation with OpenCV. +An image decode operator implementation with OpenCV. Return BGR image. @@ -20,7 +20,11 @@ An image decode operator implementation with OpenCV. ## Code Example -Load a image from path './dog.jpg'. +Load a image from path './src_dog.jpg'. + +the src picture: +
+ *Write the pipeline in simplified style:* @@ -34,10 +38,11 @@ p = ( .output('image') ) -DataCollection(p('./dog.jpg')).show() +DataCollection(p('./src_dog.jpg')).show() ``` - +
+ @@ -59,7 +64,7 @@ Create the operator via the following factory method: ## 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, use BGR channel order. diff --git a/dog.png b/dog.png new file mode 100644 index 0000000..95f342d Binary files /dev/null and b/dog.png differ diff --git a/src_dog.jpg b/src_dog.jpg new file mode 100644 index 0000000..02a8b9f Binary files /dev/null and b/src_dog.jpg differ