All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.sarxos.webcam.WebcamActivator Maven / Gradle / Ivy

Go to download

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).

There is a newer version: 0.3.12
Show newest version
package com.github.sarxos.webcam;

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
 * Simple OSGi bundle activator.
 * 
 * @author Bartosz Firyn (SarXos)
 */
public class WebcamActivator implements BundleActivator {

	private static final Logger LOG = LoggerFactory.getLogger(WebcamActivator.class);

	@Override
	public void start(BundleContext context) throws Exception {
		LOG.info("Webcam bundle started");
	}

	@Override
	public void stop(BundleContext context) throws Exception {
		LOG.info("Webcam bundle stopped");
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy