Instructions to use Aleton/Zebra_crossing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use Aleton/Zebra_crossing with ultralytics:
from ultralytics import YOLOvv8 model = YOLOvv8.from_pretrained("Aleton/Zebra_crossing") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -37,4 +37,5 @@ model = YOLO("zebra.pt") # путь к модели
|
|
| 37 |
image = cv2.imread("img/input.jpg")
|
| 38 |
results = model(image)
|
| 39 |
|
| 40 |
-
results[0].save(filename="out.jpg") # сохранение с масками
|
|
|
|
|
|
| 37 |
image = cv2.imread("img/input.jpg")
|
| 38 |
results = model(image)
|
| 39 |
|
| 40 |
+
results[0].save(filename="out.jpg") # сохранение с масками
|
| 41 |
+
```
|