Forums - Extract camera image frame

2 posts / 0 new
Last post
Extract camera image frame
Join Date: 17 Feb 21
Posts: 1
Posted: Mon, 2021-03-01 00:06


Currently I am working on computer vision based application. Can anyone suggest , how to get the camera image frame using opencv on qcs 610 board?

  • Up0
  • Down0
Join Date: 17 Sep 20
Posts: 7
Posted: Tue, 2021-03-02 02:26


To get the camera frame using OpenCV, you can directly use the GStreamer plugin inside the cv2.VideoCapture() API. Please refer the code below  

   cv2.VideoCapture("qtiqmmfsrc ldc=TRUE !video/x-raw, format=NV12, width=1280, height=720, framerate=30/1 ! videoconvert ! appsink", cv2.CAP_GSTREAMER)

Note: if the opencv is not installed properly, you need to build it on yocto environment.


  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.