Typically, with OpenCV, users will find that many guides use the following line of code to open the camera with OpenCV:
cap = cv2.VideoCapture(0)
With NavQ, you can get better performance using the following:
cap = cv2.VideoCapture('v4l2src ! video/x-raw,width=640,height=480 ! decodebin ! videoconvert ! appsink', cv2.CAP_GSTREAMER)
This will be able to pull frames from the camera at about 15fps. We are trying to find a way to extract higher frame-rates from the NavQ's camera. If any of you in the community find a better way, be sure to let us know here!