Ask Your Question

Revision history [back]

error with opencv librairies when I try a simple programm

image description

I don't know what's the problem wtih my programm. I've just installed librairies of opencv on my USB key like on every other tutorial but there is an error that I can't explain. Could you help me please? I've eclipse 2018-09 and the version 4.0.0 of opencv.

Sorry for the English I'm French.

error with opencv librairies when I try a simple programm

image descriptionScreen-shot

package test;
import org.opencv.core.Core;
import org.opencv.core.CvType;
import org.opencv.core.Mat;

public class test_cv
{
   public static void main( String[] args )
   {
          System.loadLibrary( Core.NATIVE_LIBRARY_NAME );
          Mat mat = Mat.eye( 3, 3, CvType.CV_8UC1 );
          System.out.println( "mat = " + mat.dump() );
   }
}

I don't know what's the problem wtih my programm. program. I've just installed librairies of opencv on my USB key like on every other tutorial but there is an error that I can't explain. Could you help me please? I've eclipse 2018-09 and the version 4.0.0 of opencv.

Sorry for the English I'm French.

click to hide/show revision 3
retagged

updated 2018-12-12 20:55:33 -0500

berak gravatar image

error with opencv librairies when I try a simple programm

Screen-shot

package test;
import org.opencv.core.Core;
import org.opencv.core.CvType;
import org.opencv.core.Mat;

public class test_cv
{
   public static void main( String[] args )
   {
          System.loadLibrary( Core.NATIVE_LIBRARY_NAME );
          Mat mat = Mat.eye( 3, 3, CvType.CV_8UC1 );
          System.out.println( "mat = " + mat.dump() );
   }
}

I don't know what's the problem wtih my program. I've just installed librairies of opencv on my USB key like on every other tutorial but there is an error that I can't explain. Could you help me please? I've eclipse 2018-09 and the version 4.0.0 of opencv.

Sorry for the English I'm French.

error with opencv librairies when I try a simple programm

Screen-shot

package test;
import org.opencv.core.Core;
import org.opencv.core.CvType;
import org.opencv.core.Mat;

public class test_cv
{
   public static void main( String[] args )
   {
          System.loadLibrary( Core.NATIVE_LIBRARY_NAME );
          Mat mat = Mat.eye( 3, 3, CvType.CV_8UC1 );
          System.out.println( "mat = " + mat.dump() );
   }
}

I don't know what's the problem wtih my program. I've just installed librairies of opencv on my USB key like on every other tutorial but there is an error that I can't explain. Could you help me please? I've eclipse 2018-09 and the version 4.0.0 of opencv.

Sorry for the English I'm French.