AnsweredAssumed Answered

imx6q opencv performance

Question asked by k ms on Nov 20, 2018
Latest reply on Nov 22, 2018 by Bio_TICFSL


i used imx6q sabreauto version.

My parallel camera is connected to ipu1.

I checked the various functions using 'gstreamer'.

'gstreamer' has reached its limit.

I want to output the camera live image to qt using 'opencv'.

It works, but the performance is too low.

It takes 310ms to receive the camera data and output it to the qlabel.


VideoCapture cap("imxv4l2videosrc device=/dev/video0 ! videoconvert ! video/x-raw,width=1280,height=960,framerate=30/1 ! appsink", CAP_GSTREAMER)


Mat frame;

cap >> frame;   <--------- This command takes the most time.

1. the performance normal?

2. And others use 'cap (0)' a lot, but I can not work.

3. Is it possible to combine opencv with 'imx6' gpu?

I hope I have some sample code.


thank you