27 #include <VisionX/interface/components/Calibration.h>
28 #include <opencv2/highgui/highgui.hpp>
38 defineOptionalProperty<int>(
"DeviceNumber", 0,
"Number of the ID as it openCV expects (usually 0 if only one device exists).");
39 defineOptionalProperty<float>(
"FPS", 30.0f,
"If not set, FPS is limited by device.");
41 defineOptionalProperty<ImageDimension>(
"ImageResolution", ImageDimension(0, 0),
"Image resolution. If not set, maximum is used.")
42 .setCaseInsensitive(
true)
43 .map(
"320x240", ImageDimension(320, 240))
44 .map(
"640x480", ImageDimension(640, 480))
45 .map(
"800x600", ImageDimension(800, 600))
46 .map(
"768x576", ImageDimension(768, 576))
47 .map(
"1024x768", ImageDimension(1024, 768))
48 .map(
"1280x720", ImageDimension(1280, 960))
49 .map(
"1280x960", ImageDimension(1280, 960))
50 .map(
"1280x1024", ImageDimension(1280, 960))
51 .map(
"1600x1200", ImageDimension(1600, 1200))
52 .map(
"1920x1080", ImageDimension(1920, 1080))
53 .map(
"1920x1200", ImageDimension(1920, 1200))
54 .map(
"none", ImageDimension(0, 0));
76 bool capture(
void** ppImageBuffers)
override;