The time of taking a picture is too long when using a uvc camera

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

The time of taking a picture is too long when using a uvc camera

1,162 次查看
kris_fei
Contributor III

I'm using a 5M usb camera on imx6q based on android4.4, amazing it totally cost about 5~6s to take a picture, and

i found it cost 4s to get a frame from kernel space? Why so long?

标签 (2)
0 项奖励
回复
2 回复数

1,046 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,

    2 suggestions are recommended below:

(1) Using latest android BSP( android7.1.1), please!

In android4.4, MJPG encoding is done by software, which can make speed of taking picture slow, Android5.0 BSP and later, MJPG is encoded by VPU(hardware), so it's speed should be improved more.

(2) Using MJPG USB camera

You can try using USB carmera with MJPG video stream, when taking a picture, MJPG encoding doesn't need to be done, so speed may also be improved.


Have a great day,
TIC   weidong

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,046 次查看
kris_fei
Contributor III

thanks for your quick reply.

so you mean i need to use a MJPEG camera and add mjpeg software on android4.4?

BTW, could u please provide the patch of MJPEG?  Appreciate.

0 项奖励
回复