Open faroogfatma opened 3 years ago
The dnn module of OpenCv can't get the path to your YOLO weights. You may keep in it in root folder of your program, or create folder within this root folder and copy the path to the weights. Also remember that weights comes before cfg.
cv2.dnn.readNetFromDarknet('weghtsPath', 'configPath')
error Traceback (most recent call last)