讀取 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

 

 

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