Patent ID: 8368872
Filing Date: 2013-02-05
Classification: G01C,H04N

Abstract:
1. A method for determining a planting ball number of a camera module, said camera module comprising a chip and a substrate, said substrate having an opening with four rims, said chip being fixed on a plurality of contact pads of said substrate through a plurality of planting balls, each of said planting balls having a ball height, said method being configured for determining a number of planting balls on each contact pad and comprising steps of: (A) allowing an image pickup device to focus on at least four specified contact pads of said substrate to acquire four specified contact pad distances from said at least four specified contact pads to said image pickup device, and averaging said four specified contact pad distances to acquire an average contact pad distance; (B) allowing said image pickup device to focus on said four rims of said opening of said substrate to acquire four opening distances from said four rims to said image pickup device, and acquiring a smallest opening distance among said four opening distances; (C) allowing said image pickup device to focus on each contact pad of said substrate to acquire an actual contact pad distance from each contact pad to said image pickup device, thereby obtaining a plurality of actual contact pad distances; and (D) successively judging whether said actual contact pad distance is greater than said average contact pad distance, wherein if said actual contact pad distance is greater than said average contact pad distance, a first difference value between said actual contact pad distance and said smallest opening distance is calculated, and said first difference value is divided by said ball height to acquire said planting ball number for said contact pad corresponding to said actual contact pad distance, wherein if said actual contact pad distance is not greater than said average contact pad distance, a second difference value between said average contact pad distance and said smallest opening distance is calculated, and said second difference value is divided by said ball height to acquire said planting ball number for said contact pad corresponding to said actual contact pad distance.