读取 jpeg2000.cpp:104: error: (-213:The function/feature is not implemented) imgcodecs:

一、opencv 读取jpeg2000 图片使报错:

_jpeg2000.cpp:104: error: (-213:The function/feature is not implemented) imgcodecs: Jasper (JPEG-2000) codec is disabled. You can enable it via 'OPENCV_IO_ENABLE_JASPER' option

二、解决办法:

 os.environ['OPENCV_IO_ENABLE_JASPER']= 'true'

 

参考链接:https://github.com/opencv/opencv/issues/14058

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章