Using Gstreamer pipelines in OpenCV to extract better performance from the Google Coral Camera on NavQ

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Using Gstreamer pipelines in OpenCV to extract better performance from the Google Coral Camera on NavQ

1,629 次查看
Landon_Haugh
NXP Employee
NXP Employee

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!

0 回复数