CN112232103A - Face recognition method and system, storage medium, terminal and server - Google Patents
Face recognition method and system, storage medium, terminal and server Download PDFInfo
- Publication number
- CN112232103A CN112232103A CN201910640458.6A CN201910640458A CN112232103A CN 112232103 A CN112232103 A CN 112232103A CN 201910640458 A CN201910640458 A CN 201910640458A CN 112232103 A CN112232103 A CN 112232103A
- Authority
- CN
- China
- Prior art keywords
- user
- facial
- face
- facial features
- recognition
- 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
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/172—Classification, e.g. identification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/94—Hardware or software architectures specially adapted for image or video understanding
- G06V10/95—Hardware or software architectures specially adapted for image or video understanding structured as a network, e.g. client-server architectures
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Human Computer Interaction (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a face recognition method, which comprises the following steps: acquiring facial features of a user provided by a server side; when performing face recognition, acquiring a face image of a user and not storing the face image; and comparing the facial features of the user with the facial image of the user to obtain an identification result. Because the photos do not need to be kept, the personal privacy is further protected, and the size of the algorithm information of the facial features is far smaller than that of the facial photos of people, the method can greatly improve the speed of issuing the identification information of the server, save issuing time and save the storage space of equipment at the equipment end; the method is carried out at the terminal for identification and comparison, and is not influenced by network fluctuation; in addition, the method does not need the terminal to extract the algorithm information of the photo again, and improves the recognition speed.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and a system for facial recognition, a storage medium, a terminal, and a server.
Background
At present, the face recognition technology mainly has two contrast modes:
(1) acquiring face photo information from a server, extracting features at an equipment end to form face features, and finishing comparison between a user and a face feature library when the user appears in front of the equipment;
(2) the server side establishes a face feature library, the equipment side only finishes face capture, and when a user appears in front of the equipment, the equipment captures a photo and sends the photo to the server side for comparison through a network.
These two methods have the following disadvantages:
the equipment end retains user photo information, so that user information leakage is caused, the identification depends on a network, and the whole system is paralyzed when the network is abnormal.
Disclosure of Invention
Objects of the invention
The invention aims to provide a face recognition method and system, a storage medium, a terminal and a server so as to solve the problems that user photo information is reserved at an equipment end, so that the user information is leaked and is greatly influenced by network fluctuation.
(II) technical scheme
To solve the above problem, a first aspect of the present invention provides a face recognition method including: acquiring facial features of a user provided by a server; when the face recognition is carried out, acquiring a face image of a user and not storing the face image; and comparing the facial features of the user with the facial image of the user to obtain an identification result.
Further, the facial features of the user are data information of the face extracted by the server side according to a face recognition algorithm.
Further, the step of comparing the user facial features with the user facial image comprises: directly comparing the user facial features with the user facial image; or extracting the facial features of the user facial image and comparing the facial features with the user facial features provided by the server side.
Further, the recognition result includes: verification success and verification failure.
According to another aspect of the present invention, there is provided a face recognition system including:
the facial feature acquisition module is used for acquiring the facial features of the user provided by the server;
the face recognition module is used for acquiring a face image of a user and not storing the face image when face recognition is carried out;
and the comparison module is used for comparing the facial features of the user with the facial image of the user to obtain an identification result.
Further, the facial features of the user are data information of the face extracted by the server side according to a face recognition algorithm.
Further, the comparison process of the comparison module comprises: directly comparing the user facial features with the user facial image; or extracting the facial features of the user facial image and comparing the facial features with the user facial features provided by the server side.
Further, the recognition result includes: verification success and verification failure.
According to a further aspect of the present invention, there is provided a computer storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of a face recognition method according to any one of the above aspects.
According to still another aspect of the present invention, there is provided a face recognition terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of a face recognition method according to any one of the above aspects when executing the program.
According to still another aspect of the present invention, there is provided a face recognition server, which transmits facial features of a user to a terminal when performing face recognition, and causes a processor of the terminal to execute a computer program stored in a memory, thereby implementing the steps of a face recognition method according to any one of the above aspects.
(III) advantageous effects
The technical scheme of the invention has the following beneficial technical effects:
(1) because the size of the algorithm information of the facial features is far smaller than the size of the face photo, the method can greatly improve the speed of issuing the identification information of the server, save issuing time and save the storage space of equipment at the equipment end;
(2) the terminal does not keep the photos, and personal privacy is protected.
Drawings
Fig. 1 is a flowchart of a face recognition method according to a first embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings in conjunction with the following detailed description. It should be understood that the description is intended to be exemplary only, and is not intended to limit the scope of the present invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
As shown in fig. 1, in a first aspect of the embodiments of the present invention, there is provided a face recognition method, including:
s1: acquiring facial features of a user provided by a server; optionally, the facial features of the user are data information of a face extracted by the server according to a face recognition algorithm, and the algorithm on the terminal can know what the face information is through the data information. The features are features of the registry, and the images are live photos collected by the equipment side.
S2: when performing face recognition, acquiring a face image of a user and not storing the face image;
s3: and comparing the facial features of the user with the facial image of the user to obtain an identification result. Optionally, the step of comparing the facial features of the user with the facial image of the user includes: directly comparing the user facial features with the user facial image; or extracting the facial features of the user facial image and comparing the facial features with the user facial features provided by the server side. The terminal can acquire a snapshot; extracting algorithm information by the algorithm of the terminal; and comparing the extracted algorithm information with the algorithm information issued by the server side. Or, the terminal acquires a snapshot; and directly comparing the picture with the issued algorithm information.
Optionally, the identification result includes: verification success and verification failure. Specifically, the score is given according to the similarity, and the user can adjust the similarity to be more than the calculation verification success and less than the calculation verification failure according to the requirement.
The actual operation flow of the method is that the face features, not the face photos, are issued to the equipment terminal by the server terminal, and the equipment terminal compares the face features with the face feature algorithm information issued by the server terminal when the photos are snap shot by the equipment terminal; the method comprises the steps that a terminal managed by a server side is processed when multiple algorithm versions exist, the server side stores the algorithm versions of the terminal, meanwhile, the server side has algorithm services of the multiple versions, and issuing characteristics are extracted according to the versions; the server side can dynamically add the algorithm service of the new version and unload the algorithm service of the old version. Because the size of the algorithm information of the facial features is far smaller than the size of the face photo, the method can greatly improve the speed of issuing the identification information of the server, save issuing time and save the storage space of equipment at the equipment end; the identification comparison is carried out at the terminal without being influenced by network fluctuation; the terminal does not need to extract the algorithm information of the photo again, so that the recognition speed is improved; the terminal can be used for protecting personal privacy without keeping photos.
In another aspect of an embodiment of the present invention, there is provided a face recognition system including:
the facial feature acquisition module is used for acquiring the facial features of the user provided by the server;
the face recognition module is used for acquiring a face image of a user and not storing the face image when face recognition is carried out;
and the comparison module is used for comparing the facial features of the user with the facial image of the user to obtain an identification result.
Optionally, the facial features of the user are data information of a face extracted by the server according to a face recognition algorithm.
Optionally, the comparing process of the comparing module includes: directly comparing the user facial features with the user facial image; or extracting the facial features of the user facial image and comparing the facial features with the user facial features provided by the server side.
Optionally, the identification result includes: verification success and verification failure.
The actual operation flow of the system is that the face features, not the face photos, are issued by the server side to the equipment terminal, and the equipment terminal compares the face features with the face feature algorithm information issued by the server side when the photos are snap shot by the equipment terminal; the method comprises the steps that a terminal managed by a server side is processed when multiple algorithm versions exist, the server side stores the algorithm versions of the terminal, meanwhile, the server side has algorithm services of the multiple versions, and issuing characteristics are extracted according to the versions; the server side can dynamically add the algorithm service of the new version and unload the algorithm service of the old version. Because the size of the algorithm information of the facial features is far smaller than the size of the face photo, the method can greatly improve the speed of issuing the identification information of the server, save issuing time and save the storage space of equipment at the equipment end; the identification comparison is carried out at the terminal without being influenced by network fluctuation; the terminal does not need to extract the algorithm information of the photo again, so that the recognition speed is improved; the terminal can be used for protecting personal privacy without keeping photos.
In a further aspect of the embodiments of the present invention, there is provided a computer storage medium having a computer program stored thereon, the program, when executed by a processor, implementing the steps of a face recognition method according to any one of the above aspects.
In another aspect of the embodiments of the present invention, there is provided a face recognition terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the face recognition method according to any one of the above schemes when executing the computer program.
In a further aspect of the embodiments of the present invention, there is provided a facial recognition server, wherein the server transmits facial features of a user to a terminal when performing facial recognition, and causes a processor of the terminal to execute a computer program stored in a memory, thereby implementing the steps of the facial recognition method according to any one of the above aspects.
And the server side issues the extracted features related to the human face to the equipment, and when the equipment side carries out human face recognition, the snapshot photos and the features are quickly compared to obtain a recognition result.
The present invention is directed to a face recognition method, comprising: acquiring facial features of a user provided by a server; when face recognition is carried out, acquiring a face image of a user by using a terminal and not storing the face image; and comparing the facial features of the user with the facial image of the user to obtain an identification result. Because the size of the algorithm information of the facial features is far smaller than the size of the face photo, the method can greatly improve the speed of issuing the identification information of the server, save issuing time and save the storage space of equipment at the equipment end; the method is carried out at the terminal for identification and comparison, and is not influenced by network fluctuation; in addition, the method does not need the terminal to extract the algorithm information of the photo again, so that the recognition speed is improved; and the photos do not need to be kept, so that the privacy of the individual is protected.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explaining the principles of the invention and are not to be construed as limiting the invention. Therefore, any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. Further, it is intended that the appended claims cover all such variations and modifications as fall within the scope and boundaries of the appended claims or the equivalents of such scope and boundaries.
Claims (11)
1. A face recognition method, comprising:
acquiring facial features of a user provided by a server side;
when performing face recognition, acquiring a face image of a user and not storing the face image;
and comparing the facial features of the user with the facial image of the user to obtain an identification result.
2. The face recognition method of claim 1, wherein the user face features are data information of face extracted by the server side according to a face recognition algorithm.
3. The method of claim 1, wherein the comparing the user facial features to the user facial image comprises:
directly comparing the user facial features with the user facial image;
or extracting the facial features of the user facial image and comparing the facial features with the user facial features provided by the server side.
4. A face recognition method according to any one of claims 1 to 3, characterized in that the recognition result includes: verification success and verification failure.
5. A facial recognition system, comprising:
the facial feature acquisition module is used for acquiring the facial features of the user provided by the server;
the face recognition module is used for acquiring a face image of a user and not storing the face image when face recognition is carried out;
and the comparison module is used for comparing the facial features of the user with the facial image of the user to obtain an identification result.
6. The face recognition system of claim 5, wherein the facial features of the user are data information of face extracted by the server according to a face recognition algorithm.
7. The face recognition method of claim 5, wherein the comparing process of the comparing module comprises:
directly comparing the user facial features with the user facial image;
or extracting the facial features of the user facial image and comparing the facial features with the user facial features provided by the server side.
8. The face recognition method according to claim 5, wherein the recognition result includes: verification success and verification failure.
9. A computer storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of a method for facial recognition according to any one of claims 1-5.
10. A facial recognition terminal comprising a memory, a processor and a computer program stored on said memory and executable on said processor, said processor implementing the steps of a facial recognition method as claimed in any one of claims 1 to 5 when executing said program.
11. A facial recognition server, characterized in that the server transmits the facial features of a user to a terminal when performing facial recognition, causing a processor of the terminal to execute a computer program stored on a memory to implement the steps of a facial recognition method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910640458.6A CN112232103A (en) | 2019-07-15 | 2019-07-15 | Face recognition method and system, storage medium, terminal and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910640458.6A CN112232103A (en) | 2019-07-15 | 2019-07-15 | Face recognition method and system, storage medium, terminal and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112232103A true CN112232103A (en) | 2021-01-15 |
Family
ID=74111232
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910640458.6A Pending CN112232103A (en) | 2019-07-15 | 2019-07-15 | Face recognition method and system, storage medium, terminal and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112232103A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113343915A (en) * | 2021-06-30 | 2021-09-03 | 成都商汤科技有限公司 | Information processing method, system, device, computer equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103268549A (en) * | 2013-04-24 | 2013-08-28 | 徐明亮 | Mobile payment verification system based on facial features |
CN104639517A (en) * | 2013-11-15 | 2015-05-20 | 阿里巴巴集团控股有限公司 | Method and device for verifying identities by aid of human body biological characteristics |
US20180157898A1 (en) * | 2015-06-15 | 2018-06-07 | Panasonic Intellectual Property Management Co., Ltd. | Facial recognition system, facial recognition server, and facial recognition method |
CN108171137A (en) * | 2017-12-22 | 2018-06-15 | 深圳市泛海三江科技发展有限公司 | A kind of face identification method and system |
CN108189804A (en) * | 2017-12-29 | 2018-06-22 | 威马智慧出行科技(上海)有限公司 | A kind of face identification system and face identification method for vehicle |
CN109117714A (en) * | 2018-06-27 | 2019-01-01 | 北京旷视科技有限公司 | A kind of colleague's personal identification method, apparatus, system and computer storage medium |
CN109241868A (en) * | 2018-08-16 | 2019-01-18 | 平安科技(深圳)有限公司 | Face identification method, device, computer equipment and storage medium |
CN109829071A (en) * | 2018-12-14 | 2019-05-31 | 平安科技(深圳)有限公司 | Face image searching method, server, computer equipment and storage medium |
-
2019
- 2019-07-15 CN CN201910640458.6A patent/CN112232103A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103268549A (en) * | 2013-04-24 | 2013-08-28 | 徐明亮 | Mobile payment verification system based on facial features |
CN104639517A (en) * | 2013-11-15 | 2015-05-20 | 阿里巴巴集团控股有限公司 | Method and device for verifying identities by aid of human body biological characteristics |
US20180157898A1 (en) * | 2015-06-15 | 2018-06-07 | Panasonic Intellectual Property Management Co., Ltd. | Facial recognition system, facial recognition server, and facial recognition method |
CN108171137A (en) * | 2017-12-22 | 2018-06-15 | 深圳市泛海三江科技发展有限公司 | A kind of face identification method and system |
CN108189804A (en) * | 2017-12-29 | 2018-06-22 | 威马智慧出行科技(上海)有限公司 | A kind of face identification system and face identification method for vehicle |
CN109117714A (en) * | 2018-06-27 | 2019-01-01 | 北京旷视科技有限公司 | A kind of colleague's personal identification method, apparatus, system and computer storage medium |
CN109241868A (en) * | 2018-08-16 | 2019-01-18 | 平安科技(深圳)有限公司 | Face identification method, device, computer equipment and storage medium |
CN109829071A (en) * | 2018-12-14 | 2019-05-31 | 平安科技(深圳)有限公司 | Face image searching method, server, computer equipment and storage medium |
Non-Patent Citations (4)
Title |
---|
MUSTAMIN ANGGO等: "Face Recognition Using Fisherface Method", 《JOURNAL OF PHYSICS: CONFERENCE SERIES》, vol. 1028, no. 1, pages 1 - 9 * |
张静端: "基于人脸识别技术的图书馆门禁系统的研究", 《现代电子技术》, vol. 39, no. 18, pages 99 - 103 * |
董超: "面向图像的张量分解算法研究", 《中国优秀硕士学位论文全文数据库:信息科技辑》, no. 2019, pages 138 - 1972 * |
蔡晓东等: "基于多分支卷积神经网络的车辆图像比对方法", 《电视技术》, vol. 40, no. 11, pages 116 - 120 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113343915A (en) * | 2021-06-30 | 2021-09-03 | 成都商汤科技有限公司 | Information processing method, system, device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108733819B (en) | Personnel archive establishing method and device | |
RU2735617C2 (en) | Method, apparatus and system for displaying information | |
CN105893920B (en) | Face living body detection method and device | |
CN107798354B (en) | Image clustering method and device based on face image and storage equipment | |
CN109117778B (en) | Information processing method, information processing apparatus, server, and storage medium | |
CN104021398A (en) | Wearable intelligent device and method for assisting identity recognition | |
CN110675433A (en) | Video processing method and device, electronic equipment and storage medium | |
US20130136320A1 (en) | Computer-readable recording medium storing authentication program, authentication device, and authentication method | |
CN105159913B (en) | Method and device for determining file to be cleaned | |
CN109086670B (en) | Face identification method, device and equipment | |
US20200218903A1 (en) | CCTV video smart surveillance system and method thereof | |
CN112036242B (en) | Face picture acquisition method and device, computer equipment and storage medium | |
CN109088788B (en) | Data processing method, device, equipment and computer readable storage medium | |
CN110276314A (en) | Face identification method and recognition of face video camera | |
AU2019232782A1 (en) | Information processing device, authentication system, authentication method, and program | |
CN111241928A (en) | Face recognition base optimization method, system, equipment and readable storage medium | |
CN112364825A (en) | Method, apparatus and computer-readable storage medium for face recognition | |
CN112232103A (en) | Face recognition method and system, storage medium, terminal and server | |
CN110705469A (en) | Face matching method and device and server | |
CN114501144A (en) | Image-based television control method, device, equipment and storage medium | |
CN106529307B (en) | Photograph encryption method and device | |
CN108922068A (en) | A kind of information processing method and its equipment, storage medium, electronic equipment | |
CN110223219B (en) | 3D image generation method and device | |
CN111260537A (en) | Image privacy protection method and device, storage medium and camera equipment | |
CN112135092B (en) | Image processing method |
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 |