CN110598627A - GUI demonstration tool based on face recognition - Google Patents
GUI demonstration tool based on face recognition Download PDFInfo
- Publication number
- CN110598627A CN110598627A CN201910860816.4A CN201910860816A CN110598627A CN 110598627 A CN110598627 A CN 110598627A CN 201910860816 A CN201910860816 A CN 201910860816A CN 110598627 A CN110598627 A CN 110598627A
- Authority
- CN
- China
- Prior art keywords
- face recognition
- database
- photo
- gui
- face
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- 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/174—Facial expression recognition
Abstract
The invention provides a GUI demonstration tool based on face recognition, which comprises database construction and face recognition, wherein a face recognition visual GUI interface tool is used for calculating an included angle of portrait feature vectors of an input photo and a registered photo by calling a face recognition algorithm model, recognizing a top1 portrait in a database within a set similarity threshold value, and then displaying a recognized name information result list on an interface; the invention is applied to teaching, and can make students more deeply understand the face recognition algorithm; the invention is applied to enterprises, and can enable a decision maker to quickly select a face recognition algorithm model: when the demonstration is reported to the leader, different face recognition algorithm models are called through a GUI visual interface; the decision maker can more intuitively compare the difference of the model accuracy of different face recognition algorithms and the recognition effect, thereby achieving the effect of quickly selecting the model, and saving the decision making cost and the development labor.
Description
Technical Field
The invention belongs to the technical field of face recognition, and particularly relates to a GUI demonstration tool based on face recognition.
Background
The human face recognition is a new technology, and the principle is that identity recognition is performed based on human face information, firstly, features of a human are extracted through a specific algorithm, and then the features are recognized.
However, the existing common face recognition program still has the problems that the mode of calling the face recognition algorithm lacks visual perception, the program calling is complex and tedious, and a non-professional person is not easy to get on the hand.
In summary, the present invention is directed to a GUI demonstration tool based on face recognition, which integrates face snapshot recognition and Spark streaming processing technologies, and aims to address the limitations of the conventional face recognition technology.
Disclosure of Invention
In order to solve the technical problems, the invention provides a GUI demonstration tool based on face recognition, which aims to solve the problems that the existing common face recognition program still exists, the mode of calling a face recognition algorithm has the defects of lack of visual feeling, complicated and tedious program calling, difficulty in hands of non-professionals and the like. A GUI demonstration tool based on face recognition comprises database construction and face recognition, wherein a database in the database construction mainly refers to a registry which needs to be compared by calling a face recognition model algorithm, is a simple version of a portrait library, and comprises two steps of collecting identity photos and establishing a json database; the face recognition is mainly carried out by using a visual GUI interface tool, and the flow comprises the following steps: and running a program to open a GUI interface, importing a face recognition module, loading a face database, loading recognition photos and recognizing the photos.
The collection of the identity photos: under the face/database path in the actual project, an identification photo folder is established for each user, each user only needs to provide one identification photo, and the file name is in a format of 'name _0001. jpg' and is used as a registration library portrait, namely a portrait library base.
The json database is established: and opening the terminal, operating an instruction pythoncreate _ db.py under the project path, displaying detailed information such as total loading time consumption and the like by the terminal, indicating that the json database is completely generated, and simultaneously obtaining a database file database.json under the project path, wherein the content of the database file database is the path of the user identity photo and the face feature vector extracted by the facenet model.
The operation flow of the face recognition comprises the following specific steps:
the first step is as follows: opening a face recognition interface: opening the terminal, and running an instruction python GUI py under the project path; waiting for ten seconds, and popping up a face recognition program interface;
the second step is that: importing the facenet model: clicking a model button to generate a pull-down menu, and clicking a faceNet button to select a folder where the model is located; waiting ten seconds, the model loading is successful;
the third step: loading a face database: clicking a file, displaying a pull-down menu, clicking a database loading button, and displaying the loaded database in a left frame in a list form;
the fourth step: loading a photo to be recognized: firstly, putting a photo to be recognized under a face/test path, then clicking a 'file' button to generate a pull-down menu, clicking a 'reading' button to select the photo to be recognized, and displaying the read photo in a middle block diagram;
the fifth step: recognizing the photo: clicking an 'identification' button to perform face identification on the photo, wherein an identification result is presented in a right frame and is an identity photo of a user; meanwhile, the user identity is marked in a database of the left frame; if there are no portraits in the range of similarity values in the portraits library, a warning will appear.
The face recognition method mainly comprises the steps of calling a face recognition algorithm model by using a visual GUI interface tool, calculating an included angle between portrait feature vectors of an input photo and a registered photo, recognizing top1 portrait in a database within a set similarity threshold value, and displaying a recognized name information result list on an interface.
Compared with the prior art, the invention has the following beneficial effects:
1. the method uses a face recognition visual GUI interface tool to calculate the included angle of the portrait feature vectors of the input photo and the registered photo by calling a face recognition algorithm model, recognizes top1 portrait in a database within a set similarity threshold, and then displays a recognized name information result list on an interface.
2. The invention is applied to teaching, and can make students understand face recognition algorithm more deeply.
3. The invention is applied to enterprises, and can enable a decision maker to quickly select a face recognition algorithm model: and calling different face recognition algorithm models through a GUI visual interface when the demonstration is reported to the leader.
4. The decision maker can more intuitively compare the difference of the model accuracy of different face recognition algorithms and the recognition effect, thereby achieving the effect of quickly selecting the model, and saving the decision making cost and the development labor.
Drawings
FIG. 1 is a flow chart of the principal operation of the present invention.
FIG. 2 is an interface diagram of the present invention for successful recognition against a face image library using a face recognition GUI visual interface tool.
FIG. 3 is a warning diagram of no results of the present invention using a face recognition GUI visual interface tool recognition against a face library.
Detailed Description
The invention is further described below with reference to the accompanying drawings:
example (b):
as shown in figures 1 to 3
The invention provides a GUI demonstration tool based on face recognition, which comprises database construction and face recognition, wherein the database in the database construction mainly refers to a registry which needs to be compared by calling a face recognition model algorithm, and is a simple version of a portrait library, and the database construction comprises two steps of collecting identity photos and establishing a json database; the face recognition is mainly carried out by using a visual GUI interface tool, and the flow comprises the following steps: and running a program to open a GUI interface, importing a face recognition module, loading a face database, loading recognition photos and recognizing the photos.
The collection of the identity photos: under the face/database path in the actual project, an identification photo folder is established for each user, each user only needs to provide one identification photo, and the file name is in a format of 'name _0001. jpg' and is used as a registration library portrait, namely a portrait library base.
The json database is established: and opening the terminal, operating an instruction pythoncreate _ db.py under the project path, displaying detailed information such as total loading time consumption and the like by the terminal, indicating that the json database is completely generated, and simultaneously obtaining a database file database.json under the project path, wherein the content of the database file database is the path of the user identity photo and the face feature vector extracted by the facenet model.
The operation flow of the face recognition comprises the following specific steps:
the first step is as follows: opening a face recognition interface: opening the terminal, and running an instruction python GUI py under the project path; waiting for ten seconds, and popping up a face recognition program interface;
the second step is that: importing the facenet model: clicking a model button to generate a pull-down menu, and clicking a faceNet button to select a folder where the model is located; waiting ten seconds, the model loading is successful;
the third step: loading a face database: clicking a file, displaying a pull-down menu, clicking a database loading button, and displaying the loaded database in a left frame in a list form;
the fourth step: loading a photo to be recognized: firstly, putting a photo to be recognized under a face/test path, then clicking a 'file' button to generate a pull-down menu, clicking a 'reading' button to select the photo to be recognized, and displaying the read photo in a middle block diagram;
the fifth step: recognizing the photo: clicking an 'identification' button to perform face identification on the photo, wherein an identification result is presented in a right frame and is an identity photo of a user; meanwhile, the user identity is marked in a database of the left frame; if there are no portraits in the range of similarity values in the portraits library, a warning will appear.
The face recognition method mainly comprises the steps of calling a face recognition algorithm model by using a visual GUI interface tool, calculating an included angle between portrait feature vectors of an input photo and a registered photo, recognizing top1 portrait in a database within a set similarity threshold value, and displaying a recognized name information result list on an interface.
Principle of operation
In the invention, a face recognition interface is opened: opening the terminal, and running an instruction python GUI py under the project path; waiting for ten seconds, and popping up a face recognition program interface; importing the facenet model: clicking a model button to generate a pull-down menu, and clicking a faceNet button to select a folder where the model is located; waiting ten seconds, the model loading is successful; loading a face database: clicking a file, displaying a pull-down menu, clicking a database loading button, and displaying the loaded database in a left frame in a list form; loading a photo to be recognized: firstly, putting a photo to be recognized under a face/test path, then clicking a 'file' button to generate a pull-down menu, clicking a 'reading' button to select the photo to be recognized, and displaying the read photo in a middle block diagram; recognizing the photo: clicking an 'identification' button to perform face identification on the photo, wherein an identification result is presented in a right frame and is an identity photo of a user; meanwhile, the user identity is marked in a database of the left frame; if there is no portrait in the range of similarity value in the portrait library, a warning will appear; the GUI demonstration tool based on the face recognition calculates the included angle of the portrait feature vectors of the input photo and the registered photo by calling a face recognition algorithm model, recognizes top1 portrait in the database within the set similarity threshold, and then displays the recognized name information result list on the interface.
The technical solutions of the present invention or similar technical solutions designed by those skilled in the art based on the teachings of the technical solutions of the present invention are all within the scope of the present invention to achieve the above technical effects.
Claims (5)
1. A GUI presentation tool based on face recognition is characterized in that: the GUI demonstration tool based on the face recognition comprises database construction and face recognition, wherein the database in the database construction mainly refers to a registry which needs to be compared by calling a face recognition model algorithm, is a simple version of a portrait library, and comprises two steps of collecting identity photos and establishing a json database; the face recognition is mainly carried out by using a visual GUI interface tool, and the flow comprises the following steps: and running a program to open a GUI interface, importing a face recognition module, loading a face database, loading recognition photos and recognizing the photos.
2. The face recognition based GUI presentation tool of claim 1, wherein: the collection of the identity photos: under the face/database path in the actual project, an identification photo folder is established for each user, each user only needs to provide one identification photo, and the file name is in a format of 'name _0001. jpg' and is used as a registration library portrait, namely a portrait library base.
3. The face recognition based GUI presentation tool of claim 1, wherein: the json database is established: and opening the terminal, operating an instruction pythoncreate _ db.py under the project path, displaying detailed information such as total loading time consumption and the like by the terminal, indicating that the json database is completely generated, and simultaneously obtaining a database file database.json under the project path, wherein the content of the database file database is the path of the user identity photo and the face feature vector extracted by the facenet model.
4. The face recognition based GUI presentation tool of claim 1, wherein: the operation flow of the face recognition comprises the following specific steps:
the first step is as follows: opening a face recognition interface: opening the terminal, and running an instruction python GUI py under the project path; waiting for ten seconds, and popping up a face recognition program interface;
the second step is that: importing the facenet model: clicking a model button to generate a pull-down menu, and clicking a faceNet button to select a folder where the model is located; waiting ten seconds, the model loading is successful;
the third step: loading a face database: clicking a file, displaying a pull-down menu, clicking a database loading button, and displaying the loaded database in a left frame in a list form;
the fourth step: loading a photo to be recognized: firstly, putting a photo to be recognized under a face/test path, then clicking a 'file' button to generate a pull-down menu, clicking a 'reading' button to select the photo to be recognized, and displaying the read photo in a middle block diagram;
the fifth step: recognizing the photo: clicking an 'identification' button to perform face identification on the photo, wherein an identification result is presented in a right frame and is an identity photo of a user; meanwhile, the user identity is marked in a database of the left frame; if there are no portraits in the range of similarity values in the portraits library, a warning will appear.
5. The face recognition based GUI presentation tool of claim 1, wherein: the face recognition method mainly comprises the steps of calling a face recognition algorithm model by using a visual GUI interface tool, calculating an included angle between portrait feature vectors of an input photo and a registered photo, recognizing top1 portrait in a database within a set similarity threshold value, and displaying a recognized name information result list on an interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910860816.4A CN110598627A (en) | 2019-09-11 | 2019-09-11 | GUI demonstration tool based on face recognition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910860816.4A CN110598627A (en) | 2019-09-11 | 2019-09-11 | GUI demonstration tool based on face recognition |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110598627A true CN110598627A (en) | 2019-12-20 |
Family
ID=68859043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910860816.4A Pending CN110598627A (en) | 2019-09-11 | 2019-09-11 | GUI demonstration tool based on face recognition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110598627A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130318453A1 (en) * | 2012-05-23 | 2013-11-28 | Samsung Electronics Co., Ltd. | Apparatus and method for producing 3d graphical user interface |
CN103425485A (en) * | 2013-05-18 | 2013-12-04 | 冯俊 | Interface edition and operation system and method for ordinary users |
CN105844220A (en) * | 2016-03-18 | 2016-08-10 | 中兴智能视觉大数据技术(湖北)有限公司 | Intelligent dynamic face-identification enjoyable identity management system |
CN107016341A (en) * | 2017-03-03 | 2017-08-04 | 西安交通大学 | A kind of embedded real-time face recognition methods |
CN107766811A (en) * | 2017-10-10 | 2018-03-06 | 浙江大学 | A kind of face identification method and system based on complicated flow structure |
CN109243144A (en) * | 2018-10-16 | 2019-01-18 | 南京伊斯特机械设备有限公司 | A kind of recognition of face warning system and its method for fatigue driving |
-
2019
- 2019-09-11 CN CN201910860816.4A patent/CN110598627A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130318453A1 (en) * | 2012-05-23 | 2013-11-28 | Samsung Electronics Co., Ltd. | Apparatus and method for producing 3d graphical user interface |
CN103425485A (en) * | 2013-05-18 | 2013-12-04 | 冯俊 | Interface edition and operation system and method for ordinary users |
CN105844220A (en) * | 2016-03-18 | 2016-08-10 | 中兴智能视觉大数据技术(湖北)有限公司 | Intelligent dynamic face-identification enjoyable identity management system |
CN107016341A (en) * | 2017-03-03 | 2017-08-04 | 西安交通大学 | A kind of embedded real-time face recognition methods |
CN107766811A (en) * | 2017-10-10 | 2018-03-06 | 浙江大学 | A kind of face identification method and system based on complicated flow structure |
CN109243144A (en) * | 2018-10-16 | 2019-01-18 | 南京伊斯特机械设备有限公司 | A kind of recognition of face warning system and its method for fatigue driving |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018028546A1 (en) | Key point positioning method, terminal, and computer storage medium | |
US20200412975A1 (en) | Content capture with audio input feedback | |
CN107358223B (en) | Face detection and face alignment method based on yolo | |
CN109284729B (en) | Method, device and medium for acquiring face recognition model training data based on video | |
CN102970411B (en) | Smart mobile phone screen locking solution lock control method and smart mobile phone based on Face datection | |
CN112052186B (en) | Target detection method, device, equipment and storage medium | |
WO2017101267A1 (en) | Method for identifying living face, terminal, server, and storage medium | |
WO2019096174A1 (en) | Method and apparatus for garment color identification of figure images, and electronic device | |
CN103824059A (en) | Facial expression recognition method based on video image sequence | |
CN108229324A (en) | Gesture method for tracing and device, electronic equipment, computer storage media | |
US20150169942A1 (en) | Terminal configuration method and terminal | |
TW201003539A (en) | Method, apparatus and computer program product for providing gesture analysis | |
CN105335719A (en) | Living body detection method and device | |
WO2018214115A1 (en) | Face makeup evaluation method and device | |
CN109559362B (en) | Image subject face replacing method and device | |
CN107798314A (en) | Skin color detection method and device | |
CN109344864B (en) | Image processing method and device for dense object | |
CN109948450A (en) | A kind of user behavior detection method, device and storage medium based on image | |
CN110533090A (en) | Switch tool condition detection method and device | |
CN109286848B (en) | Terminal video information interaction method and device and storage medium | |
CN106961558A (en) | One kind is taken pictures treating method and apparatus | |
CN113076903A (en) | Target behavior detection method and system, computer equipment and machine readable medium | |
CN111241873A (en) | Image reproduction detection method, training method of model thereof, payment method and payment device | |
US20210291380A1 (en) | Expression feedback method and smart robot | |
CN113159876B (en) | Clothing collocation recommendation device, method and 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191220 |
|
RJ01 | Rejection of invention patent application after publication |