From b8d517081d1ea016ec69b86bc3959d2d86009ecc Mon Sep 17 00:00:00 2001 From: GuoRentong Date: Wed, 6 Apr 2022 13:22:19 +0800 Subject: [PATCH] Modify README --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a2eaa44..ea9b5a9 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,8 @@ Load a image from path './dog.jpg'. ```python import towhee -towhee.glob('./dog.jpg') - .image_decode.cv2() +towhee.glob('./dog.jpg') \ + .image_decode.cv2() \ .show() ``` @@ -29,9 +29,9 @@ towhee.glob('./dog.jpg') ```python import towhee -towhee.glob['path']('./dog.jpg') - .image_decode.cv2['path', 'img']() - .select('img') +towhee.glob['path']('./dog.jpg') \ + .image_decode.cv2['path', 'img']() \ + .select('img') \ .show() ``` @@ -65,3 +65,5 @@ An image decode operator takes an image path as input. It decodes the image back + +