OpenCVlibraryproblems
in
Contributed Library Questions
•
1 year ago
Ok so I've just gotten started in processing and I'm working on a project with motion tracking. I was looking into OpenCV however I can't even seem to get the basics of the program started. My coding knowledge is limited but I'm hoping someone on here has had some experience with this.
I keep getting this error when I try to run the following code :
UnsatisfiedLinkError:hypermedia.video.OpenCV.capture(III)V
the red text is the line that is highlighted for the error. Any help is appreciated. Or if you can point me towards a "better" library that I can use for a draw program that draws with motion rather than the mouse. Cheers
I keep getting this error when I try to run the following code :
UnsatisfiedLinkError:hypermedia.video.OpenCV.capture(III)V
the red text is the line that is highlighted for the error. Any help is appreciated. Or if you can point me towards a "better" library that I can use for a draw program that draws with motion rather than the mouse. Cheers
- import hypermedia.video.*; // Imports the OpenCV library
OpenCV opencv; // Creates a new OpenCV Object
void setup()
{
size( 320, 240 );
opencv = new OpenCV( this ); // Initialises the OpenCV object
opencv.capture( 320, 240 ); // Opens a video capture stream
}
void draw()
{
opencv.read(); // Grabs a frame from the camera
image( opencv.image(), 0, 0 ); // Displays the image in the OpenCV buffer to the screen
}
1