logo
Browse Source

Update README.md

main
junjiejiangjjj 2 years ago
parent
commit
27f571f4d9
  1. 5
      README.md

5
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()
```
<br />

Loading…
Cancel
Save