![JAR search and dependency download from the Maven repository](/logo.png)
com.github.sarxos.webcam.ds.buildin.WebcamGrabberTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webcam-capture Show documentation
Show all versions of webcam-capture Show documentation
This library allows you to use your PC webcam, IP or network cameras directly from Java. It's compatible with most operating systems (Windows, Linux, MacOS).
package com.github.sarxos.webcam.ds.buildin;
import com.github.sarxos.webcam.ds.buildin.natives.OpenIMAJGrabber;
public abstract class WebcamGrabberTask {
protected volatile OpenIMAJGrabber grabber = null;
protected void process(WebcamGrabberProcessor grabber) {
grabber.process(this);
}
public void setGrabber(OpenIMAJGrabber grabber) {
this.grabber = grabber;
}
protected abstract void handle();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy