Patent attributes
Provided are a method and an apparatus of optical module assembly, where the method includes: when an optical module to be aligned images, controlling an alignment mechanism clamping a lens to be assembled to move in a set direction by a set movement step; when the alignment mechanism moves each time, collecting, by an image acquisition device, light spots imaged by the optical module to be aligned sequentially, and selecting a light spot with a minimum size from the collected light spots; determining an optimal position of the alignment mechanism according to at least two light spots before the light spot with the minimum size and at least two light spots thereafter; and controlling the alignment mechanism to move to the optimal position to align the lens to be assembled.