Supported Labels
['BOM_GEN', 'BOM_JUN', 'BOM_KID', 'BOM_SAC', 'BOM_THV', 'BOM_THX', 'BOM_VTG', 'BOM_YTV', 'HAN_GLI', 'HOP_FEJ', 'HOP_FRE', 'HOP_JUN', 'HOP_POC', 'HOP_VTG', 'HOP_YTV', 'LOC_JUN', 'LOC_KID', 'LOC_YTV', 'LOO_DAU', 'LOO_KID', 'LOO_MAM', 'LOO_YTV', 'POS_GLI', 'POS_LON', 'POS_NHO', 'POS_THA', 'TUI_GEN', 'TUI_JUN', 'TUI_KID', 'TUI_SAC', 'TUI_THV', 'TUI_THX', 'TUI_VTG', 'TUI_YTV']
How to use
pip install ultralyticsplus==0.1.0 ultralytics==8.0.239
- Load model and perform prediction:
from ultralyticsplus import YOLO, render_result
model = YOLO('chanelcolgate/chamdiemgianhang-vsk-v7')
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'
results = model.predict(image)
print(results[0].boxes)
render = render_result(model=model, image=image, result=results[0])
render.show()