-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry pi issue with webcam.open() #189
Comments
My code: public static void main(String[] args) {
WebcamPanel panel = new WebcamPanel(Webcam.getWebcams().get(0));
panel.setFPSDisplayed(true);
JFrame frame = new JFrame("Webcam Capture Demo");
frame.add(panel);
frame.pack();
frame.setVisible(true);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
} |
Also I used the libs that came with the JAR. I ran the program and got the from /tmp/BridjExtractedLibraries-********/. The program wouldn't even load the libraries otherwise. |
Thanks for the reply. I'll try to recompile the OpenImaj binaries. |
Hi @shahbaz- Please put the recompiled binaries in the same directory as your application - it will then use OpenIMAJGrabber.so instead of the one embedded in JAR. Please let me know if this fixed your issue. |
Still the exact same issue. Still getting an |
I also tried letting it use the Bridj library with the JAR. Still no luck. |
Your getting the exception when constructing OpenIMAJ. It should be constructed |
hi,the armhf is ok,I have done this before, |
@shahbaz-, the InvocationTargetException is caused directly by the NPE in OpenIMAJGrabber.startSession(Native Method) and the warning about the missing params you saw is just some rubbish message which has been already fixed in newer BridJ (in 0.6.3 and above). |
Ok.What else could I try to do to fix it? |
Hello, I have created a program that uses webcam-capture 0.3.10-RC4. At first it wouldn't load the libs for Bridj and OpenImaj. I put the libs for both of those in the same folder where my application jar is. I ran my program and got the following output:
Sorry for the bad text wrapping.
Any idea of what I am doing wrong?
The text was updated successfully, but these errors were encountered: