Hand tracking not working with kinect v2

just try CAP_DSHOW. afaik the kinects expose their color feed as regular video.

and why do all you beginners never error-check the VideoCapture creation (assert cap.isOpened()) and the reading (if not success: break)? do that. it’s not optional.