CN113343862A - Face acquisition method - Google Patents
Face acquisition method Download PDFInfo
- Publication number
- CN113343862A CN113343862A CN202110654180.5A CN202110654180A CN113343862A CN 113343862 A CN113343862 A CN 113343862A CN 202110654180 A CN202110654180 A CN 202110654180A CN 113343862 A CN113343862 A CN 113343862A
- Authority
- CN
- China
- Prior art keywords
- face
- face picture
- data
- external terminal
- preset
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000008569 process Effects 0.000 abstract description 7
- 238000012550 audit Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 210000000887 face Anatomy 0.000 description 2
- 210000001061 forehead Anatomy 0.000 description 2
- 210000003128 head Anatomy 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000003796 beauty Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 210000000056 organ Anatomy 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Software Systems (AREA)
- Image Processing (AREA)
Abstract
The invention relates to a face acquisition method, which comprises the following steps: receiving request data sent by an external terminal; obtaining face picture data according to the request data; obtaining calculation result data through the face picture data and a first preset server; judging whether the calculation result data meet the preset face acquisition standard or not; if so, sending the face picture to a second preset server so that the second preset server stores the face picture; and otherwise, sending the first notification information to the external terminal so that the user can upload the face picture again according to the first notification information displayed by the external terminal. Based on this, this application can intelligent identification not conform to the people's face picture of face collection standard for this application gathers with low costsly, and the acquisition process is fast.
Description
Technical Field
The invention relates to the technical field of face recognition, in particular to a face acquisition method.
Background
The face acquisition is to upload a face picture to a server. In the related technology, in order to ensure that the face picture meets the related picture acquisition standard, after uploading the face picture to the server, a user needs to arrange related staff to audit the face picture, when the face picture passes the audit, the face picture is stored in the server, and when the face picture does not pass the audit, the user needs to upload the face picture again.
However, the manual auditing method has the disadvantages of low auditing efficiency, poor real-time performance and high auditing cost, so that the related art has the problems of slow acquisition process and high acquisition cost.
Disclosure of Invention
In view of this, a face acquisition method is provided to solve the problems of slow acquisition process and high acquisition cost of the face acquisition method in the related art.
The invention adopts the following technical scheme:
a face acquisition method, comprising:
receiving request data sent by an external terminal; the request data comprises a face picture and an external terminal identification;
analyzing the request data to obtain face picture data;
sending the face picture data to a first preset server so that the first preset server obtains calculation result data according to the face picture data;
receiving the calculation result data fed back by the first preset server;
judging whether the calculation result data meet a preset face acquisition standard or not;
if the calculation result data meet a preset face acquisition standard, sending the face picture to a second preset server so that the second preset server stores the face picture;
and if the calculation result data does not meet the preset face acquisition standard, sending first notification information to the external terminal according to the external terminal identifier so that the user can upload the face picture again according to the first notification information displayed by the external terminal.
Preferably, after the sending the face picture to a second preset server, the method further includes:
sending a query request to the second preset server;
receiving query result data fed back by the second preset server; the query result data comprises the storage position of the face picture;
and storing the query result data to a preset database.
Preferably, after the sending the face picture to a second preset server, the method further includes:
and sending second notification information to the external terminal so that the user can know that the face acquisition task is completed according to the second notification information displayed by the external terminal.
Preferably, the calculation result data includes position data of a face image in the face picture, integrity data of the face image, and the number of faces in the face picture.
Preferably, the first notification information includes the reason data for disqualification of the face picture.
The invention adopts the technical scheme to receive the request data sent by the external terminal; the request data comprises a face picture and an external terminal identification; analyzing the request data to obtain face picture data; sending the face picture data to a first preset server to obtain calculation result data; receiving calculation result data fed back by a first preset server; judging whether the calculation result data meet the preset face acquisition standard or not; if the calculation result data meet the preset face acquisition standard, sending the face picture to a second preset server so that the second preset server stores the face picture; and if the calculation result data does not meet the preset face acquisition standard, sending first notification information to the external terminal according to the external terminal identifier so that the user can upload the face picture again according to the first notification information displayed by the external terminal. Based on this, this application can intelligent identification not conform to the people's face picture of face collection standard for this application gathers with low costsly, and the acquisition process is fast.
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 described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a face acquisition method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
Fig. 1 is a schematic flow chart of a face acquisition method according to an embodiment of the present invention. As shown in fig. 1, the face acquisition method of the present embodiment includes:
s101, receiving request data sent by an external terminal; the request data comprises a face picture and an external terminal identification.
In detail, the external terminal may be a smart phone or a computer device. And the external terminal sends request data to the face acquisition device according to the uploading operation of the user. The face picture may be a face picture taken by the external terminal according to the photographing operation of the user, or a face picture pre-stored in the external terminal.
And S102, analyzing the request data to obtain the face picture data.
In detail, after the face acquisition device receives the request data, in order to analyze the request data, face picture data which can be recognized by the first preset server is obtained.
S103, sending the face picture data to a first preset server so that the first preset server can obtain calculation result data according to the face picture data.
Specifically, the first preset server is used for recognizing all face images in the face image, calculating the number of the face images, and calculating the position of each face image in the face image and whether each face image is a complete face image. For example, when shooting the certificate photo, require the user can not shelter from facial organ, and some women who love beauty can leave the head curtain, and the forehead may be sheltered from to the head curtain, and first server of predetermineeing can discern the condition that the forehead has sheltered from in the people's face picture, and then confirms that there is the face image in the people's face picture and is sheltered from the problem.
And S104, receiving calculation result data fed back by the first preset server.
Specifically, the calculation result data includes position data of the face image in the face picture, integrity data of the face image, and the number of faces in the face picture.
And S105, judging whether the calculation result data meet the preset human face acquisition standard, if so, executing the step S106, otherwise, executing the step S107.
In detail, the preset face acquisition standard includes a position standard of a face image in a face picture, a face image integrity standard and the like. For example, the preset face acquisition standard may be: the face image is located at the center of the face picture, and the face image is not shielded.
And S106, sending the face picture to a second preset server so that the second preset server stores the face picture.
And S107, sending first notification information to the external terminal according to the external terminal identifier so that the user can upload the face picture again according to the first notification information displayed by the external terminal.
Specifically, the first notification information may be sent by sending a short message to the external terminal, or may be sent by pushing a preset program message to the external terminal.
The embodiment adopts the technical scheme to receive the request data sent by the external terminal; the request data comprises a face picture and an external terminal identification; analyzing the request data to obtain face picture data; sending the face picture data to a first preset server to obtain calculation result data; receiving calculation result data fed back by a first preset server; judging whether the calculation result data meet the preset face acquisition standard or not; if the calculation result data meet the preset face acquisition standard, sending the face picture to a second preset server so that the second preset server stores the face picture; and if the calculation result data does not meet the preset face acquisition standard, sending first notification information to the external terminal according to the external terminal identifier so that the user can upload the face picture again according to the first notification information displayed by the external terminal. Based on this, this application can intelligent identification not conform to the people's face picture of face collection standard for this application gathers with low costsly, and the acquisition process is fast.
Preferably, after the sending the face picture to the second preset server, the method further includes:
sending a query request to a second preset server;
receiving query result data fed back by a second preset server; the query result data comprises the storage position of the face picture;
and storing the query result data to a preset database.
Therefore, the user can conveniently and quickly inquire the face picture in the later period.
Preferably, after the sending the face picture to the second preset server, the method further includes:
and sending second notification information to the external terminal so that the user can know that the face acquisition task is completed according to the second notification information displayed by the external terminal.
In detail, the second notification information may be sent by sending a short message to the external terminal, or may be sent by pushing a preset program message to the external terminal. The second notification message includes the face capture completed typeface.
Preferably, the first notification information includes the unqualified face picture reason data, so that the user can conveniently upload the correct face picture again according to the unqualified face picture reason data.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow diagrams or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present invention includes additional implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (5)
1. A face acquisition method, comprising:
receiving request data sent by an external terminal; the request data comprises a face picture and an external terminal identification;
analyzing the request data to obtain face picture data;
sending the face picture data to a first preset server so that the first preset server obtains calculation result data according to the face picture data;
receiving the calculation result data fed back by the first preset server;
judging whether the calculation result data meet a preset face acquisition standard or not;
if the calculation result data meet a preset face acquisition standard, sending the face picture to a second preset server so that the second preset server stores the face picture;
and if the calculation result data does not meet the preset face acquisition standard, sending first notification information to the external terminal according to the external terminal identifier so that the user can upload the face picture again according to the first notification information displayed by the external terminal.
2. The method for acquiring a face of a user according to claim 1, wherein after the sending the face picture to a second preset server, the method further comprises:
sending a query request to the second preset server;
receiving query result data fed back by the second preset server; the query result data comprises the storage position of the face picture;
and storing the query result data to a preset database.
3. The method for acquiring a face of a user according to claim 1, wherein after the sending the face picture to a second preset server, the method further comprises:
and sending second notification information to the external terminal so that the user can know that the face acquisition task is completed according to the second notification information displayed by the external terminal.
4. The method according to claim 1, wherein the calculation result data includes position data of a face image in the face picture, integrity data of the face image, and the number of faces in the face picture.
5. The method according to claim 1, wherein the first notification information comprises face picture disqualification reason data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110654180.5A CN113343862A (en) | 2021-06-11 | 2021-06-11 | Face acquisition method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110654180.5A CN113343862A (en) | 2021-06-11 | 2021-06-11 | Face acquisition method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113343862A true CN113343862A (en) | 2021-09-03 |
Family
ID=77476926
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110654180.5A Pending CN113343862A (en) | 2021-06-11 | 2021-06-11 | Face acquisition method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113343862A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108345877A (en) * | 2018-04-12 | 2018-07-31 | 珠海横琴盛达兆业科技投资有限公司 | A kind of face acquisition method based on Baidu Face datection API |
CN111160202A (en) * | 2019-12-20 | 2020-05-15 | 万翼科技有限公司 | AR equipment-based identity verification method, AR equipment-based identity verification device, AR equipment-based identity verification equipment and storage medium |
CN111931607A (en) * | 2020-07-23 | 2020-11-13 | 安徽天达网络科技有限公司 | Face recognition method and system based on mobile terminal pre-recognition |
CN112364825A (en) * | 2020-11-30 | 2021-02-12 | 支付宝(杭州)信息技术有限公司 | Method, apparatus and computer-readable storage medium for face recognition |
-
2021
- 2021-06-11 CN CN202110654180.5A patent/CN113343862A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108345877A (en) * | 2018-04-12 | 2018-07-31 | 珠海横琴盛达兆业科技投资有限公司 | A kind of face acquisition method based on Baidu Face datection API |
CN111160202A (en) * | 2019-12-20 | 2020-05-15 | 万翼科技有限公司 | AR equipment-based identity verification method, AR equipment-based identity verification device, AR equipment-based identity verification equipment and storage medium |
CN111931607A (en) * | 2020-07-23 | 2020-11-13 | 安徽天达网络科技有限公司 | Face recognition method and system based on mobile terminal pre-recognition |
CN112364825A (en) * | 2020-11-30 | 2021-02-12 | 支付宝(杭州)信息技术有限公司 | Method, apparatus and computer-readable storage medium for face recognition |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10900772B2 (en) | Apparatus and methods for facial recognition and video analytics to identify individuals in contextual video streams | |
CN107480624B (en) | Permanent resident population's acquisition methods, apparatus and system, computer installation and storage medium | |
AU2016342028B2 (en) | Methods and apparatus for false positive minimization in facial recognition applications | |
KR101870689B1 (en) | Method for providing information on scalp diagnosis based on image | |
WO2020093634A1 (en) | Face recognition-based method, device and terminal for adding image, and storage medium | |
WO2019153504A1 (en) | Group creation method and terminal thereof | |
KR20170134256A (en) | Method and apparatus for correcting face shape | |
CN109376596A (en) | Face matching process, device, equipment and storage medium | |
KR102027974B1 (en) | System for providing virtual reality 3d model of fetus based on deep learning and method therefor | |
CN112101124B (en) | Sitting posture detection method and device | |
US8311271B2 (en) | Image processing apparatus and image processing method | |
CN110225141B (en) | Content pushing method and device and electronic equipment | |
US20140023246A1 (en) | Intelligent biometric identification of a participant associated with a media recording | |
CN112199530B (en) | Multi-dimensional face library picture automatic updating method, system, equipment and medium | |
JP2021535508A (en) | Methods and devices for reducing false positives in face recognition | |
CN110730305A (en) | Multi-source snapshot image processing and accessing method and device based on blocking queue | |
CN110263528A (en) | Removal repeats method, apparatus, equipment and the storage medium of account | |
CN111708906B (en) | Visiting retrieval method, device and equipment based on face recognition and storage medium | |
CN113343862A (en) | Face acquisition method | |
CN113158773A (en) | Training method and training device for living body detection model | |
CN106650365A (en) | Method and device for starting different working modes | |
CN116363725A (en) | Portrait tracking method and system for display device, display device and storage medium | |
CN114418680A (en) | Product recommendation method and device based on face recognition, vending machine and storage medium | |
CN112312207B (en) | Method, device and equipment for getting through traffic between smart television terminal and mobile terminal | |
CN109801394A (en) | A kind of staff's Work attendance method and device, electronic equipment and readable storage medium storing program for executing |
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 |