Code scanning method and related device

The invention discloses a code scanning method and a related device, and electronic equipment can analyze a code scanning scene (for example, a single code, multiple codes, incomplete codes in the multiple codes and other scenes) after a code scanning function is started, and determine an optimal ta...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: MI ZHENPENG, SHI JIANGPENG, ZHOU BOYU, YU MINGYU, ZHUGE CHAORAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a code scanning method and a related device, and electronic equipment can analyze a code scanning scene (for example, a single code, multiple codes, incomplete codes in the multiple codes and other scenes) after a code scanning function is started, and determine an optimal target zoom ratio in the scene based on the code scanning scene so as to obtain an image of the target zoom ratio. A barcode in the image of the target zoom magnification is identified. Therefore, the electronic equipment can quickly and successfully identify the bar code. 本申请公开了一种扫码方法及相关装置,电子设备可以在开启扫码功能之后,分析扫码的场景(例如,单个码、多个码、多个码中有非完整码等场景),并基于扫码的场景确定出该场景下最优的目标变焦倍率,以获取目标变焦倍率的图像,识别目标变焦倍率的图像中的条码。这样,可以快速的让电子设备成功识别条码。