MYNT EYE D SDK Documentation, Release 1.8.0
Set the resolution of image
Using the
params.stream_mode
parameter, you can set the resolution of the image.
Attention: Now image resolution supports 4 types: 640X480,1280x720 for single camera. 1280x480,
2560x720 for left and right camera.
Reference code snippet:
// Stream mode: left color only
// params.stream_mode = StreamMode::STREAM_640x480;
// vga
// params.stream_mode = StreamMode::STREAM_1280x720;
// hd
// Stream mode: left+right color
// params.stream_mode = StreamMode::STREAM_1280x480;
// vga
params.stream_mode
=
StreamMode
::
STREAM_2560x720;
// hd
Set the frame rate of image
Using the
params.framerate
parameter, you can set the frame rate of image.
Note:
The effective fps of the image(0-60) - The effective fps of the image in 2560x720 resolution (30)
Reference code snippet:
// Framerate: 30(default), [0,60], [30](STREAM_2560x720)
params.framerate
=
30
;
Set color mode
Using the
params.color_mode
parameteryou can set the color mode of image.
COLOR_RAW
is original image
COLOR_RECTIFIED
is rectified image.
Reference code snippet:
// Color mode: raw(default), rectified
// params.color_mode = ColorMode::COLOR_RECTIFIED;
Set depth mode
Using the
params.depth_mode
parameteryou can set the depth mode.
DEPTH_COLORFUL
is colorful depth image
DEPTH_GRAY
is grey depth image
DEPTH_RAW
is original depth image
Reference code snippet:
// Depth mode: colorful(default), gray, raw
// params.depth_mode = DepthMode::DEPTH_GRAY;
28
Chapter 2. SDK
Summary of Contents for MYNT EYE D-Series
Page 1: ...MYNT EYE D SDK Documentation Release 1 8 0 MYNTAI Nov 07 2019...
Page 2: ......
Page 12: ...MYNT EYE D SDK Documentation Release 1 8 0 8 Chapter 1 PRODUCT...
Page 38: ...MYNT EYE D SDK Documentation Release 1 8 0 34 Chapter 2 SDK...
Page 58: ...MYNT EYE D SDK Documentation Release 1 8 0 54 Chapter 2 SDK...
Page 72: ...MYNT EYE D SDK Documentation Release 1 8 0 68 Chapter 5 TOOLS SUPPORT...
Page 80: ...MYNT EYE D SDK Documentation Release 1 8 0 76 Chapter 6 OPEN SOURCE SUPPORT...
Page 96: ...MYNT EYE D SDK Documentation Release 1 8 0 92 Chapter 7 API DOCS...
Page 106: ...MYNT EYE D SDK Documentation Release 1 8 0 102 Chapter 8 Android API DOCS...
Page 108: ...MYNT EYE D SDK Documentation Release 1 8 0 104 Chapter 9 TECHNICAL SUPPORT...