public class CameraCapabilities extends Object
| Constructor and Description |
|---|
CameraCapabilities() |
| Modifier and Type | Method and Description |
|---|---|
static CameraFormat[] |
probeResolutions(String source,
String option,
String device)
Get supported image sizes and frame rates that are represented by
CameraFormat
of a video input device. |
public static CameraFormat[] probeResolutions(String source, String option, String device)
CameraFormat
of a video input device. To retrieve the capabilities of the input device the log
output is parsed.source - input source, e.g. vfwcap, dshow (Windows) or video4linux2, v4l2 (Linux).option - list formats command, e.g. list_options or list_formats.device - device name or identifier, e.g. /dev/video0.Copyright © 2013. All Rights Reserved.