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

2,062件の閲覧回数
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 返答(返信)