No implementation found for long org.opencv.core.Mat.n_Mat() error Using OpenCV

后端 未结 6 2041
闹比i
闹比i 2020-12-13 17:35

I am using OpenCV for adaptiveThreshold. My code for image processing using OpenCV is like this:

imageMat=new Mat();
Utils.bitmapToMat(bmp, imag         


        
6条回答
  •  情歌与酒
    2020-12-13 18:10

    Maybe you are forgetting to include the openCV library.

    Include

    static { 
         System.loadLibrary("opencv_java");
    }
    

    for OpenCV version 3 you should instead add:

    static { 
         System.loadLibrary("opencv_java3");
    }
    

    Good Luck :)

提交回复
热议问题