Does anyone know a Java library that can be used to capture high resolution image snapshots from a webcam?
More precisely: - Detection of available webcams (laptops can have built-in and external, connected via USB-connection) - Select a webcam to work. - Detect available resolutions for image capture (for example: up to 1280x1024 for a webcam with a 1.3 megapixel sensor). They are usually much larger than for capturing VIDEO (for example: up to 640x480 for the same webcam). - Select the resolution to work. - Upon request (call the API function), take a picture from the selected camera with the selected resolution.
I tried: - JMF: sucks, does not support automatic detection of connected webcams. - FMJ: uses LTI-CIVIL to support webcams. - LTI-CIVIL: only supports VIDEO capture. The code is also very old (2007, if I remember correctly). Uses proprietary libraries written in C ++ to access webcams. DirectX for Windows and Video4Linux for (obviously) Linux. But while looking at the C ++ code, it becomes obvious that it focuses on streaming video, which is not my goal (as reflected in the description of what I need)
I would appreciate if someone could point me to a Java library that matches the profile I need.
Thanks.
source share