Ask Your Question

charisma tubagus s's profile - activity

2014-05-17 19:42:43 -0600 commented question Error in JavaCV 0.7 VideoCapture

So what's the solution?? I also have put the opencv_java249.dll in Netbeans Project directory.

2014-05-11 08:43:53 -0600 commented question Error in JavaCV 0.7 VideoCapture

yes the code is using JavaCV. private VideoCapture initGrabber(int ID) { VideoCapture grabber = new VideoCapture(ID); if ((grabber == null) || (!grabber.isOpened())) { System.out.println("Cannot connect to webcam: " + ID); System.exit(1); } else { System.out.println("Connected to webcam: " + ID); grabber.set(Highgui.CV_CAP_PROP_FRAME_WIDTH, WIDTH); // make sure of frame size grabber.set(Highgui.CV_CAP_PROP_FRAME_HEIGHT, HEIGHT); }

    return grabber;
}  // end of initGrabber()
2014-05-11 02:23:33 -0600 asked a question Error in JavaCV 0.7 VideoCapture

This is so sad. I am interested in learning Computer Vision by using Java but I end up got an error at the beginning stage of my learning. I got the following error:

java.lang.UnsatisfiedLinkError: org.opencv.highgui.VideoCapture.VideoCapture_2(I)J

at org.opencv.highgui.VideoCapture.VideoCapture_2(Native Method)

at org.opencv.highgui.VideoCapture.<init>(

Anybody knows how can I resolve this issue?