imx6q opencv performance

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx6q opencv performance

1,586 次查看
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.

标签 (4)
0 项奖励
回复
1 回复

1,384 次查看
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 项奖励
回复