diff --git a/README.md b/README.md index b3c72f0..0fba965 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,12 @@ p = ( .output('image') ) +# decode from path DataCollection(p('./src_dog.jpg')).show() + +# decode from bytes +with open('./src_dog.jpg', 'rb') as f: + DataCollection(p(f.read())).show() ```