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,161件の閲覧回数
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,045件の閲覧回数
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,045件の閲覧回数
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 件の賞賛
返信