Keras-YOLOv4
Keras-YOLOv4 copied to clipboard
> img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) TypeError: Expected Ptr<cv::UMat> for argument '%s'
when run the test_dev.py
opencv版本不合适,换一个试试
Originally posted by @miemie2013 in https://github.com/miemie2013/Keras-YOLOv4/issues/19#issuecomment-653436489
那么这个问题也是由于opencv版本引起的吗?
是因为作者使用的是字符串"+"读取的图片,需要改成os.path.join,要不图片没读进来