diff --git a/README.md b/README.md index be7853b..b3cb64c 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,6 @@ Load an image from path './test.png' and use yolov5 model to detect objects in t *Write a same pipeline with explicit inputs/outputs name specifications:* -- **option 1: towhee>=0.9.0** ```Python from towhee.dc2 import pipe, ops, DataCollection @@ -41,20 +40,6 @@ p = ( DataCollection(p('./test.png')).show() ``` -- **option 2:** -```python -import towhee - -( - towhee.glob['path']('./test.png') - .image_decode['path','img']() - .object_detection.yolov5['img', ('box', 'class', 'score')]() - .image_crop[('img', 'box'), 'object'](clamp = True) - .select['img','object', 'class']() - .show() -) -``` - result