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

后端 未结 7 917
慢半拍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 12:43

    Yes,it works for me.
    For debug just remove thoes *.lib left *d.lib (Property Pages/Linker/Input/Additional Dependencies), just copy these *d.lib :

提交回复
热议问题