cv::imwrite could not find a writer for the specified extension

后端 未结 7 913
慢半拍i
慢半拍i 2020-12-25 12:24

The following command causes an exception.

cv::imwrite(\"test.jpg\", diffImg);

I also tried numerous variations on this, including absolute

相关标签:
7条回答
  • 2020-12-25 13:05

    I have also faced this issue and I have observed that this issue will come when I use the image without any extension. like abc.jpg but I rename it abc only.

    You must use an image name with extension.

    0 讨论(0)
提交回复
热议问题