autofocus algorithm on IMX6 side

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

autofocus algorithm on IMX6 side

1,078 Views
mmj
Contributor III

Hi Community,

We need to add autofocus feature for our MIPI camera. The camera sensor is OV5645, VCM ( voice coil motor ) driver IC is DW9714.

Because the VCM is connected outside of the sensor, the built-in autofocus firmware of sensor will not support this external VCM.

May we know is there any autofocus algorithm, library related image processing methods in IPU/VPU of I.MX 6 ?

Our device information:

CPU: imx6dl@792M

Mem: LPDDR2 1G Bytes

Camera I/F: MIPI

Sensor: OV5645

VCM: DW9714

BSP: Android L5.0.0_1.0.0

vpu lib version : major.minor.rel=5.4.29

vpu fw version : major.minor.rel_rcode=3.1.1_r46063

vpu wrapper version : major.minor.rel=1.0.52: VPUWRAPPER_ARM_LINUX Build on Jun 29 2016 16:13:54

Thank you very much.

Peter

Labels (3)
0 Kudos
2 Replies

679 Views
igorpadykov
NXP Employee
NXP Employee

Hi Peter

IPU/VPU do not support autofocus, in general it may be useful to look at

https://patchwork.openembedded.org/patch/104397/

https://boundarydevices.com/ov5642-auto-focus-on-i-mx6/

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

679 Views
mmj
Contributor III

Hi igor,

Thank you for your quick response.

I have implemented autofocus using sensor OV5645 with built-in VCM AD5820. The autofocus algorithm is loaded and running in OV5645 MCU firmware. Unfortunately the AF firmware does not support external VCM DW9714. That's why I seek help from community. If IPU/VPU don't support either, is there any other software component, library or solution for autofocus on SOC side?

Best Regards,

Peter

0 Kudos