Open marcuscraske opened 8 years ago
Seems to be an issue with OpenJDK, since this works with oracle-jdk-8.
I was experiencing a similar issue where it was working on my desktop but couldn't get it to work with the raspberry pi. After removing openjdk8 and installing oracle-java8-jdk problem is solved. Maybe this should be stated on how to configure raspberry pi wiki.
webcam.getImage() is returning null after some time, looks to be timing out.
This is using a Raspberry Pi 3 with Debian Jesse (minimum), with libjpeg8-dev and libv4l-dev dependencies installed. Webcam is a Logitech C170, which is definitely working, since e.g. "fswebcam test.jpg" is using /dev/video0.
The program works fine on Ubuntu 14.04.
Current version:
POM dependencies:
Code:
Example output from execution: