Code scanning method and electronic device
AssigneeHonor Device Co., Ltd.
InventorsTao Shen, Xiaowei Ma, Guoying Wang
Life of this patent
Estimating the term…
Loading patent…
AssigneeHonor Device Co., Ltd.
InventorsTao Shen, Xiaowei Ma, Guoying Wang
Estimating the term…
Embodiments of this application provide a code scanning method and an electronic device. The method is applicable to the electronic device. The electronic device includes a camera. The method includes: The electronic device displays a code scanning interface, and then obtains an identification frame image and a preview frame image, where the identification frame image and the preview frame image are obtained by processing a code scanning image collected by the camera. The electronic device displays the preview frame image in the code scanning interface. The electronic device conducts, in a case that ambient light brightness of the identification frame image is greater than or equal to a threshold, code scanning identification on the identification frame image, and determines a code scanning identification result. According to the method, an invalid identification frame image is deleted, to improve code scanning efficiency.
A code scanning method, applied to an electronic device, wherein the electronic device comprises a camera, and the method comprises:
Dependencies are inferred from the claim text.