imx6q opencv performance

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6q opencv performance

789 Views
kangmw086
Contributor III

hi

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

regards.

Labels (4)
0 Kudos
1 Reply

587 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi k,

It takes 11ms in my Sabreauto board, I guess you need to download the right version for it.

Computer Vision on i.MX Processors: April 2016 

regards

0 Kudos