OpenCV,
# Linux, macOS export OpenCV_DIR=~/opencv # Windows set OpenCV_DIR=C:\opencv
cd <sdk> make samples
./samples/_output/bin/device/camera_d # Windows .\samples\_output\bin\device\camera_d.bat