import cv2
import matplotlib.pyplot as plt
import cvlib as cv
from cvlib.object_detection import draw_bbox
img = cv2.imread('dog-cycle-car.png')
bbox, label, conf = cv.detect_common_objects(img)
output_image = draw_bbox(img, bbox, label, conf)
plt.imshow(output_image)
plt.show()
OpenCV(4.1.1) C:\projects\opencv-python\opencv\modules\dnn\src\darknet\darknet_importer.cpp:207: error: (-212:Parsing error) Failed to parse NetParameter file: C:\Users\지소현.cvlib\object_detection\yolo\yolov3\yolov3.cfg in function 'cv::dnn::dnn4_v20190621::readNetFromDarknet'
import cv2 import matplotlib.pyplot as plt import cvlib as cv from cvlib.object_detection import draw_bbox img = cv2.imread('dog-cycle-car.png') bbox, label, conf = cv.detect_common_objects(img) output_image = draw_bbox(img, bbox, label, conf) plt.imshow(output_image) plt.show()
OpenCV(4.1.1) C:\projects\opencv-python\opencv\modules\dnn\src\darknet\darknet_importer.cpp:207: error: (-212:Parsing error) Failed to parse NetParameter file: C:\Users\지소현.cvlib\object_detection\yolo\yolov3\yolov3.cfg in function 'cv::dnn::dnn4_v20190621::readNetFromDarknet'
how can i solve this :((