The invention discloses a COB
camera module and a packaging method thereof. The
voice coil motor comprises a circuit board, a
chip attached to the circuit board, a light filtering
assembly attached tothe
chip, a motor and a lens locked inside the motor, the motor is glued to the light filtering
assembly, the locking height of the lens on the motor is h1, and the distance between the
voice coil motor and the light filtering
assembly is h2. The
camera module is packaged by adopting two specific sizes of h1 and h2, and is matched with compensation type
optical axis correction, so that the automatic focusing accuracy of the
camera module and the
optical axis overlap ratio between modules can be improved to the greatest extent. The automatic focusing accuracy of the COB camera module is improved by adopting two specific sizes of h1 and h2; defective products are accurately discriminated through compensation type
optical axis correction, and meanwhile, the
fault tolerance of optical axis correction is improved, so that the yield is improved; grading of the COB camera module can be completed in the packaging process through primary optical axis correction and compensation type secondarycorrection of the camera active focusing equipment.