CN107844730B - Graphic code scanning method and mobile terminal - Google Patents

Graphic code scanning method and mobile terminal Download PDF

Info

Publication number
CN107844730B
CN107844730B CN201711086591.9A CN201711086591A CN107844730B CN 107844730 B CN107844730 B CN 107844730B CN 201711086591 A CN201711086591 A CN 201711086591A CN 107844730 B CN107844730 B CN 107844730B
Authority
CN
China
Prior art keywords
brightness
graphic code
flash lamp
scanning
target graphic
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.)
Active
Application number
CN201711086591.9A
Other languages
Chinese (zh)
Other versions
CN107844730A (en
Inventor
闫伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711086591.9A priority Critical patent/CN107844730B/en
Publication of CN107844730A publication Critical patent/CN107844730A/en
Application granted granted Critical
Publication of CN107844730B publication Critical patent/CN107844730B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods 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/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods 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/1404Methods for optical code recognition
    • G06K7/146Methods for optical code recognition the method including quality enhancement steps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Artificial Intelligence (AREA)
  • Toxicology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a graphic code scanning method and a mobile terminal, wherein the scanning method is applied to the mobile terminal, and the mobile terminal is provided with a flash lamp, wherein the method comprises the following steps: firstly, starting a flash lamp and scanning a target graphic code; and then, when the scanning fails, adjusting the brightness of the flash lamp according to the scanning result of the target graphic code, and continuously scanning the target graphic code. The embodiment of the invention can automatically adjust the luminous brightness of the flash lamp in the graphic code scanning process, thereby improving the graphic code scanning efficiency and the graphic code scanning success rate.

Description

Graphic code scanning method and mobile terminal
Technical Field
The invention relates to the field of graphic code scanning, in particular to a graphic code scanning method and a mobile terminal.
Background
At present, graphic codes (such as two-dimensional codes) play more and more roles in daily life of people, for example, with the rapid popularization of scanning payment, code scanning payment is completely integrated into the daily life of people, and from large department stores to roadside stalls, the two-dimensional codes are widely applied to various payment scenes, and the payment scenes are continuously increased; if the sharing bicycle is popularized rapidly, the sharing bicycle brings great convenience to daily travel of people, and the code scanning unlocking is gradually integrated with daily life of people.
At present, with the increasing application scenes of graphic codes (such as two-dimensional codes), the situation of using a mobile terminal to scan codes is more and more, the two-dimensional codes are often required to be scanned at night or under the condition of dark light, at this time, code scanning failure may be caused by too low brightness, although brightness can be increased by manually turning on a flash lamp of the mobile terminal, the situation of code scanning failure caused by too high brightness often occurs.
Therefore, in the related art, the problem of high failure rate of graphic code identification exists in the graphic code scanning process, and the user experience is reduced.
Disclosure of Invention
The embodiment of the invention aims to provide a graphic code scanning method and a mobile terminal, so as to solve the problem of high failure rate of graphic code identification in the graphic code scanning process in the prior art.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a graphic code scanning method, which is applied to a mobile terminal, where the mobile terminal has a flash lamp, and the method includes:
starting the flash lamp, and scanning a target graphic code;
and when the scanning fails, adjusting the brightness of the flash lamp according to the scanning result of the target graphic code, and continuously scanning the target graphic code.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal has a flash, and the mobile terminal includes:
the flash lamp starting module is used for starting the flash lamp and scanning the target graphic code;
and the flash lamp brightness adjusting module is used for adjusting the brightness of the flash lamp according to the scanning result of the target graphic code when the scanning fails, and continuously scanning the target graphic code.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the graphic code scanning method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the graphic code scanning method according to the first aspect.
According to the graphic code scanning method and the mobile terminal in the embodiment of the invention, firstly, a flash lamp is started to scan a target graphic code; and then, when the scanning fails, adjusting the brightness of the flash lamp according to the scanning result of the target graphic code, and continuously scanning the target graphic code. The embodiment of the invention can automatically adjust the luminous brightness of the flash lamp in the graphic code scanning process, thereby improving the graphic code scanning efficiency and the graphic code scanning success rate.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a graphic code scanning method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a second method for scanning a graphic code according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a graphic code scanning method according to an embodiment of the present invention;
fig. 4 is a fourth flowchart illustrating a graphic code scanning method according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a first module composition of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a graphic code scanning method and a mobile terminal, which can realize automatic adjustment of the luminous brightness of a flash lamp in the graphic code scanning process, thereby improving the graphic code scanning efficiency and the graphic code scanning success rate.
Fig. 1 is a schematic flow chart of a graphic code scanning method according to an embodiment of the present invention, and as shown in fig. 1, the method at least includes the following steps:
s101, starting a flash lamp of the mobile terminal;
s102, scanning the target graphic code; the target graphic code can be a two-dimensional code or other types of graphic codes;
s103, judging whether the target graphic code scanning is successful;
if not, S104 is executed, the brightness of the flash lamp is adjusted according to the scanning result of the target graphic code, and S102 is continuously executed.
Specifically, whether code scanning is successful or not is judged after the target graphic code scanning is finished each time, when the scanning is failed, the brightness of the flash lamp is automatically adjusted, and the target graphic code is scanned again based on the adjusted brightness until the scanning is determined to be successful.
In the graphic code scanning process, the embodiment of the invention can realize automatic adjustment of the luminous brightness of the flash lamp, thereby improving the graphic code scanning efficiency and the graphic code scanning success rate.
In order to ensure the success rate of the first scanning, before the flash lamp is turned on, the current background brightness of the target graphic code and the brightness target value required by scanning are combined to determine the turning-on brightness of the flash lamp, and then the flash lamp is controlled to be turned on at the brightness, and further, the target graphic code is scanned under the brightness of the flash lamp, based on which, as shown in fig. 2, the S101 turning on the flash lamp of the mobile terminal specifically includes:
s1011, determining the current background brightness and determining a brightness target value required by scanning;
s1012, judging whether the current background brightness is smaller than the brightness target value;
if yes, executing S1013, and determining the brightness of the flash lamp according to the brightness target value and the current background brightness;
and S1014, controlling the flash lamp to be turned on based on the determined brightness.
The brightness target value is the total brightness required for successfully predicting code scanning, and if the current background brightness is less than the brightness target value, it indicates that the current background brightness cannot meet the brightness requirement of the current code scanning, so that a flash lamp needs to be turned on to supplement light.
The light-emitting brightness adjusting mode of the flash lamp is as follows: the light supplement brightness can be rounded off by step adjustment for adjusting the quantity of the flash lamps; or stepless regulation for regulating voltage and current of flash lamp; the light polarization mode of the camera and the flash lamp can be adjusted or the flash lamp is partially shielded; and the adjustment of the aperture of the flash lamp can be realized.
Further, considering the situation that code scanning fails due to the fact that the preliminarily determined fill-in luminance is not accurate enough or a light reflection problem exists, specifically, the possible reason of code scanning failure is analyzed first to determine whether the fill-in luminance of the flash lamp needs to be reduced or the fill-in luminance of the flash lamp needs to be increased, determine the luminance adjustment amount of the flash lamp, and then adaptively adjust the fill-in luminance of the flash lamp based on the determined luminance adjustment amount, wherein two reasons for code scanning failure are possible, namely, the fill-in luminance of the flash lamp needs to be reduced due to too many light reflection points in the graphic code; another is that, because the background brightness is too dark, the fill-in luminance of the flash lamp needs to be increased at this time, and based on this, as shown in fig. 3, the step S104 of adjusting the luminance of the flash lamp according to the scanning result of the target pattern code specifically includes:
s1041, judging whether the area ratio of the reflective dots on the target graphic code is larger than a first preset threshold value;
if so, executing S1042, determining the brightness reduction amount of the flash lamp according to the attribute information of the target graphic code and the area ratio of the reflective dot, and adjusting the brightness of the flash lamp according to the brightness reduction amount; at this time, it is explained that there may be a plurality of reflective points on the target graphic code, and the graphic code identification fails due to severe reflection, or prompt information is generated to remind the user to adjust the code scanning angle.
If not, executing S1043, determining the brightness increment of the flash lamp according to the attribute information of the target graphic code, and adjusting the brightness of the flash lamp according to the brightness increment; at this time, the description may be too dark due to the background brightness, and the graphic code recognition may fail due to insufficient code scanning brightness.
In the embodiment of the invention, whether code scanning fails due to excessive reflection points in the graphic code is judged by analyzing the area ratio of the reflection points on the target graphic code, otherwise, the code scanning fails due to excessively dark background brightness.
Specifically, the determination process of the area ratio of the reflective points on the target graphic code specifically comprises the following steps:
carrying out binarization processing on the target graphic code to obtain an image after binarization processing;
determining an area with irregular high-brightness points in the image after binarization processing by using an image identification technology;
and determining the area ratio of the reflective dots on the target graphic code according to the determined regions with irregular high-brightness dots.
Further, considering that there may be a case that the original white point in the graphic code is wrongly judged as an irregular high-brightness point, it is determined whether the position change of the high-brightness point meets a preset condition (i.e., a preset two-dimensional code white point change rule) when the position posture of the mobile terminal changes, in response to detecting that the scanning angle changes; and if not, updating the area ratio of the reflective dots on the target graphic code based on the determined high-brightness dots meeting the preset conditions.
The process of determining the brightness reduction amount of the flash lamp aiming at determining the condition that code scanning fails due to excessive light reflecting points in the graphic code specifically comprises the following steps:
the brightness reduction amount of the flash lamp is determined according to the attribute information of the target graphic code and the area ratio of the light reflection points, wherein the attribute information of the target graphic code represents the application program to which the graphic code belongs, and the light reflection programs are different due to different materials of the graphic codes corresponding to different application programs, for example, the two-dimensional codes arranged on the shared bicycle and the payment two-dimensional codes used by the payment pal have certain difference in light reflection degree, so that the attribute information of the target graphic code is used as one of the reference factors for determining the brightness reduction amount of the flash lamp, and the light supplement brightness adjustment process of the flash lamp is more targeted.
In specific implementation, the corresponding relationship between the attribute information of the target graphic code, the area ratio of the reflective dots, and the brightness reduction amount may be pre-established, and then, based on the currently determined attribute information of the target graphic code and the area ratio of the reflective dots, the brightness reduction amount of the corresponding flash lamp is determined by querying the corresponding relationship.
(2) The process of determining the brightness increase amount of the flash lamp is specific to the situation that code scanning fails due to the fact that the background brightness is too dark:
and determining the brightness increase of the flash lamp according to the attribute information of the target graphic code, wherein the attribute information of the target graphic code is the same as the above, and the attribute information of the target graphic code is used as one of the reference factors for determining the brightness increase of the flash lamp, so that the method has more pertinence in the process of adjusting the fill-in brightness of the flash lamp.
In specific implementation, the corresponding relationship between the attribute information and the brightness increase amount of the target graphic code may also be pre-established, and then, based on the currently determined attribute information of the target graphic code, the brightness increase amount of the corresponding flash lamp is determined by querying the corresponding relationship.
In this case, the current background brightness may be a current ambient brightness, but considering that there may be a certain deviation between an actual reflection brightness of the graphic code and a detected current ambient brightness due to a target graphic code being in a bright position or a dark position, and further making the determined fill-in brightness have low accuracy, in order to improve the accuracy of the preliminarily determined fill-in brightness, in an embodiment of the present invention, the fill-in brightness is determined together according to the current ambient brightness and the actual image brightness, and based on this, as shown in fig. 4, the determining the current background brightness in S1011 specifically includes:
acquiring the current environment brightness, and determining the actual image brightness of the target graphic code; and determining the current background brightness according to the current environment brightness and the actual image brightness.
When code scanning is started, the target graphic code may not be positioned at this time, the ambient brightness in the current environment is taken as the current background brightness to determine the light supplement brightness of the flash lamp, after the target graphic code is positioned, the light supplement brightness of the flash lamp is determined according to the current ambient brightness and the actual image brightness, the light supplement brightness of the flash lamp is further controlled to reach the light supplement brightness, and the target graphic code is scanned.
Specifically, the process of determining the actual image brightness of the target graphic code specifically includes:
step one, performing HSL color space conversion on an effective image part in a scanned image to obtain brightness component values of all pixel points in the effective image part; in consideration of the fact that a plane image which is far away from a plane where a target graphic code is located may exist in a scanned image and the partial image does not have a reference value, for example, in the process of scanning and unlocking a two-dimensional code on a shared bicycle by using a mobile terminal, a ground image or images at other positions of the bicycle may exist in the acquired scanned image, and the partial image is far away from the plane where the two-dimensional code image is located and may affect the accuracy of the determined actual image brightness, therefore, the scanned image needs to be preprocessed first, and an effective image part in the scanned image is extracted by adopting a contour detection method.
Determining weighted average brightness of the scanned image according to the brightness component values of the pixel points; specifically, the weight coefficient selected in the process of determining the weighted average brightness of the scanned image by using the weighted average method can be set according to actual conditions, and in the specific implementation, as the center position of the graphic code is required to be aligned in the code scanning process, the weight coefficient can be gradually reduced according to the sequence from near to far from the center position of the graphic code, namely the weight coefficient corresponding to the pixel point at the center position of the graphic code is the largest.
And step three, taking the weighted average brightness as the actual image brightness of the target graphic code.
Specifically, the process of determining the current background brightness according to the current environment brightness and the actual image brightness specifically includes:
judging whether the brightness difference value between the current environment brightness and the actual image brightness is larger than a second preset threshold value or not;
if the difference between the determined current environment brightness and the actual image brightness of the target image code is larger than the preset threshold value, taking the actual image brightness as the current background brightness, namely taking the determined actual image brightness as the standard;
and if not, taking the weighted average value of the current environment brightness and the actual image brightness as the current background brightness.
Further, in the process of determining the brightness of the flash, considering that there may be a minimum brightness after the flash is turned on, that is, the brightness of the flash is not started from 0, and there also exists a maximum brightness after the flash is turned on, that is, the brightness of the flash is not tunable to infinity, in order to improve the accuracy of the determined brightness of the flash, based on this, the determining the brightness of the flash according to the brightness target value and the current background brightness in the above S1013 specifically includes:
calculating the brightness of the flash lamp according to the brightness target value, the current background brightness and the following formula;
Figure BDA0001460236620000071
wherein, Y represents the brightness target value corresponding to the target graphic code, N represents the current background brightness, SmaxRepresents the maximum light emission brightness, S, of the flash lampminIndicating the minimum light emission brightness of the flash lamp.
Specifically, the process of determining the brightness target value corresponding to the target graphic code is as follows: and determining the brightness target value corresponding to the target graphic code according to the corresponding relation between the attribute information of the target graphic code and the preset attribute information and brightness target value of the target graphic code.
The graphic code scanning method in the embodiment of the invention comprises the following steps of firstly, starting a flash lamp to scan a target graphic code; and then, when the scanning fails, adjusting the brightness of the flash lamp according to the scanning result of the target graphic code, and continuously scanning the target graphic code. In the graphic code scanning process, the embodiment of the invention can realize automatic adjustment of the luminous brightness of the flash lamp, thereby improving the graphic code scanning efficiency and the graphic code scanning success rate.
Corresponding to the graphic code scanning method provided in the foregoing embodiment, based on the same technical concept, an embodiment of the present invention further provides a mobile terminal, and fig. 5 is a schematic diagram illustrating a first module of the mobile terminal according to the embodiment of the present invention, where the mobile terminal is configured to execute the graphic code scanning method described in fig. 1 to 4, and as shown in fig. 5, the mobile terminal includes:
a flash lamp starting module 501, configured to start the flash lamp and scan a target graphic code;
and a flash lamp brightness adjusting module 502, configured to adjust the brightness of the flash lamp according to the scanning result of the target graphic code when the scanning fails, and continue to scan the target graphic code.
Optionally, the flash brightness adjusting module 502 is specifically configured to:
judging whether the area ratio of the reflective points on the target graphic code is greater than a first preset threshold value or not;
if so, determining the brightness reduction amount of the flash lamp according to the attribute information of the target graphic code and the area ratio of the light reflecting points, and adjusting the brightness of the flash lamp according to the brightness reduction amount;
if not, determining the brightness increment of the flash lamp according to the attribute information of the target graphic code, and adjusting the brightness of the flash lamp according to the brightness increment.
Optionally, the flash starting module 501 is specifically configured to:
determining the current background brightness and a brightness target value required by scanning;
if the current background brightness is smaller than the brightness target value, determining the brightness of the flash lamp according to the brightness target value and the current background brightness;
and controlling the flash lamp to be started based on the determined brightness, and scanning the target graphic code.
Optionally, the flash starting module 501 is further specifically configured to:
acquiring the current environment brightness and determining the actual image brightness of the target graphic code;
and determining the current background brightness according to the current environment brightness and the actual image brightness.
Optionally, the flash starting module 501 is further specifically configured to:
performing HSL color space conversion on an effective image part in a scanned image to obtain brightness component values of all pixel points in the effective image part;
determining the weighted average brightness of the scanned image according to the brightness component values of the pixel points;
and taking the weighted average brightness as the actual image brightness of the target graphic code.
Optionally, the flash starting module 501 is further specifically configured to:
judging whether the brightness difference value between the current environment brightness and the actual image brightness is larger than a second preset threshold value or not;
if so, taking the actual image brightness as the current background brightness;
and if not, taking the weighted average value of the current environment brightness and the actual image brightness as the current background brightness.
The mobile terminal in the embodiment of the invention firstly starts a flash lamp and scans a target graphic code; and then, when the scanning fails, adjusting the brightness of the flash lamp according to the scanning result of the target graphic code, and continuously scanning the target graphic code. In the graphic code scanning process, the embodiment of the invention can realize automatic adjustment of the luminous brightness of the flash lamp, thereby improving the graphic code scanning efficiency and the graphic code scanning success rate.
The mobile terminal provided by the embodiment of the invention can realize each process in the embodiment corresponding to the graphic code scanning method, and is not repeated here to avoid repetition.
Corresponding to the graphic code scanning method provided in the foregoing embodiment, based on the same technical concept, an embodiment of the present invention further provides a mobile terminal, where the device is configured to execute the foregoing graphic code scanning method, fig. 6 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, and the mobile terminal 100 shown in fig. 6 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to turn on the flash lamp, and scan a target graphic code;
and when the scanning fails, adjusting the brightness of the flash lamp according to the scanning result of the target graphic code, and continuously scanning the target graphic code.
In this embodiment of the present invention, the mobile terminal 100 further includes: a computer program stored on the memory 109 and executable on the processor 110, the computer program when executed by the processor 110 implementing the steps of:
starting the flash lamp, and scanning a target graphic code;
and when the scanning fails, adjusting the brightness of the flash lamp according to the scanning result of the target graphic code, and continuously scanning the target graphic code.
Optionally, the computer program when executed by the processor 110 may further implement the steps of:
the adjusting the brightness of the flash lamp according to the scanning result of the target graphic code comprises:
judging whether the area ratio of the reflective points on the target graphic code is greater than a first preset threshold value or not;
if so, determining the brightness reduction amount of the flash lamp according to the attribute information of the target graphic code and the area ratio of the light reflecting points, and adjusting the brightness of the flash lamp according to the brightness reduction amount;
if not, determining the brightness increment of the flash lamp according to the attribute information of the target graphic code, and adjusting the brightness of the flash lamp according to the brightness increment.
Optionally, the computer program when executed by the processor 110 may further implement the steps of:
the starting of the flash lamp to scan the target graphic code comprises the following steps:
determining the current background brightness and a brightness target value required by scanning;
if the current background brightness is smaller than the brightness target value, determining the brightness of the flash lamp according to the brightness target value and the current background brightness;
and controlling the flash lamp to be started based on the determined brightness, and scanning the target graphic code.
Optionally, the computer program when executed by the processor 110 may further implement the steps of:
the determining the current background brightness comprises:
acquiring the current environment brightness and determining the actual image brightness of the target graphic code;
and determining the current background brightness according to the current environment brightness and the actual image brightness.
Optionally, the computer program when executed by the processor 110 may further implement the steps of:
the determining the actual image brightness of the target graphic code comprises the following steps:
performing HSL color space conversion on an effective image part in a scanned image to obtain brightness component values of all pixel points in the effective image part;
determining the weighted average brightness of the scanned image according to the brightness component values of the pixel points;
and taking the weighted average brightness as the actual image brightness of the target graphic code.
Optionally, the computer program when executed by the processor 110 may further implement the steps of:
determining the current background brightness according to the current environment brightness and the actual image brightness, wherein the determining comprises:
judging whether the brightness difference value between the current environment brightness and the actual image brightness is larger than a second preset threshold value or not;
if so, taking the actual image brightness as the current background brightness;
and if not, taking the weighted average value of the current environment brightness and the actual image brightness as the current background brightness.
In the mobile terminal 100 of the embodiment of the present invention, first, the flash lamp is turned on to scan the target graphic code; and then, when the scanning fails, adjusting the brightness of the flash lamp according to the scanning result of the target graphic code, and continuously scanning the target graphic code. In the graphic code scanning process, the embodiment of the invention can realize automatic adjustment of the luminous brightness of the flash lamp, thereby improving the graphic code scanning efficiency and the graphic code scanning success rate.
It should be noted that, the mobile terminal 100 provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 4, and for avoiding repetition, details are not described here again.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 6, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 is an interface through which an external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the mobile terminal 100 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Further, corresponding to the graphic code scanning method provided in the foregoing embodiment, an embodiment of the present invention further provides a mobile terminal, including: a processor 110, a memory 109 and a computer program stored on the memory 109 and operable on the processor 110, the computer program, when executed by the processor 110, implementing the steps of the graphic code scanning method described above.
Further, corresponding to the graphic code scanning method provided in the foregoing embodiment, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor 110, the steps of the foregoing graphic code scanning method embodiment are implemented, and the same technical effects can be achieved, and in order to avoid repetition, details are not described here again. The computer-readable storage medium may be a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The computer-readable storage medium in the embodiment of the invention firstly starts a flash lamp and scans a target graphic code; and then, when the scanning fails, adjusting the brightness of the flash lamp according to the scanning result of the target graphic code, and continuously scanning the target graphic code. In the graphic code scanning process, the embodiment of the invention can realize automatic adjustment of the luminous brightness of the flash lamp, thereby improving the graphic code scanning efficiency and the graphic code scanning success rate.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this disclosure may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this disclosure. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
It should also be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made herein without departing from the spirit and scope of the invention as defined in the appended claims. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (12)

1. A graphic code scanning method is applied to a mobile terminal, the mobile terminal is provided with a flash lamp, and the method is characterized by comprising the following steps:
starting the flash lamp, and scanning a target graphic code;
when the scanning fails, adjusting the brightness of the flash lamp according to the scanning result of the target graphic code, and continuously scanning the target graphic code;
the adjusting the brightness of the flash lamp according to the scanning result of the target graphic code comprises:
judging whether the area ratio of the reflective points on the target graphic code is greater than a first preset threshold value or not;
if the target graphic code is larger than the preset target graphic code, determining the brightness reduction amount of the flash lamp according to the attribute information of the target graphic code and the area ratio of the light reflecting points, and adjusting the brightness of the flash lamp according to the brightness reduction amount, wherein the attribute information of the target graphic code represents an application program to which the graphic code belongs;
if not, determining the brightness increment of the flash lamp according to the attribute information of the target graphic code, and adjusting the brightness of the flash lamp according to the brightness increment.
2. The method of claim 1, wherein the turning on the flash lamp to scan a target graphic code comprises:
determining the current background brightness and a brightness target value required by scanning;
if the current background brightness is smaller than the brightness target value, determining the brightness of the flash lamp according to the brightness target value and the current background brightness;
and controlling the flash lamp to be started based on the determined brightness, and scanning the target graphic code.
3. The method of claim 2, wherein determining the current background brightness comprises:
acquiring the current environment brightness and determining the actual image brightness of the target graphic code;
and determining the current background brightness according to the current environment brightness and the actual image brightness.
4. The method of claim 3, wherein determining the actual image brightness of the target graphic code comprises:
performing HSL color space conversion on an effective image part in a scanned image to obtain brightness component values of all pixel points in the effective image part;
determining the weighted average brightness of the scanned image according to the brightness component values of the pixel points;
and taking the weighted average brightness as the actual image brightness of the target graphic code.
5. The method of claim 3, wherein determining a current background brightness based on the current ambient brightness and the actual image brightness comprises:
judging whether the brightness difference value between the current environment brightness and the actual image brightness is larger than a second preset threshold value or not;
if so, taking the actual image brightness as the current background brightness;
and if not, taking the weighted average value of the current environment brightness and the actual image brightness as the current background brightness.
6. A mobile terminal having a flash, the mobile terminal comprising:
the flash lamp starting module is used for starting the flash lamp and scanning the target graphic code;
the flash lamp brightness adjusting module is used for adjusting the brightness of the flash lamp according to the scanning result of the target graphic code when the scanning fails, and continuously scanning the target graphic code;
the flash lamp brightness adjusting module is specifically used for:
judging whether the area ratio of the reflective points on the target graphic code is greater than a first preset threshold value or not;
if the target graphic code is larger than the preset target graphic code, determining the brightness reduction amount of the flash lamp according to the attribute information of the target graphic code and the area ratio of the light reflecting points, and adjusting the brightness of the flash lamp according to the brightness reduction amount, wherein the attribute information of the target graphic code represents an application program to which the graphic code belongs;
if not, determining the brightness increment of the flash lamp according to the attribute information of the target graphic code, and adjusting the brightness of the flash lamp according to the brightness increment.
7. The mobile terminal of claim 6, wherein the flash activation module is specifically configured to:
determining the current background brightness and a brightness target value required by scanning;
if the current background brightness is smaller than the brightness target value, determining the brightness of the flash lamp according to the brightness target value and the current background brightness;
and controlling the flash lamp to be started based on the determined brightness, and scanning the target graphic code.
8. The mobile terminal of claim 7, wherein the flash activation module is further specifically configured to:
acquiring the current environment brightness and determining the actual image brightness of the target graphic code;
and determining the current background brightness according to the current environment brightness and the actual image brightness.
9. The mobile terminal of claim 8, wherein the flash activation module is further specifically configured to:
performing HSL color space conversion on an effective image part in a scanned image to obtain brightness component values of all pixel points in the effective image part;
determining the weighted average brightness of the scanned image according to the brightness component values of the pixel points;
and taking the weighted average brightness as the actual image brightness of the target graphic code.
10. The mobile terminal of claim 8, wherein the flash activation module is further specifically configured to:
judging whether the brightness difference value between the current environment brightness and the actual image brightness is larger than a second preset threshold value or not;
if so, taking the actual image brightness as the current background brightness;
and if not, taking the weighted average value of the current environment brightness and the actual image brightness as the current background brightness.
11. A mobile terminal, comprising: processor, memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the graphical code scanning method as claimed in any one of claims 1 to 5.
12. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the steps of the graphical code scanning method as claimed in any one of claims 1 to 5.
CN201711086591.9A 2017-11-07 2017-11-07 Graphic code scanning method and mobile terminal Active CN107844730B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711086591.9A CN107844730B (en) 2017-11-07 2017-11-07 Graphic code scanning method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711086591.9A CN107844730B (en) 2017-11-07 2017-11-07 Graphic code scanning method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107844730A CN107844730A (en) 2018-03-27
CN107844730B true CN107844730B (en) 2020-03-31

Family

ID=61681403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711086591.9A Active CN107844730B (en) 2017-11-07 2017-11-07 Graphic code scanning method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107844730B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965691B (en) * 2018-06-12 2021-03-02 Oppo广东移动通信有限公司 Camera control method and device, mobile terminal and storage medium
CN108846664A (en) * 2018-06-26 2018-11-20 刘晓英 Mobile phone scan code system based on image procossing
WO2020007090A1 (en) * 2018-07-04 2020-01-09 青岛海信移动通信技术股份有限公司 Scanning of graphic barcode
CN109033911A (en) * 2018-07-04 2018-12-18 青岛海信移动通信技术股份有限公司 A kind of scan method, device, mobile terminal and the storage medium of figure bar code
CN109284732B (en) * 2018-10-15 2021-04-30 西安艾润物联网技术服务有限责任公司 Picture reporting method and related device
CN110070684A (en) * 2019-04-16 2019-07-30 北京意锐新创科技有限公司 A kind of barcode scanning payment devices for open air
CN112241642B (en) * 2019-07-19 2024-02-23 杭州海康威视数字技术股份有限公司 Two-dimensional code identification method, device, equipment and storage medium
CN110490017B (en) * 2019-08-08 2022-02-22 广东斯玛特自动化科技有限公司 Illumination method and device for code scanner
CN110929540A (en) * 2019-10-30 2020-03-27 维沃移动通信有限公司 Scanning code identification method and device
CN112464679B (en) * 2020-11-23 2024-05-31 苏州摩比信通智能***有限公司 Code scanning method and code scanning equipment
CN112464681B (en) * 2020-11-26 2024-04-30 苏州摩比信通智能***有限公司 Graphic code scanning method, device, equipment and medium
CN115471929A (en) * 2021-05-24 2022-12-13 北京骑胜科技有限公司 Unlocking method and device and electronic equipment
CN113641431A (en) * 2021-08-04 2021-11-12 青岛海信移动通信技术股份有限公司 Method and terminal equipment for enhancing display of two-dimensional code
CN114205482B (en) * 2021-11-02 2024-01-05 百度在线网络技术(北京)有限公司 Scanning device, scanning control method, electronic apparatus, and storage medium
CN116451719B (en) * 2023-04-17 2023-10-27 笃准机器人智能科技(苏州)有限公司 Method for identifying two-dimensional code and character code on surface of workpiece after electrophoresis

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105574457A (en) * 2015-12-15 2016-05-11 东软集团股份有限公司 Light supplementing method and device for scanning terminal
CN106250792A (en) * 2016-07-29 2016-12-21 苏州佳世达电通有限公司 Bar code acquisition method and bar code reader
CN106951813A (en) * 2017-04-12 2017-07-14 上海汇尔通信息技术有限公司 The coding/decoding method and system of a kind of bar code
CN107220578A (en) * 2017-05-31 2017-09-29 维沃移动通信有限公司 A kind of two-dimensional code scanning recognition methods, device, mobile terminal and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7128264B2 (en) * 2004-07-23 2006-10-31 Symbol Technologies, Inc: Electro-optical reader with improved performance in high intensity ambient light
US10015380B2 (en) * 2008-12-22 2018-07-03 Ncr Corporation Imaging system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105574457A (en) * 2015-12-15 2016-05-11 东软集团股份有限公司 Light supplementing method and device for scanning terminal
CN106250792A (en) * 2016-07-29 2016-12-21 苏州佳世达电通有限公司 Bar code acquisition method and bar code reader
CN106951813A (en) * 2017-04-12 2017-07-14 上海汇尔通信息技术有限公司 The coding/decoding method and system of a kind of bar code
CN107220578A (en) * 2017-05-31 2017-09-29 维沃移动通信有限公司 A kind of two-dimensional code scanning recognition methods, device, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN107844730A (en) 2018-03-27

Similar Documents

Publication Publication Date Title
CN107844730B (en) Graphic code scanning method and mobile terminal
CN107908383B (en) Screen color adjusting method and device and mobile terminal
US11373054B2 (en) Object recognition method and mobile terminal
US9697622B2 (en) Interface adjustment method, apparatus, and terminal
CN108040209B (en) Shooting method and mobile terminal
CN107977652B (en) Method for extracting screen display content and mobile terminal
CN108763999B (en) Bar code identification method and terminal equipment
CN107645609B (en) Brightness adjusting method and mobile terminal
CN107886321B (en) Payment method and mobile terminal
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
CN109831585B (en) Operation parameter adjusting method and mobile terminal
CN108681413B (en) Control method of display module and mobile terminal
CN110290331B (en) Screen control method and terminal
CN110519503B (en) Method for acquiring scanned image and mobile terminal
CN108460599B (en) Mobile payment method and mobile terminal
CN109327606B (en) Message reminding method and terminal
CN107967418B (en) Face recognition method and mobile terminal
CN108845785B (en) Display method and terminal
CN111083386A (en) Image processing method and electronic device
CN110636225B (en) Photographing method and electronic equipment
CN109859718B (en) Screen brightness adjusting method and terminal equipment
CN110674718B (en) Face recognition method and electronic equipment
CN110287903B (en) Skin detection method and terminal
CN109727212B (en) Image processing method and mobile terminal
CN108196663B (en) Face recognition method and mobile terminal

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
GR01 Patent grant
GR01 Patent grant