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

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

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

528 Views
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?

Labels (2)
0 Kudos
2 Replies

412 Views
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 Kudos

412 Views
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 Kudos