stereolabs / zed-opencv

ZED SDK interface sample for OpenCV
https://www.stereolabs.com/docs/opencv/
MIT License
139 stars 79 forks source link

Why does it use half size resolution #61

Closed wujiang closed 6 years ago

wujiang commented 6 years ago

In the example code https://github.com/stereolabs/zed-opencv/blob/091fef7e0d3de1ca7da0137557082ee725d34fd2/src/main.cpp#L68-L70, it reduces the original resolution (1080P) by half. I'm wondering why it didn't start with a lower resolution, say 720P, and remove these 2 lines https://github.com/stereolabs/zed-opencv/blob/091fef7e0d3de1ca7da0137557082ee725d34fd2/src/main.cpp#L69-L70.

P-yver commented 6 years ago

Hi, We simply use half resolution for display convenience and to explain how to get images at a lower resolution.

wujiang commented 6 years ago

Understood. Thank you for the explanation.