iMX6Q Android 4.4.3 use ov3640 image Grid problem

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

iMX6Q Android 4.4.3 use ov3640 image Grid problem

646 Views
caritzhu
Contributor III

I use the android 4.4.3 BSP from freescale official website, and I port the ov3640 driver from ov5640 driver. I use 640*480 15pts for preview but 2048*1536 30pts for capture. The android system can preview the image correct but capture image is not good, the image has Grid problem. How can I solve this problem or ov3640 is not suitable for android application?

Labels (2)
0 Kudos
2 Replies

374 Views
jimmychan
NXP TechSupport
NXP TechSupport

please check the logcat that the Android select the correct resolution mode in your ov3640 driver.

For your reference:

Porting ov5645 to android jb4.2.2

0 Kudos

374 Views
caritzhu
Contributor III

Thanks!

I have confirmed the selection is correct. I use 640*480 15pts for preview but 2048*1536 15pts(i have written wrong for this framerate in the answer). I check in the logcat and console print. The ov3640 has two work mode: one is QXGA mode for full pixel and 15 framerate, the other is XGA mode for 1048*768 and 30 framerate. I only use QXGA mode for preview and capture, in order to avoid mode switch. I just set the register of crop, zoom and output size for the resolution mode changement. Is this correct?

0 Kudos