Currently have a Java (JMF) application that needs to interface cameras through C/C++ interface.
Here is the specification for the work we need done to help us capture video in Java.
Need a Java class that accesses a JNI dll that is a wrapper for the dll's supplied by the camera manufacturer (cameras use OCX control). The functions should recognize all cameras which the drivers work with and be able to capture from more than one camera at a time.
The functions need to include two ways to capture images from the camera and be able to set formats and settings on the camera.
The way to capture images are single frame and streaming.
Single Frame Capture
GetFrame() Function that goes to the camera and gets a single frame then returns when the frame is acquired.
Start() function that starts the streaming capture process.
Stop() stops the streaming processes.
process(Buffer in) function that gets called when a new image is ready.
Setting Format Options
GetFromats() function that returns a set of format objects
SetFormat(format f) function to set the camera format.
GetDevice(CameraID) grabs a camera or returns an error if not available. Let the program know if the camera exists and notifies the OS that it is bing used.
GetDeviceList() returns a list of cameras recognized by the system.
The Drivers for the cameras are located online at:
[url removed, login to view]