Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src
COPYING
README.md
pom.xml

README.md

webcam-capture-driver-v4l4j

This is capture driver which uses V4L4J project to access camera devices. It uses V4L4J customized fork available here.

Currently this is the most stable capture driver to be used with the Raspberry Pi boards.

NOTE! This driver supports only UVC devices and therefore it will not work with the Raspberry Pi dedicated camera module.

Maven

Stable:

<dependency>
    <groupId>com.github.sarxos</groupId>
    <artifactId>webcam-capture-driver-v4l4j</artifactId>
    <version>0.3.12</version>
</dependency>

Snapshot:

<repository>
    <id>Sonatype OSS Snapshot Repository</id>
    <url>http://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
<dependency>
    <groupId>com.github.sarxos</groupId>
    <artifactId>webcam-capture-driver-v4l4j</artifactId>
    <version>0.3.13-SNAPSHOT</version>
</dependency>

Example

static {
	Webcam.setDriver(new V4l4jDriver());
}

public static void main(String[] args) {
	JFrame frame = new JFrame("V4L4J Webcam Capture Driver Demo");
	frame.add(new WebcamPanel(Webcam.getDefault()));
	frame.pack();
	frame.setVisible(true);
	frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}

License

This specific driver is distributed under the terms of GNU GPL v3 license.