OpenCV independency¶
SDK provides a three-tier interface with OpenCV dependencies:
api, upper interface, with OpenCV dependenciesdevice, interlayer interface, without OpenCV dependenciesuvc, bottom interface, without OpenCV dependencies
If you don’t want to use OpenCV, edit <sdk>/cmake/Option.cmake , set WITH_API to OFF. This will stop the compilation of the interface api:
option(WITH_API "Build with API layer, need OpenCV" ON)
For samples for the interface device, please refer to device/camera.cc .