QR code positioning method and apparatus
Abstract:
Implementations of the present application provide a QR code positioning method and apparatus. Based on a predetermined pixel detection rule, centers of candidate position detection patterns in the QR code image are determined from a QR code image that includes first-type pixels and second-type pixels. The predetermined pixel detection rule includes that a consecutive arrangement ratio of the first-type pixels, the second-type pixels, and the first-type pixels satisfies a predetermined ratio. The candidate position detection patterns are identified based on the centers of the candidate position detection patterns. A set of patterns that satisfies a QR code image positioning rule are determined from the candidate position detection patterns. The set of patterns are used as position detection patterns of the QR code image.
Public/Granted literature
Information query
Patent Agency Ranking
0/0