opencv and gscapture object
in
Contributed Library Questions
•
3 years ago
Hello,
Is it possible to have a GSCapture object and a OpenCV object in the same program? I have two separate programs, one that tracks a face with OpenCV and one that tracks a color with GSCapture but when I merge them together I get errors all over the place...as I slowly combine them the first error I get is when I add video = new GSCapture(this, width, height, 30);.....i get NullPointerException at image( opencv.image(), 0, 0 );
is there any way around this or is it because I'm using two different libraries to access my webcam?
Thanks for any info!
Is it possible to have a GSCapture object and a OpenCV object in the same program? I have two separate programs, one that tracks a face with OpenCV and one that tracks a color with GSCapture but when I merge them together I get errors all over the place...as I slowly combine them the first error I get is when I add video = new GSCapture(this, width, height, 30);.....i get NullPointerException at image( opencv.image(), 0, 0 );
is there any way around this or is it because I'm using two different libraries to access my webcam?
Thanks for any info!
1