Patent ID: 9507990
Filing Date: 2016-11-29
CPC Classification: G06K

Claim Text:
1. A two-dimensional code recognition method, comprising: determining whether a picture is displayed on a screen; determining whether the picture includes a two-dimensional code, when the picture is displayed on the screen; and identifying the two-dimensional code, when the picture includes the two-dimensional code, wherein identifying the two-dimensional code comprises: determining an image area with bar code symbols of the two-dimensional code, wherein identifying the two-dimensional code further comprises: converting the image area with bar code symbols of the two-dimensional code to a binary image, applying dilation operation to the binary image, and detecting an edge of the dilated binary image to obtain a profile of a bar code area of the two-dimensional code; modifying and segmenting the profile to obtain a complete and standard bar code image; constructing a bitmap by grid sampling of the standard bar code image to obtain a binary data of the bar code area; and correcting, translating and converting the binary data to obtain a data code word.