Code scanning method and electronic equipment
The invention discloses a code scanning method and electronic equipment, which can determine the position of a locator from a two-dimensional code image by using the area proportion of three connected domains in the locator and the position relationship of the three connected domains, and identify t...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a code scanning method and electronic equipment, which can determine the position of a locator from a two-dimensional code image by using the area proportion of three connected domains in the locator and the position relationship of the three connected domains, and identify the two-dimensional code content in the two-dimensional code image based on the position of the locator. Therefore, the locator in the two-dimensional code image is determined through the area proportion and the position relation of the connected domain, and the success rate of identifying the two-dimensional code content from the two-dimensional code image can be improved.
本申请公开了一种扫码方法及电子设备,可以实现利用定位符内部的三个连通域面积比例以及三个连通域的位置关系,从二维码图像中确定定位符的位置,并基于定位符的位置,识别二维码图像中的二维码内容。这样,通过连通域的面积比例和位置关系,确定二维码图像中的定位符,可以提高从二维码图像中识别二维码内容的成功率。 |
---|