CN113239812A - Face recognition method based on picture - Google Patents
Face recognition method based on picture Download PDFInfo
- Publication number
- CN113239812A CN113239812A CN202110534371.8A CN202110534371A CN113239812A CN 113239812 A CN113239812 A CN 113239812A CN 202110534371 A CN202110534371 A CN 202110534371A CN 113239812 A CN113239812 A CN 113239812A
- Authority
- CN
- China
- Prior art keywords
- face
- picture
- information
- data information
- sub
- 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
- 238000001514 detection method Methods 0.000 claims abstract description 32
- 230000008569 process Effects 0.000 claims description 5
- 238000005192 partition Methods 0.000 claims description 4
- 238000012795 verification Methods 0.000 abstract description 3
- 238000013473 artificial intelligence Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 3
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 238000010801 machine learning Methods 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
- G06V40/162—Detection; Localisation; Normalisation using pixel segmentation or colour matching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/172—Classification, e.g. identification
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Collating Specific Patterns (AREA)
Abstract
The invention relates to a face recognition method based on pictures, which comprises the following steps: receiving picture data information; detecting whether the image data information comprises face information or not; if the face information is included, the number of faces contained in the face information is identified; cutting the picture according to the number of the human faces to obtain sub-pictures with the same number as the number of the human faces; each sub-picture is respectively input into the third-party face detection service system to output the detection result of face identification, so that the picture containing a plurality of pieces of face information is cut into a plurality of sub-pictures, each sub-picture only comprises one piece of face identity information, the fact that the third-party face detection service system can complete identity detection verification more quickly when face identification is carried out by the third-party face detection service system can be guaranteed, and the face identity identification efficiency is effectively improved.
Description
Technical Field
The invention belongs to the technical field of face recognition, and particularly relates to a face recognition method based on pictures.
Background
The face recognition technology is more and more widely applied in various industries, and the most detection principle is to perform picture face detection recognition, firstly convert face information into a picture, and then perform face information detection recognition from the picture.
However, when the number of face information included in the picture is large, the face identification information cannot be quickly and accurately identified.
Disclosure of Invention
In order to solve at least the above problems in the prior art, the invention provides a face recognition method based on pictures, so as to realize accurate and rapid face identification.
The technical scheme provided by the invention is as follows:
a face recognition method based on pictures comprises the following steps:
receiving picture data information;
detecting whether the picture data information comprises face information or not;
if the face information is included, the number of faces contained in the face information is identified;
cutting the picture according to the number of the human faces to obtain sub-pictures with the same number as the number of the human faces;
and respectively inputting each sub-picture into a third-party face detection service system so as to output a face recognition detection result.
Optionally, after the outputting the detection result of the face recognition, the method further includes:
and storing the detection result to a face identity database.
Optionally, after receiving the picture data information, the method further includes:
determining the serial number of the picture data information;
detecting whether the serial number exists in the face identity database;
if the serial number does not exist, detecting whether the image data information comprises face information or not;
and if the serial number exists, ending the process.
Optionally, after detecting whether the image data information includes the face information, the method further includes:
and if the face information is not included, sending the unqualified picture information to call the terminal.
Optionally, the face identity database is a local database, and the face identity database includes consistency, availability, partition fault tolerance, and protection characteristics.
The invention has the beneficial effects that:
the invention provides a face recognition method based on pictures, which comprises the following steps: receiving picture data information; detecting whether the image data information comprises face information or not; if the face information is included, the number of faces contained in the face information is identified; cutting the picture according to the number of the human faces to obtain sub-pictures with the same number as the number of the human faces; each sub-picture is respectively input into the third-party face detection service system to output the detection result of face identification, so that the picture containing a plurality of pieces of face information is cut into a plurality of sub-pictures, each sub-picture only comprises one piece of face identity information, the fact that the third-party face detection service system can complete identity detection verification more quickly when face identification is carried out by the third-party face detection service system can be guaranteed, and the face identity identification efficiency is effectively improved.
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 flowchart of a face recognition method based on pictures 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 flowchart of a face recognition method based on pictures according to an embodiment of the present invention.
As shown in fig. 1, the method for recognizing a face based on a picture according to the present embodiment includes the following steps:
and S11, receiving picture data information.
Firstly, picture information can be acquired through a camera, or pictures can be acquired directly through other modes, and the picture data information comprises other data parameters.
And S12, detecting whether the picture data information includes face information.
After the system acquires the picture data information, whether the picture data information comprises the face information or not is automatically detected, and the specific identification of the face information from the picture is not described in detail.
And S13, if the face information is included, identifying the number of the faces contained in the face information.
And if the face information is not included, sending unqualified picture information to call the terminal.
And S14, cutting the picture according to the number of the human faces to obtain sub-pictures with the same number as the number of the human faces.
After the face recognition, if the face information is found, the number of faces contained in the face information is judged, when the number of faces is multiple, the specific number of faces is determined, and then the picture is cut into sub-pictures with the same number as the number of faces according to the specific number of faces. That is, the picture is divided into a plurality of sub-pictures, and each sub-picture includes a piece of face information.
And S15, respectively inputting each sub-picture into a third-party face detection service system to output a face recognition detection result.
And finally, inputting each sub-picture into a third-party face detection service system respectively, wherein each sub-picture only comprises one face picture, so that the face recognition can be rapidly carried out, and the detection result of the face recognition can be output.
The image-based face recognition method provided by the embodiment comprises the following steps: receiving picture data information; detecting whether the image data information comprises face information or not; if the face information is included, the number of faces contained in the face information is identified; cutting the picture according to the number of the human faces to obtain sub-pictures with the same number as the number of the human faces; each sub-picture is respectively input into the third-party face detection service system to output the detection result of face identification, so that the picture containing a plurality of pieces of face information is cut into a plurality of sub-pictures, each sub-picture only comprises one piece of face identity information, the fact that the third-party face detection service system can complete identity detection verification more quickly when face identification is carried out by the third-party face detection service system can be guaranteed, and the face identity identification efficiency is effectively improved.
Further, in this embodiment, after outputting the detection result of the face recognition, the method further includes: and storing the detection result to a face identity database. After receiving the picture data information, the method further comprises: determining the serial number of the picture data information; detecting whether a serial number exists in a face identity database; if the serial number does not exist, detecting whether the image data information comprises face information or not; if there is a serial number, the process ends. The face identity database is a local database and comprises consistency, availability, partition fault tolerance and protection characteristics.
The part based on artificial intelligence discernment, based on the mode of machine learning, gather artificial intelligence identification data, through marking the data source, improve the speed and the degree of accuracy of discernment, in the identification step, including facial features, face data, extract face data. The database has consistency, usability and partition fault tolerance in the system by storing the data locally through the database, and simultaneously has a protection characteristic for transactional operation of the data in the database, the database transaction is a database operation sequence which accesses and possibly operates various data items, and the operations are either all executed or all not executed and are inseparable work units, so that the completeness and the accuracy of the data in the database are ensured. And calculating the image data through the artificial intelligence field to obtain related human face characteristics, and analyzing the human face number, the human face data and the specific coordinate position data of the photo in which the human face is positioned. The related performance is improved by the advance so as to improve the speed and the accuracy.
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. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
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 charts 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 alternate implementations are included within the scope of the preferred embodiment of the present invention 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 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 recognition method based on pictures is characterized by comprising the following steps:
receiving picture data information;
detecting whether the picture data information comprises face information or not;
if the face information is included, the number of faces contained in the face information is identified;
cutting the picture according to the number of the human faces to obtain sub-pictures with the same number as the number of the human faces;
and respectively inputting each sub-picture into a third-party face detection service system so as to output a face recognition detection result.
2. The picture-based face recognition method according to claim 1, wherein after outputting the detection result of face recognition, the method further comprises:
and storing the detection result to a face identity database.
3. The picture-based face recognition method according to claim 2, wherein after receiving the picture data information, the method further comprises:
determining the serial number of the picture data information;
detecting whether the serial number exists in the face identity database;
if the serial number does not exist, detecting whether the image data information comprises face information or not;
and if the serial number exists, ending the process.
4. The picture-based face recognition method according to claim 1, wherein after detecting whether the picture data information includes the face information, the method further comprises:
and if the face information is not included, sending the unqualified picture information to call the terminal.
5. The method of claim 2, wherein the face identity database is a local database, and the face identity database comprises consistency, availability, partition fault tolerance, and protection characteristics.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110534371.8A CN113239812A (en) | 2021-05-17 | 2021-05-17 | Face recognition method based on picture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110534371.8A CN113239812A (en) | 2021-05-17 | 2021-05-17 | Face recognition method based on picture |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113239812A true CN113239812A (en) | 2021-08-10 |
Family
ID=77134695
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110534371.8A Pending CN113239812A (en) | 2021-05-17 | 2021-05-17 | Face recognition method based on picture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113239812A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015161757A1 (en) * | 2014-04-23 | 2015-10-29 | 北京锤子数码科技有限公司 | Picture thumbnail acquisition method and device |
CN111524145A (en) * | 2020-04-13 | 2020-08-11 | 北京智慧章鱼科技有限公司 | Intelligent picture clipping method and system, computer equipment and storage medium |
CN111652074A (en) * | 2020-05-09 | 2020-09-11 | 济南浪潮高新科技投资发展有限公司 | Face recognition method, device, equipment and medium |
CN111985323A (en) * | 2020-07-14 | 2020-11-24 | 珠海市卓轩科技有限公司 | Face recognition method and system based on deep convolutional neural network |
-
2021
- 2021-05-17 CN CN202110534371.8A patent/CN113239812A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015161757A1 (en) * | 2014-04-23 | 2015-10-29 | 北京锤子数码科技有限公司 | Picture thumbnail acquisition method and device |
CN111524145A (en) * | 2020-04-13 | 2020-08-11 | 北京智慧章鱼科技有限公司 | Intelligent picture clipping method and system, computer equipment and storage medium |
CN111652074A (en) * | 2020-05-09 | 2020-09-11 | 济南浪潮高新科技投资发展有限公司 | Face recognition method, device, equipment and medium |
CN111985323A (en) * | 2020-07-14 | 2020-11-24 | 珠海市卓轩科技有限公司 | Face recognition method and system based on deep convolutional neural network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11682225B2 (en) | Image processing to detect a rectangular object | |
US11374757B2 (en) | Blockchain-based patrol inspection proof storage method, apparatus, and electronic device | |
CN109344722B (en) | User identity determination method and device and electronic equipment | |
US20170228453A1 (en) | Photograph organization based on facial recognition | |
EP3579146A1 (en) | Imaging processing method and device | |
US20120057745A9 (en) | Detection of objects using range information | |
CN104091164A (en) | Face picture name recognition method and system | |
CN114978037B (en) | Solar cell performance data monitoring method and system | |
WO2020056914A1 (en) | Crowd heat map obtaining method and apparatus, and electronic device and readable storage medium | |
CN111507332A (en) | Vehicle VIN code detection method and equipment | |
CN111272388A (en) | Method and device for detecting camera flash lamp | |
CN113255516A (en) | Living body detection method and device and electronic equipment | |
US10915666B2 (en) | Terminal verification method, terminal device, and computer readable storage medium | |
US10915909B2 (en) | Terminal verification method, terminal device, and computer readable storage medium | |
CN113239812A (en) | Face recognition method based on picture | |
US20220122341A1 (en) | Target detection method and apparatus, electronic device, and computer storage medium | |
CN115294203A (en) | Log processing method, apparatus and computer-readable storage medium for electronic map | |
US11645784B1 (en) | Techniques for detecting and classifying relevant changes | |
CN112825145B (en) | Human body orientation detection method and device, electronic equipment and computer storage medium | |
CN107092702B (en) | Geographic information element position comparison checking method and device based on overlapping proportion | |
CN111143626A (en) | Group partner identification method, device, equipment and computer readable storage medium | |
CN111582262A (en) | Segment type liquid crystal picture content identification method, device, equipment and storage medium | |
CN112579747A (en) | Identity information extraction method and device | |
US12051258B2 (en) | Image processing to detect a rectangular object | |
CN110991296B (en) | Video annotation method and device, electronic equipment and computer-readable storage 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 |