Patent ID: 11861451
Assignee: CHANGXIN MEMORY TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 6:
7. The method of claim 6, wherein binarizing the chip code image comprises:
obtaining the image of the detection region where the chip code image is located, to obtain x configured to represent a total number of pixels in the image of the detection region where the chip code image is located;
obtaining w and e, wherein e=w*x, e is configured to represent a binarization evaluation value, and w is configured to represent a preset binarization evaluation percentage;
obtaining a first accumulated value of signal strengths of the chip code image from low to high, and when the first accumulated value is not less than e, obtaining k1 configured to represent a first position for obtaining a binarization threshold;
obtaining a second accumulated value of signal strength of the chip code image from high to low, when the second accumulated value is not less than e, obtaining k2 configured to represent a second position for obtaining the binarization threshold;
obtaining m, wherein m=(k1+k2)/2, and m is configured to represent the binarization threshold; and
calibrating a code identifier with a signal strength greater than m to be 1, and calibrating the code identifier with the signal strength not greater than m to be 0.