Update README.md
Browse files
README.md
CHANGED
|
@@ -4,6 +4,15 @@ tags:
|
|
| 4 |
- image-classification
|
| 5 |
---
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
This is the app introduction image classifier of the following paper:
|
| 8 |
```bibtex
|
| 9 |
@misc{wei2024guing,
|
|
|
|
| 4 |
- image-classification
|
| 5 |
---
|
| 6 |
|
| 7 |
+
Using with pipeline
|
| 8 |
+
```py
|
| 9 |
+
from PIL import Image
|
| 10 |
+
|
| 11 |
+
classifier = pipeline("image-classification", model="Jl-wei/app-intro-img-classifier", device=0)
|
| 12 |
+
image = Image.open(img_path)
|
| 13 |
+
result = classifier(image)
|
| 14 |
+
```
|
| 15 |
+
|
| 16 |
This is the app introduction image classifier of the following paper:
|
| 17 |
```bibtex
|
| 18 |
@misc{wei2024guing,
|