Hi,
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?
Hi,
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?
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.
Hi,
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.