code de inference yolov5
Project description
Package dung de inference model yolov5 voi custom object
Install
pip install yolov5_inference
Use
from yolov5_inference.infer import DetectObject
model = DetectObject(weights='../path/of/weights')
img_path = '../path/of/img'
rs = model.detect(img_path)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yolov5_inference-0.3.tar.gz
(62.9 kB
view hashes)