OpenPHDGuiding / phd2

PHD2 Guiding
https://openphdguiding.org
BSD 3-Clause "New" or "Revised" License
244 stars 111 forks source link

Add OpenCV camera with Linux, the new code for OpenCV4 work fine #1191

Closed pchev closed 2 months ago

pchev commented 2 months ago

With the change for OpenCV4 the OpenCV camera now work fine on Linux. Tested with a laptop webcam.

This is interesting to add because this can support other devices than the V4L2 INDI driver.

The change is trivial, but please let me know if there is another/better location for "find_package". I not added conditional switch because OpenCV will anyway be required by the new planetary module.