stereolabs / zed-opencv

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

opencv error:no opengl suport #21

Closed DamonMIN closed 2 years ago

DamonMIN commented 7 years ago

problem when I run the zed-opencv code as what instruction said, there was an error. Then, I configurated opengl on my windows, it still existed. @adujardin

adujardin commented 7 years ago

Hi,

You can solve this issue by removing OpenGL support in the display. It is not essential and only provides a minor performance boost for imshow.

To remove it simply remove the flag cv::WINDOW_OPENGL here and here (that gives you for example : cv::namedWindow(mouseStruct.name, cv::WINDOW_AUTOSIZE);)

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days