The invention discloses a
camera module aligning method which regulates a
robot in a multi-
station parallel mode in a three-dimensional space, improves module
assembly efficiency, and can quickly finda proper position with clearest imaging of a
camera lens and a sensor
chip through an approach method of the lens one-end type
bisection method strategy. According to a simple target figure, different area knife-edge points are quickly obtained by a regional Laplace gray
mask method to calculate an LMFT value, a z value which corresponds to a definition
peak value is obtained through polynomial
curve fitting, characteristics of the target figure are delicately utilized to obtain an
angular point mean value of different areas, and the
camera lens is regulated according to image center deviation, so that the
optical axis center of the
camera lens is quickly superposed with the center of a sensor, and therefore, quality evaluation indexes of a finished product module do not need to introducein advance throughout the process for detecting definition of semi-finished products, inconsistency of image subjective evaluation is eliminated, regulating speed is high, and z, u and v can be effectively converged.