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

com.lti.civil.impl.jni.NativeCaptureSystemFactory Maven / Gradle / Ivy

Go to download

LTI-CIVIL webcam driver for Webcam Capture project. It allows Webcam Capture to fetch images using LTI-CIVIL library.

There is a newer version: 0.3.12
Show newest version
package com.lti.civil.impl.jni;

import com.lti.civil.CaptureException;
import com.lti.civil.CaptureSystem;
import com.lti.civil.CaptureSystemFactory;


/**
 * Original class tries to load native library, but we have it already loaded,
 * so here I just replaced original by the updated one. Please note that it's
 * not very good w/a, but I didn't see any other choice.
 * 
 * @author Bartosz Firyn (SarXos)
 */
public class NativeCaptureSystemFactory implements CaptureSystemFactory {

	@Override
	public CaptureSystem createCaptureSystem() throws CaptureException {
		return newCaptureSystemObj();
	}

	private static native CaptureSystem newCaptureSystemObj();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy