S15-YOLOV9 / yolov9 /call_detection.py
Shivdutta's picture
Upload 242 files
6e11613 verified
raw
history blame
375 Bytes
from detect_dual import parse_opt,main
source ='/home/shiv-nlp-mldl-cv/Documents/ERA2Code/ERA2-Session-15_Inference_Code/yolov9/data/images/lamborghini-aventador-2932196_1280.jpg'
img=640,
weights='/home/shiv-nlp-mldl-cv/Documents/ERA2Code/ERA2-Session-15_Inference_Code/yolov9/runs/train/exp/weights/best.pt'
opt = parse_opt(source,img,weights)
path = main(opt)
print(path)