CN108537552B - Payment method, device and system based on lens - Google Patents

Payment method, device and system based on lens Download PDF

Info

Publication number
CN108537552B
CN108537552B CN201810332282.3A CN201810332282A CN108537552B CN 108537552 B CN108537552 B CN 108537552B CN 201810332282 A CN201810332282 A CN 201810332282A CN 108537552 B CN108537552 B CN 108537552B
Authority
CN
China
Prior art keywords
face image
lens
image data
data
user
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.)
Expired - Fee Related
Application number
CN201810332282.3A
Other languages
Chinese (zh)
Other versions
CN108537552A (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.)
Guangzhou Comma Smart Retail Co ltd
Original Assignee
Guangzhou Comma Smart Retail 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 Guangzhou Comma Smart Retail Co ltd filed Critical Guangzhou Comma Smart Retail Co ltd
Priority to CN201810332282.3A priority Critical patent/CN108537552B/en
Publication of CN108537552A publication Critical patent/CN108537552A/en
Application granted granted Critical
Publication of CN108537552B publication Critical patent/CN108537552B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Studio Devices (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The invention discloses a payment method, a device and a system based on a lens, wherein the method comprises the following steps: acquiring irregular human face image data by using a lens; according to the imaging principle of the lens, carrying out inverse transformation on the information parameter of each data point in the acquired irregular human face image data; and obtaining normal face image data according to the result of the inverse transformation of each data point. The invention utilizes the lens to distort the light rays collected by the imaging device to obtain the irregular face image, thereby improving the comfort level experienced by the user in the face payment process.

Description

Payment method, device and system based on lens
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a payment method, a payment device and a payment system based on a lens.
Background
With the rapid development of society and market economy, face recognition payment is more and more popular among users, face recognition is a biometric feature recognition technology for identity authentication based on human physiognomic feature information, and the technology has the advantages that personal information can be prevented from being leaked, and a non-contact mode is adopted for recognition. Face recognition and fingerprint recognition, palm print recognition, retina recognition, skeleton recognition, heartbeat recognition and the like belong to human body biological feature recognition technologies, and are generated along with the rapid development of technologies such as a photoelectric technology, a microcomputer technology, an image processing technology, pattern recognition and the like. The identity can be quickly, accurately and hygienically identified; it is not reproducible, and even if cosmetic surgery is performed, the technique can find "original you" from hundreds of facial features.
The current face recognition payment method has certain humanization problem, and a user needs to move the face of the user to a recognition area according to prompt, however, the user looks at the face of the user, so that many users feel embarrassed and unnatural.
Disclosure of Invention
In view of the above problems, the present invention provides a lens-based payment method, apparatus and system to solve the deficiencies of the prior art.
According to an embodiment of the present invention, there is provided a lens-based payment method including:
acquiring irregular human face image data by using a lens;
according to the imaging principle of the lens, carrying out inverse transformation on the information parameter of each data point in the acquired irregular human face image data;
obtaining normal face image data according to the result of the inverse transformation of each data point;
and comparing the normal face image data with the face model data stored in advance, executing payment action if the normal face image data is consistent with the face model data stored in advance, and stopping payment action and prompting the user of inconsistent information if the normal face image data is inconsistent with the face model data stored in advance.
In the above-mentioned lens-based payment method, acquiring irregular face image data using a lens includes:
acquiring an irregular face image stream by using a lens and presenting the image stream to a user through a display device;
judging whether the face image in the image stream is displayed in a designated area in the display device or not;
if the face image in the image stream is displayed in the designated area in the display device, acquiring irregular face image data of the current frame in the image stream;
and if the face image in the image stream is not displayed in the designated area in the display device, prompting the user to adjust the posture, the angle and the distance between the user and the imaging device, so that the face image in the image stream is moved to the designated area.
In the above-described lens-based payment method, the lens is a convex lens.
In the above-mentioned lens-based payment method, the user is prompted by voice or text to adjust the posture, angle, and distance to the imaging device.
In the above payment method based on a lens, the inverse transforming the information parameter of each data point in the acquired irregular face image data according to the imaging principle of the lens includes:
carrying out inverse transformation on a first imaging formula obtained according to the imaging principle of the lens to obtain a second imaging formula;
and taking the information parameter of each data point in the irregular face image data and the internal parameter of the lens as the input parameters of the second imaging formula, and obtaining the parameter information of each data point in the normal face image data as the output parameter.
In the above-described lens-based payment method, the internal parameters include a geometric size, a curvature, and a focal length of the lens.
In the above-mentioned lens-based payment method, comparing the normal face image data with the pre-stored face model data, executing a payment action if the normal face image data is consistent with the pre-stored face model data, terminating the payment action and prompting a user of the inconsistent information if the normal face image data is inconsistent with the pre-stored face model data includes:
calculating the similarity between the normal face image data and the pre-stored face model data;
and comparing the similarity with a preset threshold, executing the payment action if the similarity is greater than the preset threshold, and terminating the payment action and prompting the user of the inconsistent information if the similarity is less than the preset threshold.
A second embodiment of the present invention provides a lens-based payment device, comprising:
the acquisition module is used for acquiring irregular human face image data by using the lens;
the inverse transformation module is used for inversely transforming the information parameters of each data point in the acquired irregular human face image data according to the imaging principle of the lens;
the acquisition module is used for acquiring normal face image data according to the result of the inverse transformation of each data point;
and the payment module is used for comparing the normal face image data with the pre-stored face model data, executing payment action if the normal face image data is consistent with the pre-stored face model data, and terminating the payment action and prompting the user of inconsistent information if the normal face image data is inconsistent with the pre-stored face model data.
A third embodiment of the present invention provides a lens-based payment system, comprising:
the imaging device comprises a lens and is used for acquiring the face image data passing through the lens;
the display device is used for displaying the face image;
computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, implements the lens-based payment method of any one of claims 1-7.
A fourth embodiment of the present invention provides a computer-readable storage medium storing the computer program used in the above-described lens-based payment system.
The payment method, the payment device and the payment system based on the lens at least provide the following technical effects: the light rays collected by the imaging device are distorted by the lens, irregular face images are obtained, and the comfort level of the user in the face payment process is improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention.
Fig. 1 is a flow chart illustrating a lens-based payment method according to a first embodiment of the present invention.
Fig. 2 is a flow chart illustrating a lens-based payment method according to a second embodiment of the present invention.
Fig. 3 is a schematic structural diagram illustrating a lens-based payment apparatus according to an embodiment of the present invention.
Fig. 4 shows a schematic structural diagram of a lens-based payment system according to an embodiment of the present invention.
Description of the main element symbols:
10-a lens-based payment device; 110-an acquisition module; 120-an inverse transform module; 130-an acquisition module; 140-a payment module; 20-a lens-based payment system; 210-an imaging device; 220-a display device; 230-a computer device.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the multi-scale calibration plate is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The following detailed description of embodiments of the invention refers to the accompanying drawings.
Example 1
Fig. 1 is a flow chart illustrating a lens-based payment method according to a first embodiment of the present invention. The lens-based payment method includes:
in step S110, irregular face image data is obtained by using a lens.
Acquiring an irregular face image stream by using a lens and presenting the image stream to a user through a display device; judging whether the face image in the image stream is displayed in a designated area in the display device or not; if the face image in the image stream is displayed in the designated area in the display device, acquiring irregular face image data of the current frame in the image stream; and if the face image in the image stream is not displayed in the designated area in the display device, prompting the user to adjust the posture, the angle and the distance between the user and the imaging device, so that the face image in the image stream is moved to the designated area.
In this embodiment, the lens is a standard hemispherical optical convex lens. Other embodiments of the invention may include other types of lenses that produce a distorting effect on the image.
In this embodiment, the user is prompted by voice or text to adjust the posture, angle, distance from the imaging device, and the like. In other embodiments of the present invention, the user may be prompted to perform corresponding operations in other manners.
In this embodiment, the imaging device includes a camera for capturing a face image and the lens located between the camera and a user. In other embodiments of the present invention, the imaging device may further include a camera, a lens located between the camera and the user, a support for supporting the lens, and the like. The camera can also be replaced by a camera, a video camera and the like.
In this embodiment, the designated area may be a maximum identification area of the imaging device or a certain prescribed area in the identification area of the imaging device. The face image data passing through the lens is face image data obtained by distorting light rays collected by the imaging device through the lens.
And step S120, according to the imaging principle of the lens, carrying out inverse transformation on the information parameter of each data point in the acquired irregular human face image data.
Carrying out inverse transformation on a first imaging formula obtained according to the imaging principle of the lens to obtain a second imaging formula; and taking the information parameter of each data point in the irregular face image data and the internal parameter of the lens as the input parameters of the second imaging formula, and obtaining the parameter information of each data point in the normal face image data as the output parameter.
The internal parameters may include a geometric size, a curvature, a focal length, and the like of the lens.
And step S130, obtaining normal face image data according to the result of the inverse transformation of each data point.
And obtaining parameter information of each data point in the normal face image data according to the result information of each data point in the irregular face image data after inverse transformation in the step S120, and processing the parameter information of all data points in the normal face image data to obtain the normal face image data.
Step S140, determining whether the normal face image data is consistent with the pre-stored face model data.
In this embodiment, multi-direction and multi-angle face image data is collected in advance, features in the face image data are combined into face model data, and the face model data is stored.
In the payment process, the face model data is used as a template, the similarity between the normal face image data and the pre-stored face model data is calculated through an image processing algorithm, and if the similarity is greater than the preset threshold value, the step S150 is proceeded; if the similarity is smaller than the preset threshold, the process proceeds to step S160.
Step S150, a payment action is performed.
And if the similarity is greater than the preset threshold, judging that the normal human face image data is consistent with the pre-stored human face model data, and executing payment action.
Step S160, terminating the payment action and prompting the user for the inconsistent information.
If the similarity is smaller than the preset threshold, judging that the normal face image data is inconsistent with the face model data stored in advance, stopping payment, and prompting the user of inconsistent information through voice or characters.
Example 2
Fig. 2 is a flow chart illustrating a lens-based payment method according to a second embodiment of the present invention.
Step S210, collecting an irregular face image stream by using a lens and presenting the image stream to a user through a display device.
In the display device, a user can see a face image with an entertainment effect of himself through a lens. For example, after the light is distorted by the lens, a face image obtained by magnifying a certain region in the face of the user, or a face image obtained by magnifying a region in the face of the user and magnifying another region in the face of the user, etc. are collected.
In this embodiment, the lens may be a regular hemispherical optical convex lens. In other embodiments of the present invention, the lens may also be a concave lens or a combination of a convex lens and a concave lens.
Step S220, determining whether the face image in the image stream is displayed in the designated area of the display device.
Judging whether the face image in the user video is in a designated area, if the face image in the image stream is not displayed in the designated area in the display device, proceeding to step S230; if the face image in the image stream is displayed in the designated area of the display device, the process proceeds to step S240.
Step S230, prompting the user to adjust the posture, the angle, and the distance between the user and the imaging device, and moving the face image in the image stream to a preset area.
And when the face image in the image stream is not displayed in the designated area in the display device, the imaging device acquires no useful face image data, prompts a user to adjust the posture, the angle and the distance between the user and the imaging device, and moves the face image displayed in the video to a preset area.
In this embodiment, the user is prompted to adjust the posture, the angle, and the distance to the imaging device by voice or text.
Step S240, determining whether the face image data in the preset area is qualified.
If the face image in the image stream is displayed in the designated area of the display device, judging whether the face image data in the preset area is qualified, if the face image data in the preset area is unqualified, for example, the face of the user is shielded by a mask, a scarf and other articles so that the effective information of the face image data of the user cannot be acquired, proceeding to step S250, and prompting the unqualified information of the user; if the face image data in the preset area is qualified, the process proceeds to step S260.
Step S250, prompting the user of the failure information.
In this embodiment, the user may be prompted for the non-conformity information through voice or text. In other embodiments of the present invention, the operation may be performed in other prompting manners.
Step S260, acquiring irregular face image data of the current frame in the image stream.
And when the face image in the image stream is displayed in the designated area and the displayed face image data is qualified, acquiring irregular face image data of the current frame in the image stream.
And step S270, performing inverse transformation on the first imaging formula obtained according to the imaging principle of the lens to obtain a second imaging formula.
And performing inverse transformation on the imaging formula of the lens as a first imaging formula to obtain a second imaging formula. Wherein the input of the second imaging formula is the output of the first imaging formula and the output of the second imaging formula is the input of the first imaging formula.
Step S280, using the information parameter of each data point in the irregular face image data and the internal parameter of the lens as the input parameter of the second imaging formula, and obtaining the parameter information of each data point in the normal face image data as the output parameter.
The internal parameters comprise the geometric size, curvature, focal length and other parameters of the lens.
And step S290, acquiring normal face image data according to the result of the inverse transformation of each data point.
Step S300, judging whether the normal face image data is consistent with the face model data stored in advance.
After acquiring the normal face image data, calculating the similarity between the normal face image data and the face model data stored in advance. The similarity is mainly used for scoring the similarity of the contents between the two images, and the similarity of the contents of the images is judged according to the degree of the score. The similarity between the face image data and the pre-stored face model data can be calculated by adopting a histogram matching method, mathematical matrix decomposition, image similarity based on characteristic points and other modes.
Comparing the similarity between the normal face image data acquired in the step S290 and the pre-stored face model data with a preset threshold, and if the similarity is smaller than the preset threshold, proceeding to the step S310; if the similarity is greater than the preset threshold, the process proceeds to step S320, and a payment operation is automatically performed.
Step S310, the payment action is terminated and the user is prompted for the inconsistent information.
In step S320, a payment action is performed.
Step S240 may also be executed after step S290, that is, after the normal face image data is acquired, the determination is performed to determine whether the face image data in the preset area is qualified.
Example 3
Fig. 3 is a schematic structural diagram illustrating a lens-based payment apparatus according to an embodiment of the present invention.
The lens-based payment device 10 includes an acquisition module 110, an inverse transformation module 120, an acquisition module 130, and a payment module 140.
And the acquisition module 110 is used for acquiring the irregular human face image data by using the lens.
And the inverse transformation module 120 is configured to perform inverse transformation on the information parameter of each data point in the acquired irregular face image data according to the imaging principle of the lens.
And the obtaining module 130 is configured to obtain normal face image data according to the result of the inverse transformation of each data point.
And the payment module 140 is configured to compare the normal face image data with pre-stored face model data, execute a payment action if the normal face image data is consistent with the pre-stored face model data, and terminate the payment action and prompt the user of the inconsistent information if the normal face image data is inconsistent with the pre-stored face model data.
The acquisition module 110 includes:
acquiring an irregular face image stream by using a lens and presenting the image stream to a user through a display device;
judging whether the face image in the image stream is displayed in a designated area in the display device or not;
if the face image in the image stream is displayed in the designated area in the display device, acquiring irregular face image data of the current frame in the image stream;
and if the face image in the image stream is not displayed in the designated area in the display device, prompting the user to adjust the posture, the angle and the distance between the user and the imaging device, so that the face image in the image stream is moved to the designated area.
Preferably, the lens may be a convex lens.
Preferably, the user may be prompted to adjust the posture, the angle and the distance to the imaging device by voice or text.
The inverse transform module 120 includes:
carrying out inverse transformation on a first imaging formula obtained according to the imaging principle of the lens to obtain a second imaging formula;
and taking the information parameter of each data point in the irregular face image data and the internal parameter of the lens as the input parameters of the second imaging formula, and obtaining the parameter information of each data point in the normal face image data as the output parameter.
Wherein the internal parameters include the geometric size, curvature, focal length, etc. of the lens.
The payment module 140 includes:
calculating the similarity between the normal face image data and the pre-stored face model data;
and comparing the similarity with a preset threshold, executing the payment action if the similarity is greater than the preset threshold, and terminating the payment action and prompting the user of the inconsistent information if the similarity is less than the preset threshold.
Example 4
Fig. 4 shows a schematic structural diagram of a lens-based payment system according to an embodiment of the present invention.
The lens-based payment system 20 includes an imaging device 210, a display device 220, and a computer device 230.
An imaging device 210 comprising a lens for acquiring image data of a human face passing through the lens.
And a display device 220 for displaying the face image.
A computer device 230 including a memory and a processor.
The memory stores a computer program.
Implementing said lens-based payment method when said computer program is executed by said processor, the lens-based payment method comprising:
acquiring irregular human face image data by using a lens;
according to the imaging principle of the lens, carrying out inverse transformation on the information parameter of each data point in the acquired irregular human face image data;
obtaining normal face image data according to the result of the inverse transformation of each data point;
and comparing the normal face image data with the face model data stored in advance, executing payment action if the normal face image data is consistent with the face model data stored in advance, and stopping payment action and prompting the user of inconsistent information if the normal face image data is inconsistent with the face model data stored in advance.
Wherein the acquiring irregular human face image data by using the lens comprises:
acquiring an irregular face image stream by using a lens and presenting the image stream to a user through a display device;
judging whether the face image in the image stream is displayed in a designated area in the display device or not;
if the face image in the image stream is displayed in the designated area in the display device, acquiring irregular face image data of the current frame in the image stream;
and if the face image in the image stream is not displayed in the designated area in the display device, prompting the user to adjust the posture, the angle and the distance between the user and the imaging device, so that the face image in the image stream is moved to the designated area.
Preferably, the lens is a concave lens.
The lens-based payment system of this embodiment may further include a prompting device.
Preferably, the user can be prompted to adjust the posture, the angle and the distance between the imaging device through voice or text and the like.
The inverse transformation of the information parameters of each data point in the acquired irregular face image data according to the imaging principle of the lens comprises:
carrying out inverse transformation on a first imaging formula obtained according to the imaging principle of the lens to obtain a second imaging formula;
and taking the information parameter of each data point in the irregular face image data and the internal parameter of the lens as the input parameters of the second imaging formula, and obtaining the parameter information of each data point in the normal face image data as the output parameter.
Wherein the internal parameters include the geometric size, curvature, focal length, etc. of the lens.
Comparing the normal face image data with pre-stored face model data, executing a payment action if the normal face image data is consistent with the pre-stored face model data, and terminating the payment action and prompting a user of inconsistent information if the normal face image data is inconsistent with the pre-stored face model data includes:
calculating the similarity between the normal face image data and the pre-stored face model data;
and comparing the similarity with a preset threshold, executing the payment action if the similarity is greater than the preset threshold, and terminating the payment action and prompting the user of the inconsistent information if the similarity is less than the preset threshold.
The processor is connected to the imaging device 210, the display device 220, and the memory.
The processor firstly receives a face image stream of a user, acquired by an imaging device 210, passing through a lens and displays the image stream through a display device 220, judges whether a face image in the image stream is displayed in a designated area in the display device, and prompts the user to adjust a posture, an angle and a distance between the user and the imaging device in a voice or text mode through a prompting device if the face image in the image stream is not displayed in the designated area in the display device, so as to move the face image in the image stream to a preset area; if the face image in the image stream is displayed in the designated area of the display device, the processor judges whether useful information can be extracted from the displayed face image data, and if the useful information is not extracted, the processor prompts the unqualified information of the user through a prompting device; if the face image data of the user is qualified, useful information can be extracted, and irregular face image data of the current frame in the image stream is collected.
And the processor inversely transforms the collected human face image data subjected to light distortion by the lens according to the imaging principle of the lens to obtain a normal human face data image.
The memory may also store user face model data.
The processor can also compare the normal face image data with the face model data stored in the memory, and if the face image data is consistent with the background face model data, the payment operation is executed; otherwise, prompting the inconsistent information of the user and terminating the payment action.
The present embodiment also provides a computer-readable storage medium for storing the computer program used in the above-described lens-based payment system.
Therefore, the invention provides the payment method, the payment device and the payment system based on the lens, and the distorted image of the entertainment property of the user is collected, so that the real portrait is not faced in the display device any more, the embarrassment of the user is effectively reduced, and the interestingness of face recognition payment and the comfort level of user experience are increased.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (9)

1. A lens-based payment method, comprising:
acquiring irregular human face image data by using a lens;
according to the imaging principle of the lens, carrying out inverse transformation on the information parameter of each data point in the acquired irregular human face image data;
obtaining normal face image data according to the result of the inverse transformation of each data point;
comparing the normal face image data with pre-stored face model data, executing payment action if the normal face image data is consistent with the pre-stored face model data, and stopping payment action and prompting a user about inconsistent information if the normal face image data is inconsistent with the pre-stored face model data;
the method for acquiring the irregular human face image data by using the lens comprises the following steps: acquiring an irregular human face image stream by using a lens and displaying the image stream to a user by a display device, wherein the human face image with an entertainment effect is displayed on the user;
the inverse transformation of the information parameters of each data point in the acquired irregular face image data according to the imaging principle of the lens comprises:
carrying out inverse transformation on a first imaging formula obtained according to the imaging principle of the lens to obtain a second imaging formula;
and taking the information parameter of each data point in the irregular face image data and the internal parameter of the lens as the input parameters of the second imaging formula, and obtaining the parameter information of each data point in the normal face image data as the output parameter.
2. The lens-based payment method of claim 1, wherein said acquiring irregular face image data using a lens further comprises:
judging whether the face image in the image stream is displayed in a designated area in the display device or not;
if the face image in the image stream is displayed in the designated area in the display device, acquiring irregular face image data of the current frame in the image stream;
and if the face image in the image stream is not displayed in the designated area in the display device, prompting the user to adjust the posture, the angle and the distance between the user and the imaging device, so that the face image in the image stream is moved to the designated area.
3. The lens-based payment method of claim 1 wherein the lens is a convex lens.
4. The lens-based payment method of claim 2 wherein the user is prompted by voice or text to adjust the pose, angle and distance from the imaging device.
5. The lens-based payment method of claim 1 wherein the internal parameters include geometry, curvature and focal length of the lens.
6. The lens-based payment method of claim 1, wherein the comparing the normal face image data with the pre-stored face model data, performing a payment action if the normal face image data is consistent with the pre-stored face model data, and terminating the payment action and prompting a user for inconsistent information if the normal face image data is inconsistent with the pre-stored face model data comprises:
calculating the similarity between the normal face image data and the pre-stored face model data;
and comparing the similarity with a preset threshold, executing the payment action if the similarity is greater than the preset threshold, and terminating the payment action and prompting the user of the inconsistent information if the similarity is less than the preset threshold.
7. A lens-based payment device, comprising:
the acquisition module is used for acquiring irregular human face image data by using the lens;
the inverse transformation module is used for inversely transforming the information parameters of each data point in the acquired irregular human face image data according to the imaging principle of the lens;
the acquisition module is used for acquiring normal face image data according to the result of the inverse transformation of each data point;
the payment module is used for comparing the normal face image data with the pre-stored face model data, executing payment action if the normal face image data is consistent with the pre-stored face model data, and terminating the payment action and prompting a user of inconsistent information if the normal face image data is inconsistent with the pre-stored face model data;
the method for acquiring the irregular human face image data by using the lens comprises the following steps: acquiring an irregular human face image stream by using a lens and displaying the image stream to a user by a display device, wherein the human face image with an entertainment effect is displayed on the user;
the inverse transformation of the information parameters of each data point in the acquired irregular face image data according to the imaging principle of the lens comprises:
carrying out inverse transformation on a first imaging formula obtained according to the imaging principle of the lens to obtain a second imaging formula;
and taking the information parameter of each data point in the irregular face image data and the internal parameter of the lens as the input parameters of the second imaging formula, and obtaining the parameter information of each data point in the normal face image data as the output parameter.
8. A lens-based payment system, comprising:
the imaging device comprises a lens and is used for acquiring the face image data passing through the lens;
the display device is used for displaying the face image;
computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, implements the lens-based payment method of any one of claims 1-6.
9. A computer-readable storage medium, characterized in that it stores the computer program used in the lens-based payment system of claim 8.
CN201810332282.3A 2018-04-13 2018-04-13 Payment method, device and system based on lens Expired - Fee Related CN108537552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810332282.3A CN108537552B (en) 2018-04-13 2018-04-13 Payment method, device and system based on lens

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810332282.3A CN108537552B (en) 2018-04-13 2018-04-13 Payment method, device and system based on lens

Publications (2)

Publication Number Publication Date
CN108537552A CN108537552A (en) 2018-09-14
CN108537552B true CN108537552B (en) 2020-11-24

Family

ID=63480491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810332282.3A Expired - Fee Related CN108537552B (en) 2018-04-13 2018-04-13 Payment method, device and system based on lens

Country Status (1)

Country Link
CN (1) CN108537552B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113487323B (en) * 2021-07-16 2022-04-08 湖南校智付网络科技有限公司 Campus payment method and system based on face data recognition record carrier

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8224040B2 (en) * 2008-08-15 2012-07-17 Firs Intelligent Technology (Shenzhen) Co., Ltd. Face recognition apparatus based on even light source
CN102914286A (en) * 2012-09-12 2013-02-06 福建网龙计算机网络信息技术有限公司 Method for automatically detecting user sitting posture based on handheld equipment
CN106600855A (en) * 2016-12-22 2017-04-26 河南牧业经济学院 Payment device and method based on face recognition
CN107609476A (en) * 2017-08-09 2018-01-19 浙江工商大学 Unattended shops's customer data integration method based on recognition of face

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8224040B2 (en) * 2008-08-15 2012-07-17 Firs Intelligent Technology (Shenzhen) Co., Ltd. Face recognition apparatus based on even light source
CN102914286A (en) * 2012-09-12 2013-02-06 福建网龙计算机网络信息技术有限公司 Method for automatically detecting user sitting posture based on handheld equipment
CN106600855A (en) * 2016-12-22 2017-04-26 河南牧业经济学院 Payment device and method based on face recognition
CN107609476A (en) * 2017-08-09 2018-01-19 浙江工商大学 Unattended shops's customer data integration method based on recognition of face

Also Published As

Publication number Publication date
CN108537552A (en) 2018-09-14

Similar Documents

Publication Publication Date Title
US9881204B2 (en) Method for determining authenticity of a three-dimensional object
Barra et al. Ubiquitous iris recognition by means of mobile devices
JP5061645B2 (en) Information extraction method, information extraction device, program, registration device, and verification device
Cherabit et al. Circular hough transform for iris localization
US10318797B2 (en) Image processing apparatus and image processing method
CN109952594B (en) Image processing method, device, terminal and storage medium
CN105612533B (en) Living body detection method, living body detection system, and computer program product
US20160162673A1 (en) Technologies for learning body part geometry for use in biometric authentication
CN108875485A (en) A kind of base map input method, apparatus and system
JP2018508888A (en) System and method for performing fingerprint-based user authentication using an image captured using a mobile device
CN110569731A (en) face recognition method and device and electronic equipment
CN107346419B (en) Iris recognition method, electronic device, and computer-readable storage medium
CN111222380B (en) Living body detection method and device and recognition model training method thereof
CN110516579B (en) Handheld fundus camera photographing method and device, equipment and storage medium
CN108921010A (en) A kind of pupil detection method and detection device
CN108537552B (en) Payment method, device and system based on lens
CN112183327B (en) Face recognition method, device and system
CN107316281B (en) Image processing method and device and terminal equipment
Matveev Circular shortest path as a method of detection and refinement of iris borders in eye image
Amjed et al. Noncircular iris segmentation based on weighted adaptive hough transform using smartphone database
CN109190528B (en) Living body detection method and device
US10796147B1 (en) Method and apparatus for improving the match performance and user convenience of biometric systems that use images of the human eye
CN113435229A (en) Face iris multi-mode recognition method and device, readable storage medium and equipment
JP5688514B2 (en) Gaze measurement system, method and program
US20230245497A1 (en) Information processing device, information processing method, and recording 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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201124

CF01 Termination of patent right due to non-payment of annual fee