Supported Labels
['Cracks-and-spalling', 'object']
How to use
pip install -U ultralytics ultralyticsplus
- Load model and perform prediction:
from ultralyticsplus import YOLO, render_model_output
model = YOLO('fcakyon/test-model')
model.overrides['conf'] = 0.25
model.overrides['iou'] = 0.45
model.overrides['agnostic_nms'] = False
model.overrides['max_det'] = 1000
image = 'https://github.com/ultralytics/yolov5/raw/master/data/images/zidane.jpg'
for result in model.predict(image, return_outputs=True):
print(result["det"])
print(result["segment"])
render = render_model_output(model=model, image=image, model_output=result)
render.show()