CN108563972A - Graphic code recognition methods, device, mobile terminal and storage medium - Google Patents
Graphic code recognition methods, device, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN108563972A CN108563972A CN201810195469.3A CN201810195469A CN108563972A CN 108563972 A CN108563972 A CN 108563972A CN 201810195469 A CN201810195469 A CN 201810195469A CN 108563972 A CN108563972 A CN 108563972A
- Authority
- CN
- China
- Prior art keywords
- graphic code
- target
- code
- area
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/146—Methods for optical code recognition the method including quality enhancement steps
- G06K7/1491—Methods for optical code recognition the method including quality enhancement steps the method including a reconstruction step, e.g. stitching two pieces of bar code together to derive the full bar code
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Electromagnetism (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Telephone Function (AREA)
Abstract
本申请实施例公开了一种图形码识别方法、装置、移动终端及存储介质,涉及移动终端技术领域。其中,该方法包括:获得图形码图像,当所获得的图形码图像中的图形码不满足识别条件时,获取多幅图形码图像;根据所述多幅图形码图像中的图形码,获取包括满足识别条件的图形码的目标图形码图像;对所述目标图形码图像进行图形码识别。该方案通过多幅图像合成满足识别条件的图形码图像,提高了图形码的识别成功率。
The embodiment of the application discloses a pattern code recognition method, device, mobile terminal and storage medium, and relates to the technical field of mobile terminals. Wherein, the method includes: obtaining a graphic code image, and when the graphic code in the obtained graphic code image does not meet the recognition condition, acquiring a plurality of graphic code images; according to the graphic code in the plurality of graphic code images, acquiring includes satisfying identifying the target graphic code image of the graphic code of the condition; performing graphic code recognition on the target graphic code image. In this scheme, a pattern code image meeting the recognition condition is synthesized by multiple images, and the success rate of pattern code recognition is improved.
Description
技术领域technical field
本申请涉及移动终端技术领域,更具体地,涉及一种图形码识别方法、装置、移动终端及存储介质。The present application relates to the technical field of mobile terminals, and more specifically, to a pattern code recognition method, device, mobile terminal and storage medium.
背景技术Background technique
图形码是用某些特定的几何图形按一定规律进行排布、用于记录数据符号信息的图形集合,如条形码、二维码等。A graphic code is a collection of graphics that are arranged according to certain rules with certain specific geometric figures and are used to record data symbol information, such as barcodes, two-dimensional codes, etc.
移动终端可以对图形码进行扫描识别,获取图形码所包含的信息,以根据获取到的信息进行支付、网页打开、应用程序登录、好友添加等活动。但是,在图形码扫描识别过程中,被扫描的图形码本身可识别,而扫描到的图形码存在被遮挡等情况,使图形码不可识别。The mobile terminal can scan and identify the graphic code, and obtain the information contained in the graphic code, so as to perform activities such as payment, web page opening, application program login, and friend addition according to the acquired information. However, during the scanning and recognition process of the graphic code, the scanned graphic code itself can be identified, but the scanned graphic code is sometimes blocked, making the graphic code unrecognizable.
发明内容Contents of the invention
鉴于上述问题,本申请提出了一种图形码识别方法、装置、移动终端及存储介质,提高对本身可识别的图形码的识别成功率。In view of the above problems, the present application proposes a pattern code recognition method, device, mobile terminal and storage medium to improve the success rate of recognition of pattern codes that can be recognized by themselves.
第一方面,本申请实施例提供了一种图形码识别方法,应用于移动终端,所述方法包括:获得图形码图像,当所获得的图形码图像中的图形码不满足识别条件时,获取多幅图形码图像;根据所述多幅图形码图像中的图形码,获取包括满足识别条件的图形码的目标图形码图像;对所述目标图形码图像进行图形码识别。In the first aspect, an embodiment of the present application provides a pattern code recognition method, which is applied to a mobile terminal. The method includes: obtaining a pattern code image, and obtaining multiple A graphic code image; according to the graphic code in the plurality of graphic code images, obtain a target graphic code image including a graphic code satisfying a recognition condition; perform graphic code recognition on the target graphic code image.
第二方面,本申请实施例提供了一种图形码识别装置,应用于移动终端,所述装置包括:图像获取模块,用于获得图形码图像,当所获得的图形码图像中的图形码不满足识别条件时,获取多幅图形码图像;图像处理模块,用于根据所述多幅图形码图像中的图形码,获取包括满足识别条件的图形码的目标图形码图像;图形码识别模块,用于对所述目标图形码图像进行图形码识别。In the second aspect, the embodiment of the present application provides a device for identifying a graphic code, which is applied to a mobile terminal. The device includes: an image acquisition module, configured to obtain a graphic code image, and when the graphic code in the obtained graphic code image does not satisfy the During identification condition, obtain a plurality of graphic code images; Image processing module is used for according to the graphic code in described a plurality of graphic code images, obtains the target graphic code image that comprises the graphic code that satisfies recognition condition; Graphic code identification module, uses and performing pattern code recognition on the target pattern code image.
第三方面,本申请实施例提供了一种移动终端,包括存储器及处理器,所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行上述的方法。In a third aspect, an embodiment of the present application provides a mobile terminal, including a memory and a processor, the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the The processor executes the above method.
第四方面,本申请实施例提供了一种具有处理器可执行的程序代码的计算机可读存储介质,所述程序代码使所述处理器执行上述应用于移动终端的方法。In a fourth aspect, the embodiment of the present application provides a computer-readable storage medium having a program code executable by a processor, and the program code causes the processor to execute the above-mentioned method applied to a mobile terminal.
本申请提供的图形码识别方法、装置、移动终端及存储介质,在获得的图形码图像中图形码不满足识别条件的情况下,获取多幅图形码以获取满足识别条件的图形码,对该满足条件的图形码进行识别,提高图形码识别的成功率。The graphic code recognition method, device, mobile terminal and storage medium provided by the present application, in the case that the graphic code in the obtained graphic code image does not meet the recognition conditions, obtain multiple graphic codes to obtain the graphic codes that meet the recognition conditions. The graphic codes that meet the conditions are recognized to improve the success rate of graphic code recognition.
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These or other aspects of the present application will be more concise and understandable in the description of the following embodiments.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1示出了本申请实施例中一种图形码图像;Fig. 1 shows a kind of graphic code image in the embodiment of the present application;
图2示出了本申请第一实施例提出的图形码识别方法的流程图;Fig. 2 shows the flowchart of the graphic code recognition method that the first embodiment of the present application proposes;
图3示出了本申请第二实施例提出的图形码识别方法的流程图;Fig. 3 shows the flowchart of the graphic code recognition method that the second embodiment of the present application proposes;
图4示出了本申请第二实施例中的第一种图形码图像;Fig. 4 shows the first graphic code image in the second embodiment of the present application;
图5示出了本申请第二实施例中的第二种图形码图像;Fig. 5 shows the second graphic code image in the second embodiment of the present application;
图6示出了本申请第二实施例中的第三种图形码图像;Fig. 6 shows the third graphic code image in the second embodiment of the present application;
图7示出了本申请第二实施例中的第四种图形码图像;Fig. 7 shows the fourth graphic code image in the second embodiment of the present application;
图8示出了本申请第二实施例中的第五种图形码图像;Fig. 8 shows the fifth graphic code image in the second embodiment of the present application;
图9示出了本申请第二实施例中的第六至八种图形码图像;Fig. 9 shows the sixth to eighth graphic code images in the second embodiment of the present application;
图10示出了本申请第二实施例中的第九种图形码图像;Fig. 10 shows the ninth graphic code image in the second embodiment of the present application;
图11示出了本申请第二实施例中的第十种图形码图像;Fig. 11 shows the tenth graphic code image in the second embodiment of the present application;
图12示出了本申请第三实施例提出的图形码识别装置的功能模块图;Fig. 12 shows the functional block diagram of the graphic code recognition device proposed in the third embodiment of the present application;
图13示出了本申请实施例提出的移动终端的一种结构框图;FIG. 13 shows a structural block diagram of a mobile terminal proposed in an embodiment of the present application;
图14示出了本申请实施例提出的移动终端的一种结构图;FIG. 14 shows a structural diagram of a mobile terminal proposed in an embodiment of the present application;
图15示出了本申请实施例的用于执行本申请实施例的图形码识别方法的移动终端的框图。Fig. 15 shows a block diagram of a mobile terminal for performing the pattern code recognition method of the embodiment of the present application according to the embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
在图形码扫描识别时,有些图形码本身可识别,但是由于扫描环境的影响,在扫描到的图形码图像中,可能存在坏点,使扫描获得的图形码并不完整,无法获取到足够的、可以对图形码进行识别的信息,导致图形码识别失败。其中,坏点为在图形码对应的区域中,不属于构成图形码的图形,如反光点、遮挡物图像等。图形码可以是条形码、二维码、三维码等包含有数据信息的图形。图1示出了一幅存在坏点A的二维码图像。When the graphic code is scanned and recognized, some graphic codes can be recognized by themselves, but due to the influence of the scanning environment, there may be bad pixels in the scanned graphic code image, making the scanned graphic code incomplete and unable to obtain enough , Information that can identify the graphic code, resulting in failure to identify the graphic code. Among them, the bad point is in the area corresponding to the graphic code, which does not belong to the graphics constituting the graphic code, such as reflective points, occluder images, etc. The graphic code can be a barcode, a two-dimensional code, a three-dimensional code, etc. that contain data information. Fig. 1 shows a two-dimensional code image with a dead pixel A.
如,在开启闪光灯、外界光线较强等情况下,若图形码的载体具有一定的反光性,则扫描到的图形码中可能存在由于反光等原因而形成的亮点,该亮点即为图形码中的坏点,使扫描到的图形码被破坏而无法识别。如在夜间或光线较差的情况下,对共享单车的二维码进行扫描时,当检测到光线不足时,开启闪光灯。共享单车上的二维码在夜间受到强光的照射下,总会有一个反光亮点,导致闪光灯正对二维码的时候无法正常识别。For example, when the flash is turned on and the external light is strong, if the carrier of the graphic code has a certain degree of reflection, there may be bright spots in the scanned graphic code due to reflection and other reasons. The bad points of the scanned graphics code are destroyed and cannot be recognized. For example, at night or when the light is poor, when scanning the QR code of the shared bicycle, when insufficient light is detected, the flash will be turned on. When the QR code on the shared bicycle is illuminated by strong light at night, there will always be a reflective spot, which makes it impossible to recognize the QR code when the flash is facing it.
又如,在扫描图形码时,移动终端的扫描摄像头与图形码之间有遮挡物,使扫描到的图形码图像中,遮挡物将图形码的一部分遮挡,遮挡图形码部分的遮挡物图像即为图形码中的坏点,使图形码不完整,无法对图形码进行识别。As another example, when scanning a graphic code, there is an occluder between the scanning camera of the mobile terminal and the graphic code, so that in the scanned image of the graphic code, the occluder blocks part of the graphic code, and the image of the occluder that blocks the graphic code part is It is a bad point in the graphic code, which makes the graphic code incomplete and cannot identify the graphic code.
因此,本申请实施例提出了一种图形码识别方法及装置,在图形码识别过程中,通过多幅图像获取具有满足识别条件的图形码图像。当用户在扫描过程中,扫描位置发生移动,使扫描到的不同图形码图像中,坏点在图形码中的位置不同,从而根据多幅图形码图像获得具有满足识别条件的图形码的图形码图像。Therefore, the embodiment of the present application proposes a pattern code recognition method and device. During the pattern code recognition process, a pattern code image meeting a recognition condition is acquired through multiple images. When the user is scanning, the scanning position moves, so that in the scanned different graphic code images, the position of the dead point in the graphic code is different, so that the graphic code with the graphic code that meets the recognition conditions is obtained according to multiple graphic code images image.
在移动终端中可运行客户端。例如,在本申请中,移动终端中运行的客户端可以是微信、支付宝等具有对二维码、条形码等图形码进行扫描识别的应用程序客户端,用户可以通过该客户端扫描识别图形码。下面将从移动终端的客户端,结合附图并通过具体的实施例对本申请实施例提供的图形码识别方法及装置进行说明。The client can be run on the mobile terminal. For example, in this application, the client running in the mobile terminal can be an application client such as WeChat and Alipay that scans and recognizes graphic codes such as QR codes and barcodes, and users can scan and identify graphic codes through the client. In the following, the graphic code recognition method and device provided by the embodiment of the present application will be described from the client side of the mobile terminal, in conjunction with the accompanying drawings and through specific embodiments.
第一实施例first embodiment
请参阅图2,本申请第一实施例提供了一种图形码识别方法,用于对图形码进行识别。该方法中,移动终端在图形码图像中图形码无法识别的情况下,通过多幅图形码图像获取满足识别条件的图形码,提高图形码的识别成功率。在具体的实施例中,所述图形码识别方法应用于如图12所示的图形码识别装置以及对应有图形码识别装置300的移动终端100(图13、图14)。本申请实施例中主要以手机为例进行说明,如图2所示,上述的图形码识别方法具体可以包括以下步骤:Referring to FIG. 2 , the first embodiment of the present application provides a pattern code recognition method for recognizing pattern codes. In the method, when the graphic code cannot be recognized in the graphic code image, the mobile terminal obtains the graphic code satisfying the recognition condition through multiple graphic code images, so as to improve the recognition success rate of the graphic code. In a specific embodiment, the pattern code recognition method is applied to the pattern code recognition device shown in FIG. 12 and the mobile terminal 100 corresponding to the pattern code recognition device 300 ( FIG. 13 , FIG. 14 ). In the embodiment of the present application, the mobile phone is mainly used as an example for illustration. As shown in FIG. 2, the above-mentioned graphic code recognition method may specifically include the following steps:
步骤S110:获得图形码图像,当所获得的图形码图像中的图形码不满足识别条件时,获取多幅图形码图像。Step S110: Obtain a graphic code image. When the graphic code in the obtained graphic code image does not meet the recognition condition, acquire multiple graphic code images.
在手机扫描图形码时,获取图形码图像,对图形码图像中的图形码进行识别。若该图形码图像中的图形码不满足识别条件,即可能存在坏点而无法识别,则获取多幅图形码图像。When the mobile phone scans the graphic code, the graphic code image is obtained, and the graphic code in the graphic code image is recognized. If the graphic code in the graphic code image does not meet the recognition condition, that is, there may be bad pixels and cannot be recognized, multiple graphic code images are acquired.
步骤S120:根据所述多幅图形码图像中的图形码,获取包括满足识别条件的图形码的目标图形码图像。Step S120: According to the graphic codes in the plurality of graphic code images, acquire the target graphic code image including the graphic code meeting the recognition condition.
在多幅图形码图像中,各图形码图像中坏点在图形码中的位置可能并不相同,因此可以根据该多幅图形码图像获得满足识别条件的图形码。例如,将各图形码图像中的图形码合成,获得一个满足识别条件的图形码,获得的该图形码对应的图像即为目标图形码图像。In the multiple graphic code images, the position of the bad point in the graphic code may be different in each graphic code image, so the graphic code meeting the recognition condition can be obtained according to the multiple graphic code images. For example, the graphic codes in each graphic code image are synthesized to obtain a graphic code satisfying the recognition condition, and the obtained image corresponding to the graphic code is the target graphic code image.
步骤S130:对所述目标图形码图像进行图形码识别。Step S130: Perform pattern code recognition on the target pattern code image.
对目标图形码图像中的图形码进行识别,从而获得该图形码对应的内容。The pattern code in the target pattern code image is recognized, so as to obtain the content corresponding to the pattern code.
本申请实施例提供的图形码识别方法,在获得的图形码不满足识别条件的情况下,获取多幅图形码图像。再根据获得的多幅图形码图像,合成包括满足识别条件的图形码的目标图形码图像,对目标图形码图像进行图形码识别。该方法中,若因为反光等原因,在图形码本身可识别的条件下,扫描的用于图形码识别的图像中,图形码被遮挡而不可识别,则可以通过不同的多幅图形码图像,合成满足识别条件的图形码图像进行识别,提高了图形码识别的成功率。In the pattern code recognition method provided in the embodiment of the present application, when the obtained pattern code does not satisfy the recognition condition, multiple pattern code images are acquired. Then, according to the obtained multiple graphic code images, a target graphic code image including a graphic code satisfying the recognition condition is synthesized, and the target graphic code image is recognized by the graphic code. In this method, if due to reflection and other reasons, under the condition that the graphic code itself can be recognized, the graphic code is blocked and cannot be recognized in the scanned image for graphic code recognition, then it can be through different multiple graphic code images, The pattern code image meeting the recognition condition is synthesized for recognition, and the success rate of pattern code recognition is improved.
第二实施例second embodiment
本实施例提供了一种图形码识别方法,请参见图3,该方法包括:This embodiment provides a method for pattern code recognition, please refer to Figure 3, the method includes:
步骤S210:获得图形码图像,当所获得的图形码图像中的图形码不满足识别条件时,获取多幅图形码图像。Step S210: Obtain a graphic code image. When the graphic code in the obtained graphic code image does not meet the recognition condition, acquire multiple graphic code images.
在开始对图形码进行识别时,获得的单幅图形码图像若无法识别,则可以获取多幅图形码图像。其中,可以是,一次识别失败即获取多幅图形码图像,或者是多次的单幅图形码图像识别失败,获取多幅图形码图像;或者是,在预设时间长度内对图形码无法识别,则获取多幅图形码图像,该预设时间长度在本申请实施例中并不限定,如3s。When starting to recognize the pattern code, if the obtained single pattern code image cannot be recognized, multiple pattern code images can be obtained. Wherein, it can be that multiple graphic code images are acquired once the recognition fails, or multiple graphic code images fail to be recognized, and multiple graphic code images are obtained; or, the graphic code cannot be recognized within a preset time length , multiple graphic code images are acquired, and the preset time length is not limited in this embodiment of the application, such as 3s.
由于移动终端位于不同位置,对图形码进行扫描时,扫描角度不同,获取到的图形码图像中,坏点在图形码中的位置可能不同。又或者是,当开启闪光灯进行扫描时,移动终端位置不同,闪光灯在二维码承载物上的反光点也不同。例如,手机在一个位置时获得的图形码图像可能如图1所示,手机在另一个位置扫描时,摄像头拍摄位置和/或角度变化,获得的图形码图像可能如图4所示,两幅图形中坏点在图形码中的位置并不相同。Since the mobile terminal is located at different positions, when scanning the graphic code, the scanning angle is different, and in the acquired graphic code image, the position of the dead point in the graphic code may be different. Or, when the flashlight is turned on for scanning, the position of the mobile terminal is different, and the reflective points of the flashlight on the two-dimensional code carrier are also different. For example, the graphic code image obtained when the mobile phone is at one position may be as shown in Figure 1, and when the mobile phone is scanning at another position, the camera shooting position and/or angle changes, and the graphic code image obtained may be as shown in Figure 4, two images The positions of bad pixels in the graphics are not the same in the graphics code.
因此,作为一种实施方式,在获取多幅图形码图像之前,可以先显示对移动终端进行移动的提示信息,以使用户将移动终端进行移动,对图形码进行不同位置、不同角度的扫描,移动终端在不同位置获得坏点位置不同的图形码图像。Therefore, as an implementation mode, before acquiring multiple graphic code images, a prompt message for moving the mobile terminal can be displayed first, so that the user can move the mobile terminal to scan the graphic code at different positions and angles. The mobile terminal obtains graphic code images with different bad pixel positions at different positions.
另外,作为一种实施方式,也可以是,若获得的图形码图像无法识别,检测到所述移动终端移动时,获取多幅图形码图像。进一步可选的,可以是,获取多幅图像时,检测到移动终端位置发生一次移动,获取一次图形码图像。可选的,移动终端的移动,可以是满足一定移动条件的移动,如移动加速度达到某预设值、移动速度达到某预设值、移动时间达到某预设值等。In addition, as an implementation manner, if the obtained graphic code image cannot be recognized and the movement of the mobile terminal is detected, multiple graphic code images are acquired. Further optionally, it may be that when multiple images are acquired, a movement of the mobile terminal is detected, and a graphic code image is acquired once. Optionally, the movement of the mobile terminal may be a movement that satisfies certain movement conditions, for example, the movement acceleration reaches a certain preset value, the movement speed reaches a certain preset value, and the movement time reaches a certain preset value.
作为一种实施方式,获得的图形码图像中的图形码无法识别时,连续获取多幅图形码图像,该连续多幅图形码图像之间可以具有时间间隔,具体的时间间隔长度在本申请实施例中并不限定,如0.5s。由于用户在用手机等移动终端进行图形码扫描过程中,手通常会发生抖动或偏移,从而使手机抖动或偏移,在不同的位置获取到不同图形码图像,获得的不同图形码图像中,坏点可能位于图形码中的不同位置。As an implementation, when the graphic code in the obtained graphic code image cannot be recognized, multiple graphic code images are continuously acquired, and there may be time intervals between the continuous multiple graphic code images, and the specific time interval length is implemented in this application In the example, it is not limited, such as 0.5s. When the user uses a mobile terminal such as a mobile phone to scan the graphic code, the hand usually shakes or shifts, so that the mobile phone shakes or shifts, and different graphic code images are obtained at different positions. Among the different graphic code images obtained , the dead pixels may be located at different locations in the graphics code.
在本申请实施例中,上述各种实施方式可以单独实施,或者是相结合进行实施,并不作为本申请实施例中的限定。In the embodiment of the present application, the above various implementation manners may be implemented independently or in combination, and are not limited to the embodiment of the present application.
可选的,图形码本身可识别,而扫描到的图形码图像不可识别通常为受到闪光灯的影响,因此,本申请实施例中,在获取多幅图形码图像之前,还可以包括:判断所述移动终端的闪光灯是否亮起;若亮起,则可能是由于闪光灯的影响是图形码无法识别,则获取多幅图形码图像。若闪光灯未亮起,则有可能是图形码本身存在残损等问题而无法识别。Optionally, the graphic code itself is identifiable, and the unrecognizable image of the scanned graphic code is usually affected by flashlights. Therefore, in the embodiment of the present application, before acquiring multiple graphic code images, it may also include: judging the Whether the flash light of the mobile terminal is on; if it is on, it may be that the pattern code cannot be recognized due to the influence of the flash light, and multiple pattern code images are acquired. If the flash light is not on, it may be that the graphic code itself is damaged and cannot be recognized.
其中,图形码无法识别即是图形码不满足识别条件。该识别条件可以是,图形码完整,即获取到的图形码包括图形码中的所有图形。Wherein, the unrecognizable pattern code means that the pattern code does not satisfy the recognition condition. The identification condition may be that the graphic code is complete, that is, the acquired graphic code includes all the graphics in the graphic code.
另外,由于图形码具有一定的容错率,或者图形码中有些图形必须被读取到,则该识别条件也可以是,无法读取到的图形码信息占图形码总信息的比例低于图形码的容错率,和/或,图形码中必须被读取到的图形在获取到的图形码图像中。In addition, since the graphic code has a certain error tolerance rate, or some graphics in the graphic code must be read, the recognition condition can also be that the proportion of the graphic code information that cannot be read in the total information of the graphic code is lower than that of the graphic code. The error tolerance rate, and/or, the graphic that must be read in the graphic code is in the acquired graphic code image.
例如,二维码具有一定的容错率,具有存储容错级别,在容错范围内,即使二维码被遮住一部分,一样可以识别二维码,获取全部二维码内容。另外,二维码中具有位置探测图形,用于确定二维码符号中各模块的坐标,若获得的二维码图像中,位置探测图形的数量低于可以识别二维码的预设数量,无法对二维码中各模块进行定位,该二维码不满足预设识别条件。因此,识别条件可以为,无法读取到的图形码信息占所述图形码总信息的比例低于所述图形码的容错率,以及所述图形码中可读取到的位置探测图形的数量大于预设数量。For example, a two-dimensional code has a certain fault tolerance rate and storage fault tolerance level. Within the fault tolerance range, even if a part of the two-dimensional code is covered, the two-dimensional code can still be recognized and all the content of the two-dimensional code can be obtained. In addition, there are position detection patterns in the two-dimensional code, which are used to determine the coordinates of each module in the two-dimensional code symbol. If the number of position detection patterns in the obtained two-dimensional code image is lower than the preset number that can recognize the two-dimensional code, The modules in the QR code cannot be located, and the QR code does not meet the preset recognition conditions. Therefore, the recognition condition can be that the ratio of the unreadable pattern code information to the total information of the pattern code is lower than the error tolerance rate of the pattern code, and the number of position detection patterns that can be read in the pattern code greater than the preset amount.
在获得多幅图形码图像后,可以根据所述多幅图形码图像中的图形码,获取包括满足识别条件的图形码的目标图形码图像。After the multiple graphic code images are obtained, the target graphic code image including the graphic code meeting the recognition condition can be acquired according to the graphic codes in the multiple graphic code images.
在一种实施方式中,可以将多幅图像进行图像合成,获得一幅图形码满足识别条件的图像作为目标图形码图像。In one embodiment, multiple images may be combined to obtain an image whose graphic code satisfies the recognition condition as the target graphic code image.
在另一种实施方式中,也可以是,以一幅图形码图像作为目标图形码图像,用其他图形码图像中的图形码替换目标图形码图像中不满足识别条件的部分。具体的,在该实施方式中,可以包括:In another embodiment, it is also possible to use a pattern code image as the target pattern code image, and replace parts of the target pattern code image that do not meet the recognition conditions with pattern codes in other pattern code images. Specifically, in this embodiment, it may include:
步骤S220:确定一幅图形码图像作为目标图形码图像,获取使所述目标图形码图像中图形码不满足识别条件的区域作为目标合成区域。Step S220: Determine a graphic code image as a target graphic code image, and obtain an area in the target graphic code image where the graphic code does not satisfy the recognition condition as a target composite area.
可以从获得的多幅图像中任意确定一幅图形码图像作为目标图形码图像;或者是,确定坏点面积最小的图像作为图形码图像;也可以是,以获取多幅图形码图像之前无法识别的二维码图像作为目标图形码图像,在本申请实施例中并不限定。Can arbitrarily determine a graphic code image as the target graphic code image from the multiple images obtained; or, determine the image with the smallest dead point area as the graphic code image; it can also be that it cannot be recognized before obtaining multiple graphic code images The two-dimensional code image of is used as the target graphic code image, which is not limited in this embodiment of the present application.
在目标图形码图像中,获取使该目标图形码图像中图形码不满足识别条件的区域作为目标合成区域。获取目标合成区域的具体方式在本申请实施例中并不限定,如通过边缘检测等图像处理方法实现。In the target graphic code image, the area where the graphic code does not satisfy the recognition condition in the target graphic code image is acquired as the target composite area. The specific manner of acquiring the target synthesis area is not limited in the embodiment of the present application, for example, it may be realized by an image processing method such as edge detection.
在本申请实施例中,可以是,目标合成区域中图形并非正确的图形码图形,从而使确定的图形码图像无法识别,当该目标合成区域对应的图形码为正确的图形码图形时,图形码可识别。In the embodiment of the present application, it may be that the graphics in the target synthesis area are not correct graphic code graphics, so that the determined graphic code image cannot be recognized. When the graphic code corresponding to the target synthesis area is a correct graphic code graphic, the graphics The code is identifiable.
其中,目标图形码图像中的目标合成区域可以是坏点的全部对应的区域,如图5所示的虚线部分;或者是部分坏点对应的区域,如图6所示的虚线部分。Wherein, the target composite area in the target graphic code image can be the area corresponding to all the bad pixels, as shown in the dotted line in FIG. 5 ; or the area corresponding to some of the bad pixels, as shown in the dotted line in FIG. 6 .
对于以部分坏点对应的区域作为目标合成区域,作为一种实施方式,若图形码图像中具有多个坏点,可以以其中一个或大于一个的坏点对应的区域作为目标合成区域。其中,坏点的个数可以是当这些坏点为正确的图形码图形时,图形码就可识别的个数。For the area corresponding to some bad pixels as the target synthesis area, as an implementation, if there are multiple bad pixels in the graphic code image, the area corresponding to one or more of the bad pixels may be used as the target synthesis area. Wherein, the number of dead pixels may be the number of identifiable numbers of pattern codes when these dead points are correct patterns of pattern codes.
对于以部分坏点对应的区域作为目标合成区域,作为另一种实施方式,若图形码图像中只有一个坏点,而该坏点中的部分若为正确的图形码图形时,图形码就可识别,则可以以该部分坏点对应的区域作为目标合成区域。As another kind of embodiment, if there is only one bad point in the pattern code image, and if the part in this bad point is correct pattern code pattern, the pattern code just can If identified, the area corresponding to this part of bad pixels can be used as the target synthesis area.
步骤S230:从其他图形码图像中获取与所述目标合成区域对应的、使所述目标图形码图像中的图形码满足识别条件的区域,作为目标图形码区域。Step S230: Acquiring an area corresponding to the target composite area from other image code images, where the image code in the target image code image satisfies the recognition condition, as the target image code area.
该其他图形码图像为获得的多幅图形码图像中,与确定的目标图形码图像不同的图形码图像。目标图形码区域可以是与目标合成区域在图形码中位置对应的区域。该目标图形码区域可以是与目标合成区域大小、形状、位置相同的区域,也可以是比目标合成区域面积更小、位置对应的区域。目标图形码区域中,包括正确的图形码图形,如全部为正确的图形码图形。可选的,目标图形码区域也可以是部分为正确的图形码图形的区域。当目标图形码区域中的图形码被替换到目标合成区域中时,目标图形码图像中的图形码可以被识别。The other graphic code image is a graphic code image different from the determined target graphic code image among the obtained multiple graphic code images. The target graphic code area may be an area corresponding to the position of the target composite area in the graphic code. The target graphic code area may be the same size, shape, and position as the target synthesis area, or may be a smaller area than the target synthesis area and a corresponding position. The target pattern code area includes correct pattern code patterns, such as all correct pattern code patterns. Optionally, the target graphic code area may also be an area that is partly a correct graphic code graphic. When the pattern code in the target pattern code region is replaced in the target composite region, the pattern code in the target pattern code image can be recognized.
具体的,本步骤可以包括:从其他图形码图像中分别获取与所述目标合成区域对应的区域。若某幅其他图形码图像对应目标合成区域的区域中无正确的图形码图形,则不能用来识别图形码,因此,判断各其他图形码图像中与所述目标合成区域对应的区域是否至少包括图形码的一部分。根据各判断结果为是的图形码图像,获取使所述目标图形码图像中图形码满足识别条件的区域。在本申请实施例中,判断各其他图形码图像中与所述目标合成区域对应的区域是否至少包括图形码的一部分可以是一个可选的步骤,也可以不进行判断,而是通过其他所有图形码图像获取使所述目标图形码图像中图形码满足识别条件的区域。Specifically, this step may include: separately acquiring regions corresponding to the target composition regions from other graphic code images. If there is no correct graphic code pattern in the area corresponding to the target synthesis area of some other graphic code images, it cannot be used to identify the graphic code. Therefore, it is judged whether the area corresponding to the target synthesis area in each other graphic code images includes at least part of the graphics code. According to each graphic code image whose judgment result is yes, the area where the graphic code in the target graphic code image satisfies the recognition condition is acquired. In the embodiment of the present application, it may be an optional step to judge whether the area corresponding to the target synthesis area in each other graphic code image includes at least a part of the graphic code, or it may not be judged, but all other graphics The code image acquires the area where the graphic code in the target graphic code image satisfies the recognition condition.
作为一种实施方式,若其他图形码图像中,存在一幅图像即可以获得使目标图形码图像中的图形码满足识别条件的区域,则可以直接从该幅图像中获取目标图形码区域。如图7中虚线所示区域替换到图5中目标合成区域后可以获得如图8所示的满足识别条件的图形码。As an implementation, if there is an image in other graphic code images that can obtain the area where the graphic code in the target graphic code image satisfies the recognition condition, then the target graphic code area can be directly obtained from the image. After the area shown by the dotted line in FIG. 7 is replaced with the target synthesis area in FIG. 5, the graphic code satisfying the recognition condition as shown in FIG. 8 can be obtained.
作为另一种实施方式,可以从其他图形码图像中的多幅中,分别获得目标图形码区域的一部分,每一部分为目标图形码区域的一个图形码子区域,不同的图形码子区域分别对应所述目标合成区域的不同区域。具体的,从其他图形码图像中的多幅中,分别确定与所述目标合成区域对应的区域,并判断各图像中的目标合成区域对应的区域是否至少包括图形码的一部分。从各判断结果为是的图形码图像与目标合成区域对应的区域中,分别获取所包括的图形码对应的不同的图形码子区域。再将各个图形码子区域合成为所述目标图形码区域。As another embodiment, a part of the target pattern code area can be respectively obtained from multiple images of other pattern code images, each part is a pattern code sub-area of the target pattern code area, and different pattern code sub-areas correspond to the Different regions of the target composite area. Specifically, from multiple images of other graphic code images, respectively determine the area corresponding to the target synthesis area, and judge whether the area corresponding to the target synthesis area in each image includes at least a part of the graphic code. Different graphic code sub-areas corresponding to the included graphic codes are respectively obtained from the area corresponding to the target composite area of the graphic code image whose determination result is yes. Then synthesize each graphic code sub-area into the target graphic code area.
以图9为例,图9所示的三幅图像作为获取目标图形码区域的其他图形码图像,图9中虚线所示的为与目标合成区域对应的区域。图9中前两幅对应目标合成区域的区域中存在图形码,而最后一幅中不存在,则从前两幅图像对应目标合成区域的区域中确定图形码子区域,如前两幅图像中虚线框中的图形码对应的区域,即虚线框中除与坏点A的交集以外的区域。将图9中前两幅图像中的图形码子区域合成获取目标图形码区域,如图10中虚线框中所示的目标图形码区域。Taking FIG. 9 as an example, the three images shown in FIG. 9 are used as other graphic code images for acquiring the target graphic code area, and the dotted line in FIG. 9 is the area corresponding to the target composite area. In Figure 9, there is a graphic code in the area corresponding to the target synthesis area in the first two images, but it does not exist in the last image, then the graphic code sub-area is determined from the area corresponding to the target synthesis area in the first two images, such as the dotted line box in the first two images The area corresponding to the graphic code in , that is, the area in the dashed box except the intersection with bad point A. Synthesize the graphic code sub-regions in the first two images in FIG. 9 to obtain the target graphic code area, such as the target graphic code area shown in the dotted line box in FIG. 10 .
可以理解的,在本申请实施例中,从其他图形码图像中获取目标图形码区域,具体获取方式并不限定。若从其他图形码图像中的多幅中,分别获得目标图形码区域的一部分,在每幅图像中获取的图形码子区域大小并不限定。每幅图像中图形码子区域可以是该图像中对应目标合成区域的区域中,所有图形码对应的区域,或者部分图形码对应的区域。It can be understood that, in the embodiment of the present application, the target graphic code area is acquired from other graphic code images, and the specific acquisition method is not limited. If a part of the target graphic code area is respectively obtained from multiple images of other graphic code images, the size of the sub-area of the graphic code obtained in each image is not limited. The graphic code sub-area in each image may be the area corresponding to the target synthesis area in the image, the area corresponding to all the graphic codes, or the area corresponding to part of the graphic codes.
可以理解的,若目标图形码图像中的目标合成区域是部分坏点对应的区域,在确定一个目标合成区域后,在其他图像中若无法得到满足条件的目标图形码区域,则可以重新确定对应坏点的不同部分作为目标合成区域。It can be understood that if the target composite area in the target graphic code image is the area corresponding to some bad pixels, after determining a target composite area, if the target graphic code area that meets the conditions cannot be obtained in other images, the corresponding area can be re-determined. Different parts of dead pixels serve as target synthesis regions.
步骤S240:用所述目标图形码区域替换所述目标合成区域,获得包括满足识别条件的图形码的目标图形码图像。Step S240: replacing the target composite area with the target graphic code area to obtain a target graphic code image including a graphic code satisfying the recognition condition.
将目标图形码区域替换目标合成区域,使目标图形码图像中图形码可识别。The target graphic code area is replaced with the target synthetic area, so that the graphic code in the target graphic code image can be recognized.
例如,根据图9所示获得的如图10所示的目标图形码区域,用于替换如图5所示的目标合成区域后,获得如图8所示的目标图形码图像。For example, after replacing the target composite area shown in FIG. 5 with the target graphic code area shown in FIG. 10 obtained as shown in FIG. 9 , the target graphic code image as shown in FIG. 8 is obtained.
另外,若目标图形码图像包括多个目标图形码子区域,也可以是用各个子区域分别替换目标合成区域中的对应区域。In addition, if the target pattern code image includes multiple target pattern code subregions, each subregion may be used to replace the corresponding region in the target composite region.
当然,可以理解的,如前所述,若图形码具有一定的容错率,即识别条件为,无法读取到的图形码信息占所述图形码总信息的比例低于所述图形码的容错率,以及所述图形码中可读取到的位置探测图形的数量大于预设数量,则在目标图形码区域替换所述目标合成区域后,目标图形码图像中也可能存在坏点,但是已经满足识别条件。如图6中虚线框表示的目标合成区域被替换后,获得还存在坏点A的目标图形码图像如图11所示。Of course, it can be understood that, as mentioned above, if the graphic code has a certain error tolerance rate, that is, the recognition condition is that the ratio of the graphic code information that cannot be read to the total information of the graphic code is lower than the fault tolerance of the graphic code rate, and the number of position detection patterns that can be read in the pattern code is greater than the preset number, after the target pattern code area replaces the target synthesis area, there may also be dead pixels in the target pattern code image, but the Meet the identification conditions. After the target composite area indicated by the dotted line box in FIG. 6 is replaced, the obtained target pattern code image with bad pixel A is shown in FIG. 11 .
步骤S250:对所述目标图形码图像进行图形码识别。Step S250: Perform pattern code recognition on the target pattern code image.
识别目标图形码图像中的图形码,获得该图形码所包含的内容。The graphic code in the target graphic code image is recognized, and the content contained in the graphic code is obtained.
可选的,获得的多幅图形码图像以及合成的目标图形码图像均可进行存储,如存储在缓存中,在识别成功后,可以将存储的图像删除。Optionally, the multiple obtained graphic code images and the synthesized target graphic code images can be stored, such as stored in a cache, and the stored images can be deleted after the recognition is successful.
本申请实施例提供的图形码识别方法,在获得的图形码不满足识别条件的情况下,获取多幅图形码图像。从一幅图像中确定坏点对应的、使图形码不满足识别条件的区域为目标合成区域,从其他图像中合成对应目标合成区域的目标图形码区域,该目标图形码区域中为正确的图形码图形。因此,通过该目标图形码区域替换目标合成区域,获得满足识别条件的图形码,提高图形码识别的成功率。In the pattern code recognition method provided in the embodiment of the present application, when the obtained pattern code does not satisfy the recognition condition, multiple pattern code images are acquired. Determine the region corresponding to the bad point and the pattern code does not meet the recognition conditions from an image as the target synthesis area, synthesize the target pattern code area corresponding to the target synthesis area from other images, and the target pattern code area is the correct pattern code graphics. Therefore, by replacing the target synthesis region with the target pattern code region, a pattern code meeting the recognition condition is obtained, and the success rate of pattern code recognition is improved.
第三实施例third embodiment
本申请实施例提供了一种图形码识别装置300,应用于移动终端。请参见图12,该装置300包括:图像获取模块310,用于获得图形码图像,当所获得的图形码图像中的图形码不满足识别条件时,获取多幅图形码图像。图像处理模块320,用于根据所述多幅图形码图像中的图形码,获取包括满足识别条件的图形码的目标图形码图像。图形码识别模块330,用于对所述目标图形码图像进行图形码识别。The embodiment of the present application provides a pattern code recognition device 300, which is applied to a mobile terminal. Please refer to FIG. 12 , the device 300 includes: an image acquisition module 310, configured to obtain a graphic code image, and acquire multiple graphic code images when the graphic code in the obtained graphic code image does not meet the recognition condition. The image processing module 320 is configured to acquire, according to the graphic codes in the plurality of graphic code images, a target graphic code image including a graphic code satisfying a recognition condition. A pattern code recognition module 330, configured to perform pattern code recognition on the target pattern code image.
可选的,图像处理模块320可以包括:第一区域获取单元,用于确定一幅图形码图像作为目标图形码图像,获取使所述目标图形码图像中图形码不满足识别条件的区域作为目标合成区域。第二区域获取单元,用于从其他图形码图像中获取与所述目标合成区域对应的、使所述目标图形码图像中的图形码满足识别条件的区域,作为目标图形码区域。替换单元,用于用所述目标图形码区域替换所述目标合成区域,获得包括满足识别条件的图形码的目标图形码图像。Optionally, the image processing module 320 may include: a first area acquisition unit, configured to determine a graphic code image as the target graphic code image, and acquire an area where the graphic code in the target graphic code image does not meet the recognition condition is used as the target Composite area. The second area acquisition unit is configured to acquire, from other graphic code images, an area corresponding to the target composite area, where the graphic code in the target graphic code image satisfies the recognition condition, as the target graphic code area. A replacement unit, configured to replace the target composite area with the target graphic code area to obtain a target graphic code image including a graphic code satisfying a recognition condition.
可选的,第二区域获取单元可以包括:第一区域获取子单元,用于从其他图形码图像中分别获取与所述目标合成区域对应的区域。判断子单元,用于判断各其他图形码图像中与所述目标合成区域对应的区域是否至少包括图形码的一部分。第二区域获取子单元,用于根据各判断结果为是的图形码图像,获取使所述目标图形码图像中图形码满足识别条件的区域。Optionally, the second area acquisition unit may include: a first area acquisition subunit, configured to respectively acquire areas corresponding to the target synthesis area from other graphic code images. A judging subunit, configured to judge whether the area corresponding to the target synthesis area in each of the other graphic code images includes at least a part of the graphic code. The second area acquisition subunit is used to acquire the area where the graphic code in the target graphic code image satisfies the recognition condition according to the graphic code images whose determination results are yes.
可选的,目标图形码区域可以包括多个图形码子区域,第二获取子单元可以从各判断结果为是的图形码图像与所述目标合成区域对应的区域中,分别获取所包括的图形码对应的不同的图形码子区域,不同的图形码子区域分别对应所述目标合成区域的不同区域;将各个图形码子区域合成为所述目标图形码区域。Optionally, the target graphic code area may include a plurality of graphic code sub-areas, and the second obtaining subunit may respectively acquire the included graphic codes from the areas corresponding to the target composite area of each graphic code image whose judgment result is yes Corresponding to different pattern code sub-regions, the different pattern code sub-regions respectively correspond to different regions of the target synthesis region; each pattern code sub-region is synthesized into the target pattern code region.
可选的,该装置300还可以包括提示模块340,用于显示对移动终端进行移动的提示信息;当检测到所述移动终端移动时,图像获取模块获取多幅图形码图像。Optionally, the apparatus 300 may further include a prompt module 340, configured to display prompt information for moving the mobile terminal; when detecting the movement of the mobile terminal, the image acquisition module acquires multiple graphic code images.
可选的,本申请实施例中还可以包括闪光灯判断模块,用于判断所述移动终端的闪光灯是否亮起。当判断结果为是,图像获取模块获取多幅图形码图像。Optionally, the embodiment of the present application may further include a flashlight judging module, configured to judge whether the flashlight of the mobile terminal is on. When the judging result is yes, the image acquisition module acquires multiple graphic code images.
本申请实施例提供的图形码识别方法及装置,在图形码无法识别的情况下,获取多幅图形码图像。由多幅图形码图像合成可识别的图形码图像。本申请实施例所提供的方案,对于图形码的承载物反光等因素导致单幅图形码图像上存在坏点,通过单幅图形码图像无法实现图形码识别的情况下,通过多幅图像合成图形码识别,提高图形码识别成功率。The graphic code recognition method and device provided in the embodiments of the present application acquire multiple graphic code images when the graphic code cannot be recognized. A recognizable graphic code image is synthesized from a plurality of graphic code images. In the solution provided by the embodiment of the present application, for factors such as the reflection of the graphic code on the carrier, there are bad spots on a single graphic code image, and when the graphic code recognition cannot be realized through a single graphic code image, the graphic is synthesized through multiple images Code recognition, improve the success rate of graphic code recognition.
第四实施例Fourth embodiment
请再次参阅图13,基于上述的图形码识别方法及装置,本申请实施例还提供一种移动终端100。如图13所示,该移动终端100包括存储器104及处理器102,所述存储器104耦接到所述处理器102,所述存储器104存储指令,当所述指令由所述处理器102执行时所述处理器102执行上述第一实施例以及第二实施例所述的方法。Please refer to FIG. 13 again. Based on the above-mentioned pattern code recognition method and device, the embodiment of the present application further provides a mobile terminal 100 . As shown in Figure 13, the mobile terminal 100 includes a memory 104 and a processor 102, the memory 104 is coupled to the processor 102, the memory 104 stores instructions, and when the instructions are executed by the processor 102 The processor 102 executes the methods described in the first embodiment and the second embodiment above.
具体的,如图14所示,该移动终端100可以包括电子本体部10,所述电子本体部10包括壳体12及设置在所述壳体12上的显示屏120。所述壳体12可采用金属、如钢材、铝合金制成。本实施例中,所述显示屏120通常包括显示面板111,也可包括用于响应对所述显示面板111进行触控操作的电路等。所述显示面板111可以为一个液晶显示面板(LiquidCrystal Display,LCD),在一些实施例中,所述显示面板111同时为一个触摸屏109。本实施例中网页内容可以是在该显示屏120显示。Specifically, as shown in FIG. 14 , the mobile terminal 100 may include an electronic body part 10 , and the electronic body part 10 includes a housing 12 and a display screen 120 disposed on the housing 12 . The housing 12 can be made of metal, such as steel or aluminum alloy. In this embodiment, the display screen 120 generally includes a display panel 111 , and may also include a circuit for responding to a touch operation on the display panel 111 . The display panel 111 may be a liquid crystal display panel (Liquid Crystal Display, LCD), and in some embodiments, the display panel 111 is also a touch screen 109 . In this embodiment, the webpage content may be displayed on the display screen 120 .
请同时参阅图15,在实际的应用场景中,所述移动终端100可作为智能手机终端进行使用,在这种情况下所述电子本体部10通常还包括一个或多个(图中仅示出一个)处理器102、存储器104、RF(Radio Frequency,射频)模块106、音频电路110、传感器114、输入模块118、电源模块122、摄像头等。本领域普通技术人员可以理解,图15所示的结构仅为示意,其并不对所述电子本体部10的结构造成限定。例如,所述电子本体部10还可包括比图15中所示更多或者更少的组件,或者具有与图15所示不同的对应。Please also refer to FIG. 15. In an actual application scenario, the mobile terminal 100 can be used as a smart phone terminal. In this case, the electronic main body 10 usually includes one or more (only shown in the figure) 1) A processor 102, a memory 104, an RF (Radio Frequency, radio frequency) module 106, an audio circuit 110, a sensor 114, an input module 118, a power module 122, a camera, and the like. Those skilled in the art can understand that the structure shown in FIG. 15 is only a schematic diagram, which does not limit the structure of the electronic body part 10 . For example, the electronic body part 10 may also include more or fewer components than those shown in FIG. 15 , or have a different correspondence from that shown in FIG. 15 .
本领域普通技术人员可以理解,相对于所述处理器102来说,所有其他的组件均属于外设,所述处理器102与这些外设之间通过多个外设接口124相耦合。所述外设接口124可基于以下标准实现:通用异步接收/发送装置(Universal Asynchronous Receiver/Transmitter,UART)、通用输入/输出(General Purpose Input Output,GPIO)、串行外设接口(Serial Peripheral Interface,SPI)、内部集成电路(Inter-Integrated Circuit,I2C),但不并限于上述标准。在一些实例中,所述外设接口124可仅包括总线;在另一些实例中,所述外设接口124还可包括其他元件,如一个或者多个控制器,例如用于连接所述显示面板111的显示控制器或者用于连接存储器的存储控制器。此外,这些控制器还可以从所述外设接口124中脱离出来,而集成于所述处理器102内或者相应的外设内。Those skilled in the art can understand that, relative to the processor 102 , all other components belong to peripherals, and the processor 102 is coupled to these peripherals through a plurality of peripheral interfaces 124 . The peripheral interface 124 can be implemented based on the following standards: Universal Asynchronous Receiver/Transmitter (UART), General Purpose Input Output (GPIO), Serial Peripheral Interface (Serial Peripheral Interface) , SPI), inter-integrated circuit (Inter-Integrated Circuit, I2C), but not limited to the above standards. In some examples, the peripheral interface 124 may only include a bus; in other examples, the peripheral interface 124 may also include other components, such as one or more controllers, for example for connecting the display panel 111 display controller or memory controller for connecting memory. In addition, these controllers can also be separated from the peripheral interface 124 and integrated in the processor 102 or corresponding peripherals.
所述存储器104可用于存储软件程序以及模块,所述处理器102通过运行存储在所述存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理。所述存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,所述存储器104可进一步包括相对于所述处理器102远程设置的存储器,这些远程存储器可以通过网络连接至所述电子本体部10或所述显示屏120。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104 . The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory that is remotely located relative to the processor 102 , and these remote memories may be connected to the electronic main body 10 or the display screen 120 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
所述RF模块106用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。所述RF模块106可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。所述RF模块106可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global System for MobileCommunication,GSM)、增强型移动通信技术(Enhanced Data GSMEnvironment,EDGE),宽带码分多址技术(wideband code divisionmultiple access,W-CDMA),码分多址技术(Code division access,CDMA)、时分多址技术(time division multiple access,TDMA),无线保真技术(Wireless,Fidelity,WiFi)(如美国电气和电子工程师协会标准IEEE 802.10A,IEEE802.11b,IEEE802.11g和/或IEEE802.11n)、网络电话(Voice over internetprotocal,VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access,Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。The RF module 106 is used to receive and send electromagnetic waves, realize mutual conversion between electromagnetic waves and electrical signals, and communicate with communication networks or other devices. The RF module 106 may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memory, etc. . The RF module 106 can communicate with various networks such as the Internet, intranet, wireless network or communicate with other devices through the wireless network. The wireless network mentioned above may include a cellular telephone network, a wireless local area network or a metropolitan area network. The above-mentioned wireless network can use various communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (Global System for Mobile Communication, GSM), Enhanced Data GSM Environment (EDGE), broadband code division multiple Access technology (wideband code division multiple access, W-CDMA), code division multiple access technology (Code division access, CDMA), time division multiple access technology (time division multiple access, TDMA), wireless fidelity technology (Wireless, Fidelity, WiFi) (such as IEEE 802.10A, IEEE802.11b, IEEE802.11g and/or IEEE802.11n), VoIP (Voice over internetprotocal, VoIP), Worldwide Interoperability for Microwave Access, Wi-Max), other protocols for email, instant messaging, and short messaging, and any other suitable communication protocol, even those that have not yet been developed.
音频电路110、扬声器101、传声器103、麦克风105共同提供用户与所述电子本体部10或所述显示屏120之间的音频接口。The audio circuit 110 , the speaker 101 , the microphone 103 , and the microphone 105 jointly provide an audio interface between the user and the electronic main body 10 or the display screen 120 .
所述传感器114设置在所述电子本体部10内或所述显示屏120内,所述传感器114的实例包括但并不限于:加速度传感器114F、陀螺仪114G、磁力计114H以及其他传感器。The sensor 114 is disposed in the electronic main body 10 or the display screen 120 , examples of the sensor 114 include but not limited to: an acceleration sensor 114F, a gyroscope 114G, a magnetometer 114H and other sensors.
本实施例中,所述输入模块118可包括设置在所述显示屏120上的所述触摸屏109,所述触摸屏109可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在所述触摸屏109上或在所述触摸屏109附近的操作),从而可以获得用户的触摸手势,并根据预先设定的程序驱动相应的连接装置,因此,用户可以通过在显示屏的触控操作选定目标区域。可选的,所述触摸屏109可包括触摸检测装置和触摸控制器。其中,所述触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给所述触摸控制器;所述触摸控制器从所述触摸检测装置上接收触摸信息,并将该触摸信息转换成触点坐标,再送给所述处理器102,并能接收所述处理器102发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现所述触摸屏109的触摸检测功能。除了所述触摸屏109,在其它变更实施方式中,所述输入模块118还可以包括其他输入设备,如按键107。所述按键107例如可包括用于输入字符的字符按键,以及用于触发控制功能的控制按键。所述控制按键的实例包括“返回主屏”按键、开机/关机按键等等。In this embodiment, the input module 118 may include the touch screen 109 arranged on the display screen 120, and the touch screen 109 may collect touch operations of the user on or near it (for example, the user uses a finger, a stylus, etc. Any suitable object or accessory on the touch screen 109 or near the touch screen 109), so that the user's touch gesture can be obtained, and the corresponding connection device can be driven according to the preset program. Therefore, the user can The touch operation of the display screen selects the target area. Optionally, the touch screen 109 may include a touch detection device and a touch controller. Wherein, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, and The touch information is converted into touch point coordinates, and then sent to the processor 102, and can receive and execute commands sent by the processor 102. In addition, the touch detection function of the touch screen 109 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch screen 109 , in other modified implementation manners, the input module 118 may also include other input devices, such as keys 107 . The keys 107 may include, for example, character keys for inputting characters, and control keys for triggering control functions. Examples of the control buttons include a "return to main screen" button, a power on/off button, and the like.
所述显示屏120用于显示由用户输入的信息、提供给用户的信息以及所述电子本体部10的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、数字、视频和其任意组合来构成。在一个实例中,所述触摸屏109可设置于所述显示面板111上从而与所述显示面板111构成一个整体。The display screen 120 is used to display information input by the user, information provided to the user, and various graphical user interfaces of the electronic main body 10. These graphical user interfaces can be composed of graphics, text, icons, numbers, videos and other any combination to form. In one example, the touch screen 109 can be disposed on the display panel 111 so as to form an integral body with the display panel 111 .
所述电源模块122用于向所述处理器102以及其他各组件提供电力供应。具体地,所述电源模块122可包括电源管理系统、一个或多个电源(如电池或者交流电)、充电电路、电源失效检测电路、逆变器、电源状态指示灯以及其他任意与所述电子本体部10或所述显示屏120内电力的生成、管理及分布相关的组件。The power module 122 is used to provide power supply to the processor 102 and other components. Specifically, the power module 122 may include a power management system, one or more power sources (such as batteries or alternating current), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components related to the electronic body. Components related to the generation, management and distribution of power in the unit 10 or the display screen 120 .
所述移动终端100还包括定位器119,所述定位器119用于确定所述移动终端100所处的实际位置。本实施例中,所述定位器119采用定位服务来实现所述移动终端100的定位,所述定位服务,应当理解为通过特定的定位技术来获取所述移动终端100的位置信息(如经纬度坐标),在电子地图上标出被定位对象的位置的技术或服务。The mobile terminal 100 further includes a locator 119, and the locator 119 is used to determine the actual location of the mobile terminal 100. In this embodiment, the locator 119 uses a positioning service to realize the positioning of the mobile terminal 100. The positioning service should be understood as obtaining the position information (such as longitude and latitude coordinates) of the mobile terminal 100 through a specific positioning technology. ), a technology or service that marks the position of a positioned object on an electronic map.
应当理解的是,上述的移动终端100并不局限于智能手机终端,其应当指可以在移动中使用的计算机设备。具体而言,移动终端100,是指搭载了智能操作系统的移动计算机设备,移动终端100包括但不限于智能手机、智能手表、平板电脑,等等。It should be understood that the above-mentioned mobile terminal 100 is not limited to a smart phone terminal, but refers to a computer device that can be used on the move. Specifically, the mobile terminal 100 refers to a mobile computer device equipped with an intelligent operating system, and the mobile terminal 100 includes but is not limited to a smart phone, a smart watch, a tablet computer, and the like.
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置类实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。对于方法实施例中的所描述的任意的处理方式,在装置实施例中均可以通过相应的处理模块实现,装置实施例中不再一一赘述。It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. For the same and similar parts in each embodiment, refer to each other, that is, Can. As for the device-type embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to part of the description of the method embodiments. Any of the processing methods described in the method embodiments can be implemented by corresponding processing modules in the device embodiments, and details will not be repeated in the device embodiments.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the present application includes additional implementations in which functions may be performed out of the order shown or discussed, including in substantially simultaneous fashion or in reverse order depending on the functions involved, which shall It should be understood by those skilled in the art to which the embodiments of the present application belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(移动终端),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium, For use with instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from instruction execution systems, devices, or devices and execute instructions), or in conjunction with these instruction execution systems, devices or equipment used. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device or device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connection with one or more wires (mobile terminal), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be read, for example, by optically scanning the paper or other medium, followed by editing, interpretation or other suitable processing if necessary. The program is processed electronically and stored in computer memory.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the present application may be realized by hardware, software, firmware or a combination thereof. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included. In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present application, and those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not drive the essence of the corresponding technical solutions away from the spirit and scope of the technical solutions of the various embodiments of the present application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810195469.3A CN108563972B (en) | 2018-03-09 | 2018-03-09 | Graphic code identification method and device, mobile terminal and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810195469.3A CN108563972B (en) | 2018-03-09 | 2018-03-09 | Graphic code identification method and device, mobile terminal and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108563972A true CN108563972A (en) | 2018-09-21 |
| CN108563972B CN108563972B (en) | 2021-11-16 |
Family
ID=63532526
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810195469.3A Expired - Fee Related CN108563972B (en) | 2018-03-09 | 2018-03-09 | Graphic code identification method and device, mobile terminal and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108563972B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109409161A (en) * | 2018-10-22 | 2019-03-01 | 腾讯科技(深圳)有限公司 | Graphic code recognition methods, device, terminal and storage medium |
| CN110175488A (en) * | 2019-05-29 | 2019-08-27 | 北京慧眼智行科技有限公司 | A kind of yard of figure detection method and device |
| CN112749769A (en) * | 2020-08-19 | 2021-05-04 | 腾讯科技(深圳)有限公司 | Graphic code detection method and device, computer equipment and storage medium |
| CN113222585A (en) * | 2021-05-27 | 2021-08-06 | 福建博思软件股份有限公司 | Offline payment method, digital currency round code generation method and terminal |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101031930A (en) * | 2004-08-31 | 2007-09-05 | 讯宝科技公司 | Scanner and method for eliminating specular reflection |
| EP2210211A1 (en) * | 2007-11-13 | 2010-07-28 | Cognex Corporation | System and method for reading patterns using multiple image frames |
| CN106156684A (en) * | 2016-06-30 | 2016-11-23 | 南京理工大学 | A two-dimensional code recognition method and device |
| CN106156686A (en) * | 2016-07-29 | 2016-11-23 | 广东欧珀移动通信有限公司 | Two-dimensional code identification method, device and electronic equipment |
| CN106778879A (en) * | 2015-09-23 | 2017-05-31 | 英特美克技术公司 | Evaluation image |
| CN107220578A (en) * | 2017-05-31 | 2017-09-29 | 维沃移动通信有限公司 | A kind of two-dimensional code scanning recognition methods, device, mobile terminal and storage medium |
| CN107480570A (en) * | 2017-06-29 | 2017-12-15 | 青岛海信移动通信技术股份有限公司 | A kind of safe class method of adjustment and scanning device |
| CN107992780A (en) * | 2017-10-31 | 2018-05-04 | 维沃移动通信有限公司 | A kind of code recognition method and mobile terminal |
-
2018
- 2018-03-09 CN CN201810195469.3A patent/CN108563972B/en not_active Expired - Fee Related
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101031930A (en) * | 2004-08-31 | 2007-09-05 | 讯宝科技公司 | Scanner and method for eliminating specular reflection |
| EP2210211A1 (en) * | 2007-11-13 | 2010-07-28 | Cognex Corporation | System and method for reading patterns using multiple image frames |
| CN106778879A (en) * | 2015-09-23 | 2017-05-31 | 英特美克技术公司 | Evaluation image |
| CN106156684A (en) * | 2016-06-30 | 2016-11-23 | 南京理工大学 | A two-dimensional code recognition method and device |
| CN106156686A (en) * | 2016-07-29 | 2016-11-23 | 广东欧珀移动通信有限公司 | Two-dimensional code identification method, device and electronic equipment |
| CN107220578A (en) * | 2017-05-31 | 2017-09-29 | 维沃移动通信有限公司 | A kind of two-dimensional code scanning recognition methods, device, mobile terminal and storage medium |
| CN107480570A (en) * | 2017-06-29 | 2017-12-15 | 青岛海信移动通信技术股份有限公司 | A kind of safe class method of adjustment and scanning device |
| CN107992780A (en) * | 2017-10-31 | 2018-05-04 | 维沃移动通信有限公司 | A kind of code recognition method and mobile terminal |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109409161A (en) * | 2018-10-22 | 2019-03-01 | 腾讯科技(深圳)有限公司 | Graphic code recognition methods, device, terminal and storage medium |
| WO2020083029A1 (en) * | 2018-10-22 | 2020-04-30 | 腾讯科技(深圳)有限公司 | Graphic code recognition method and apparatus, and terminal, and storage medium |
| CN109409161B (en) * | 2018-10-22 | 2020-08-11 | 腾讯科技(深圳)有限公司 | Graphic code identification method, device, terminal and storage medium |
| US11200395B2 (en) | 2018-10-22 | 2021-12-14 | Tencent Technology (Shenzhen) Company Limited | Graphic code recognition method and apparatus, terminal, and storage medium |
| CN110175488A (en) * | 2019-05-29 | 2019-08-27 | 北京慧眼智行科技有限公司 | A kind of yard of figure detection method and device |
| CN112749769A (en) * | 2020-08-19 | 2021-05-04 | 腾讯科技(深圳)有限公司 | Graphic code detection method and device, computer equipment and storage medium |
| CN113222585A (en) * | 2021-05-27 | 2021-08-06 | 福建博思软件股份有限公司 | Offline payment method, digital currency round code generation method and terminal |
| CN113222585B (en) * | 2021-05-27 | 2022-07-12 | 福建博思软件股份有限公司 | Offline payment method, digital currency round code generation method and terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108563972B (en) | 2021-11-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11237703B2 (en) | Method for user-operation mode selection and terminals | |
| US9971562B2 (en) | Apparatus and method for representing an image in a portable terminal | |
| CN109002759A (en) | Text recognition method and device, mobile terminal and storage medium | |
| CN108710456B (en) | Application icon processing method, device and mobile terminal | |
| CN115525383B (en) | Wallpaper display method, device, mobile terminal and storage medium | |
| CN108958576B (en) | Content identification method and device and mobile terminal | |
| CN108563972A (en) | Graphic code recognition methods, device, mobile terminal and storage medium | |
| CN108712602A (en) | Camera control method and device, mobile terminal and storage medium | |
| CN110221882B (en) | Display method, display device, mobile terminal and storage medium | |
| CN108646959A (en) | Screen control method, device and mobile terminal | |
| CN108958634A (en) | Express delivery information acquisition method, device, mobile terminal and storage medium | |
| CN108650335A (en) | Method, device and testing equipment for communication connection with mobile terminal to be tested | |
| CN108536380A (en) | Screen control method and device and mobile terminal | |
| CN108540718A (en) | Shooting method and device, mobile terminal and storage medium | |
| CN108932102A (en) | Data processing method and device and mobile terminal | |
| CN108764051A (en) | Image processing method and device and mobile terminal | |
| WO2019201109A1 (en) | Word processing method and apparatus, and mobile terminal and storage medium | |
| CN108769299A (en) | Screen control method, device and mobile terminal | |
| CN109032491A (en) | Data processing method, device and mobile terminal | |
| CN108512997A (en) | Display method, display device, mobile terminal and storage medium | |
| CN108924908A (en) | WiFi scanning method and device and electronic device | |
| CN108646967A (en) | display switching method, device, mobile terminal and storage medium | |
| US10963121B2 (en) | Information display method, apparatus and mobile terminal | |
| CN108803972B (en) | Information display method, device, mobile terminal and storage medium | |
| CN110362699B (en) | Picture searching method and device, mobile terminal and computer readable medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| CB02 | Change of applicant information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20211116 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |