It is probably easier to target a specific device, eg. a usb webcam.
Devices have device drivers, that's how you control the hardware.
WebCams typically have VFW drivers ( video for windows ), or WDM drivers.
Scanners can be accessed via Twain.
So, you probably want to mention what "type" of device you want to control.
I remember looking into a JUsb library, but it was very early stages of development, and not very functional.
regards,
Owen
Hi,
The Java Media Framework library allows you to capture video and still images from a webcam.
Here's a fully working example I posted a while ago:
http://forum.java.sun.com/thread.jspa?forumID=28&threadID=570463
If you're talking about a camcorder, as opposed to a webcam, then it's starting to move out of my area of knowledge.
You really have to describe what you want to do... vague questions will receive vague answers.
regards,
Owen
Just want to use the video camera which is on the microscope ,I need zoom in or out and use it to capture a snapshot into the program which made with Java...
I think the usb camera is a divice which seems the thing like webcam not camcorder because of its small volume... yes it is not as big as a camcorder...
Thank for your warmly answer, I will study the thread which you linked me !
Message was edited by:
eingmarra
Do a search of google for the make & model of the camera, using the following extra search terms, and see what you get...."jmf", "java", "twain".
Failing that, go to the microscope manufacturers website, and see what information is available. Maybe send an e-mail to their technical support department asking how to connect to their camera.
regards,
Owen