Keras-YOLOv4 icon indicating copy to clipboard operation
Keras-YOLOv4 copied to clipboard

> img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) TypeError: Expected Ptr<cv::UMat> for argument '%s'

Open mhcao916 opened this issue 4 years ago • 1 comments

when run the test_dev.py

opencv版本不合适,换一个试试

Originally posted by @miemie2013 in https://github.com/miemie2013/Keras-YOLOv4/issues/19#issuecomment-653436489

那么这个问题也是由于opencv版本引起的吗?

mhcao916 avatar Jul 24 '20 11:07 mhcao916

是因为作者使用的是字符串"+"读取的图片,需要改成os.path.join,要不图片没读进来

secortot avatar Sep 17 '20 13:09 secortot