File size: 375 Bytes
6e11613
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
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)