Now that face recognition is so hot, major mobile phone manufacturers are also rushing to add this technology to their mobile phones. So, is face recognition technology really difficult, but it is not. Here's how to implement face recognition technology with a 1-line command. Let’s take a look!
Environmental requirementsUbuntu 17.10
Python 2.7.14
Environmental construction1. Install Ubuntu17.10.
2, install Python2.7.14 (Ubuntu17.10 default Python version is 2.7.14)
3, install git, cmake, python-pip
4, install and compile dlib
Before installing face_recogniTIon, you need to install and compile dlib.
5, install face_recogniTIon
After the environment is set up, enter the face_recogniTIon command on the terminal to check whether it is successful.
Face recognitionExample 1 (1 line command for face recognition):
1. First you need to provide a folder with pictures of all the people you want the system to know. Each of them has a picture, and the picture is named after the person:
Photos of babe, Jackie Chan, Joey Yung under the known_people folder
2. Next, you need to prepare another folder with the image you want to identify:
Under the unknown_pic folder is the image to be recognized, in which Han Hong is not recognized by the machine.
3, then you can run the face_recogniTIon command, the two folders just prepared as parameters, the command will return to the image that needs to be identified:
Recognition success! ! !
Example 2 (recognize all faces in the image and display them):
Image for identification
Identify 7 faces from the image and display them
Example 3 (automatic recognition of face features):
Automatic recognition of facial features
Example 4 (Identify who is the face identification):
Display results as shownExample 5 (identifying facial features and beauty):
Android is an open source mobile operating system based on Linux platform released by Google at the end of 2007, and then improved for use in netbooks and MIDs. The platform consists of operating system, user interface and application software, and is claimed to be the first truly open and complete mobile software for mobile terminals.
To put it simply, the Android system is actually a very open system. It can not only realize the functions of the most commonly used notebook computers, but also realize various directional operations like mobile phones. Moreover, it is specially designed for mobile phones. The operating system developed for equipment has advantages in system resource consumption and human-computer interaction design. It is an operating system that combines traditional and advanced advantages.
New Android Tablet,Android Tablet,New Android Tablet
Jingjiang Gisen Technology Co.,Ltd , https://www.jsgisengroup.com