WO2020173117A1 - 人脸识别方法、神经网络训练方法、装置及电子设备 - Google Patents
人脸识别方法、神经网络训练方法、装置及电子设备 Download PDFInfo
- Publication number
- WO2020173117A1 WO2020173117A1 PCT/CN2019/114674 CN2019114674W WO2020173117A1 WO 2020173117 A1 WO2020173117 A1 WO 2020173117A1 CN 2019114674 W CN2019114674 W CN 2019114674W WO 2020173117 A1 WO2020173117 A1 WO 2020173117A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- face
- type image
- image sample
- camera
- image
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/0464—Convolutional networks [CNN, ConvNet]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/09—Supervised learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/168—Feature extraction; Face representation
Definitions
- the present disclosure relates to the field of image processing technology, and in particular to a face recognition method, a neural network training method, a device, and an electronic device.
- the present disclosure provides a technical solution for face recognition and a technical solution for neural network training.
- embodiments of the present disclosure provide a face recognition method, including:
- the first face feature is compared with the pre-stored second face feature to obtain a reference similarity.
- the second face feature is obtained by extracting the feature of the second face image acquired by the second camera, so The second camera and the first camera belong to different types of cameras;
- the first face image and the second face image can be recognized, and the first face image and the second face image are acquired by different types of cameras.
- the first face image and the second face image are acquired through different types of cameras, so that the face recognition method provided by the embodiments of the present disclosure can be applied to more scenarios, which is not only convenient for face authentication, but also The camera used for face registration is also not limited, which improves the convenience of face registration.
- embodiments of the present disclosure provide a neural network training method, including:
- first type image sample and a second type image sample Acquire a first type image sample and a second type image sample, the first type image sample and the second type image sample are taken by different types of cameras, and the first type image sample and the second type
- the image samples include human faces
- the neural network is trained by using facial images captured by different types of cameras, which can effectively improve the accuracy of the facial features output by the neural network; at the same time, face recognition is performed and the neural network is used to extract human faces It also effectively improves the accuracy of face recognition.
- a face recognition device including:
- the first acquiring unit is configured to acquire the first face image through the first camera
- the first extraction unit is configured to extract the first face feature of the first face image
- the comparison unit is used to compare the first face feature with the pre-stored second face feature to obtain a reference Similarity, the second face feature is obtained by extracting the feature of a second face image obtained by a second camera, and the second camera and the first camera are different types of cameras;
- the determining unit is configured to determine whether the first facial feature and the second facial feature correspond to the same person according to the reference similarity.
- a neural network training device including:
- the acquiring unit is configured to acquire a first type image sample and a second type image sample, the first type image sample and the second type image sample are taken by different types of cameras, and the first type image sample and The second type image samples include human faces;
- an embodiment of the present disclosure also provides an electronic device, including: a processor and a memory; the memory is used for coupling with the processor, the memory is also used for storing program instructions, and the processor is It is configured to support the electronic device to perform corresponding functions in the method of the first aspect.
- the embodiments of the present disclosure also provide an electronic device, including: a processor and a memory; the memory is used for coupling with the processor, the memory is also used for storing program instructions, and the processor is It is configured to support the electronic device to perform the corresponding function in the method of the second aspect.
- the embodiments of the present disclosure also provide a face recognition system.
- the face recognition system includes: a neural network training device and a face recognition device; the neural network training device and the face recognition device are coupled ;
- the neural network training device is used to train a neural network
- the face recognition device is used to apply the neural network trained by the neural network training device.
- the embodiments of the present disclosure provide a computer-readable storage medium having instructions stored in the computer-readable storage medium, which when run on a computer, cause the computer to execute the methods described in the above aspects.
- the embodiments of the present disclosure provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the methods described in the foregoing aspects.
- the applicant of the present disclosure found in the process of implementing the embodiments of the present disclosure that traditional face recognition methods often restrict the image type to be authenticated and the image type registered to the same image type. If the registration process uses RGB images, the authentication process also needs to be used RGB images, thus limiting the application of traditional face recognition schemes in scenes involving multiple types of cameras.
- the embodiment of the present disclosure provides a face recognition solution for scenes involving multiple types of cameras.
- the face image of the second face image obtained by one type of camera is used as the base library feature, and another The face feature of the first face image acquired by the type camera is compared with the base library feature, and face recognition is realized according to the comparison result, so that the face recognition method provided by the embodiment of the present disclosure can be applied to more scenes. It is convenient for face authentication, and the camera for face registration is not limited, which improves the convenience of face registration.
- FIG. 1 is a schematic flowchart of a face recognition method provided by an embodiment of the present disclosure
- FIG. 2 is a schematic flowchart of a neural network training method provided by an embodiment of the present disclosure
- FIG. 3 is a schematic diagram of a training process provided by an embodiment of the present disclosure.
- FIG. 4 is a schematic structural diagram of a face recognition device provided by an embodiment of the present disclosure
- 5 is a schematic structural diagram of another face recognition device provided by an embodiment of the present disclosure
- Fig. 6 is a schematic structural diagram of a neural network training device provided by an embodiment of the present disclosure.
- FIG. 7 is a schematic structural diagram of a training unit provided by an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of another neural network training device provided by an embodiment of the present disclosure.
- FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
- FIG. 1 is a schematic flowchart of a face recognition method provided by an embodiment of the present disclosure.
- the face recognition method can be applied to a face recognition device, and the face recognition method can also be applied to an electronic device.
- the electronic device may include a server or a terminal device, and the server may include any type of server, such as a cloud server, etc., which is not limited in the embodiment of the present disclosure.
- the terminal device may include a mobile phone, a tablet computer, a desktop computer, a vehicle-mounted device, a driver status monitoring system, a ride management system, a car rental management system, a car-hailing management system, etc.
- the specific form of the terminal device in the embodiments of the present disclosure No uniqueness restriction. The following takes the face recognition method applied to an electronic device as an example for description.
- the face recognition method includes:
- the first face image may include an image captured by the first camera; or, the first face image may also include any frame image in the video stream data captured by the first camera, etc.
- the embodiment of the present disclosure does not limit the source of the first face image.
- the first camera may be a thermal imaging camera, or alternatively, the first camera is a visible light camera.
- the second camera when the first camera is a thermal imaging camera, the second camera may be another camera different from the thermal imaging camera, for example, the second camera may be a visible light camera.
- the first camera is a visible light camera
- the second camera may be another camera different from the visible light camera, for example, the second camera may be a thermal imaging camera.
- the visible light camera may include a red green blue (RGB) camera.
- the thermal imaging camera may include an infrared radiation (IR) camera.
- the IR camera imaging is not disturbed by ambient light / different application scenarios such as day or night, sunny, cloudy or rainy, external road or tunnel, etc., can collect images with little difference in quality.
- RGB cameras are cheap and widely used.
- RGB cameras are deployed in many terminals or scenes, and RGB images are also very popular and universal. Therefore, the vehicle-mounted camera can be an IR camera in a vehicle application scenario. Therefore, the RGB camera is used for face registration, which improves the convenience and flexibility of registration, and the IR camera is used for face recognition, which facilitates the use of vehicle cameras for real-time image collection, and unlocks, authority control, and personnel/vehicle management based on the results of face recognition Wait for processing. It is understandable that the above are only examples, and in specific implementation, other types of cameras may be included, which will not be listed here.
- the first camera may be an external camera connected to the electronic device, or the electronic device Built-in cameras and so on, the embodiments of the present disclosure do not limit the specific implementation form of the first camera.
- the first camera and the second camera may also be different types of vehicle-mounted cameras, that is, the first face image may be a face image obtained based on the vehicle-mounted camera in the driving area of the vehicle .
- the first camera can be built in the camera, or, in the mobile phone, and Or, it is built into an in-vehicle device, etc.
- the embodiment of the present disclosure does not uniquely limit the specific forms of the first camera and the second camera.
- acquiring the first face image through the first camera includes:
- the first face image is acquired through the vehicle-mounted camera, and the first face image includes the face image of the user of the vehicle.
- vehicles may include motorized vehicles, non-motorized vehicles, automobiles, trucks, shuttle buses, taxis, two-wheeled vehicles, tricycles, four-wheeled and more than four-wheeled vehicles, toy cars, model robots, remote-controlled cars, etc.
- the disclosed embodiment does not limit the specific type of the vehicle.
- the user of the vehicle may include one or more of a person driving a vehicle, a person riding a vehicle, a person repairing the vehicle, a person refueling the vehicle, and a person controlling the vehicle.
- the person who controls the vehicle can be like the person who controls the remote control car
- the person who refuels the vehicle can be like the refueling worker
- the person who modifies the vehicle can be like the auto repair worker
- the person who rides the vehicle can be like taking a taxi or taking a shuttle bus, etc.
- the person who drives the vehicle can be the driver, etc.
- the embodiments of the present disclosure do not limit the specific types of the above vehicle users.
- the embodiment of the present disclosure also provides a trigger condition for when the electronic device obtains the first face image, such as obtaining the first face image through a vehicle-mounted camera
- the image includes: in the case of receiving the trigger instruction, obtaining the first face image through the vehicle-mounted camera;
- the trigger instruction may be a trigger instruction input by a user received by the electronic device, or a trigger instruction sent by other electronic devices connected to the electronic device, etc.
- the source and specific form of the trigger instruction in this embodiment Not limited.
- the vehicle when the vehicle is running, it can be understood as when the vehicle is on fire, that is, when the electronic device detects that the vehicle is running, the electronic device can acquire the face image of the user in the driving area of the vehicle. An image of a human face.
- the reference speed is used to measure how much the running speed of the vehicle reaches when the electronic device obtains the first face image. Therefore, the specific reference speed is not limited.
- the reference speed can be set by the user, can also be set by a device connected to the electronic device to measure the running speed of the vehicle, or can be set by the electronic device, etc., which is not limited in this embodiment.
- the first face image is acquired by setting the trigger condition, so that the identity of the vehicle user is recognized, which can effectively improve the efficiency of face recognition by the electronic device.
- the electronic device can extract the first face feature of the first face image by any method.
- the electronic device can extract the first face feature by using a feature point extraction algorithm, where the feature point
- the extraction may use, but is not limited to, susan operator feature extraction, harris operator feature extraction, sift feature extraction, or neural network feature extraction, and so on.
- the electronic device uses geometric feature facial feature extraction methods or template matching-based facial feature extraction The method is used to extract the first facial feature, etc.
- the embodiment of the present disclosure does not limit how the electronic device extracts the first facial feature.
- the electronic device may extract the first face feature of the first face through a neural network, where the neural network may be a neural network that has been trained in advance.
- the pre-trained neural network can be a neural network trained by the electronic device in the embodiment of the present disclosure; it can also be a neural network trained by other equipment, and then the electronic device in the embodiment of the present disclosure learns from the other equipment.
- the acquired neural network, etc., are not limited in the embodiment of the present disclosure.
- the neural network may be designed by stacking network layers such as a convolutional layer, a nonlinear layer, and a pooling layer in a certain manner.
- the embodiment of the present disclosure does not limit the specific network structure.
- the designed neural network can be trained thousands or even tens of thousands of times by using supervised or weakly supervised methods based on the image with the annotation information. Network parameters until the training completion conditions predetermined by the neural network are met. Specific training methods are not limited in the embodiments of the present disclosure.
- the use of neural networks for feature extraction of face images can achieve end-to-end output.
- the first face image is input to a pre-trained neural network, and the output neural network performs feature extraction on the first face image.
- the obtained feature map is the process of end-to-end facial image feature extraction.
- face feature extraction is to perform face feature extraction for certain features of the face, and face features can also be called face representation.
- extracting facial features through a neural network can be specifically extracting deep-level abstract features of a human face through a deep neural network.
- the first face image is input to a pre-trained neural network, and the first face feature of the first face image is output through the neural network; wherein the neural network is based on the first type image sample and the second type image sample
- the first type image samples and the second type image samples are taken by different types of cameras, and the first type image samples and the second type image samples include human faces.
- the present disclosure trains the neural network by using image samples taken by two different types of cameras, so that the neural network can learn the feature extraction capabilities of different types of images, and thus realizes the ability to extract different types of images based on the trained neural network. Facial recognition capabilities.
- the first face feature is compared with a pre-stored second face feature to obtain a reference similarity.
- the second face feature is obtained by extracting the feature of the second face image obtained by the second camera, and the second camera It is a different type of camera from the first camera.
- the first face image can be understood as a face image that needs to be authenticated, or can be understood as a face image that needs to be recognized, or can be understood as a face image that needs to be queried.
- the second face image can be understood as the face image during face registration, or can also be understood as the face image saved in the identity database.
- the identity database stores identity information and the facial features corresponding to each identity information. The following will take the first face image as the face image that needs face recognition and the second face image as the face image when face registration is used as an example.
- the first camera and the second camera belong to different types of cameras, that is, the first face image and the second face image can be understood as different types of face images.
- the first face image is an RGB face image
- the second face image may be an IR face image.
- the first face image is an IR face image
- the second face image is an RGB face image.
- other types of face images, etc. which are not limited in the embodiment of the present disclosure.
- the specific description of the first camera and the second camera please refer to the foregoing embodiment, which will not be described in detail here.
- the reference similarity is the degree of similarity between the first face image belonging to the user corresponding to the second face image in the identity database, that is, the reference similarity can be used to represent the first face image and the second face image. Face images correspond to the same How similar people are.
- the electronic device can obtain the reference similarity through the comparison between the facial features.
- an embodiment of the present disclosure also provides a method for acquiring the face features of the second face image, such as the first Before the face feature is compared with the pre-stored second face feature, the method shown in Figure 1 further includes:
- This embodiment does not limit the method for extracting the facial features of the second facial image.
- the facial features of the second facial image can be extracted through a neural network completed in advance to obtain the second facial features.
- a local binary pattern (local binary patterns, LBP) method can also be used to extract the face features of the second face image.
- LBP local binary patterns
- Another example is the sift feature extraction method, the geometric feature facial feature extraction method, the facial feature extraction method based on template matching, etc., to extract the facial features of the second face image. It can be understood that this embodiment does not uniquely limit how to extract the facial features of the second facial image. In this embodiment, by storing the second facial feature in the electronic device, it can provide guarantee for facial recognition.
- the reference similarity can be compared with the similarity threshold (which can be understood as a static similarity threshold). If the reference similarity is not less than the similarity threshold, it can be determined that the first facial feature and the second facial feature correspond to the same person. If the reference similarity is less than the similarity threshold, it can be determined that the first facial feature and the second facial feature correspond to different people.
- the similarity threshold which can be understood as a static similarity threshold
- an embodiment of the present disclosure also provides a method for using a dynamic similarity threshold to determine whether the first facial feature and the second facial feature correspond to the same person. For example, determining whether the first face feature and the second face feature correspond to the same person according to the reference similarity, including:
- the reference false alarm rate and the similarity threshold it is determined whether the first facial feature and the second facial feature correspond to the same person; wherein, different false alarm rates correspond to different similarity thresholds.
- different false alarm rates correspond to different similarity thresholds, that is, there is a corresponding relationship between the false alarm rate and the similarity threshold.
- the similarity threshold value corresponding to different false alarm rates is not limited in the embodiment of the present disclosure.
- the corresponding relationship between the false alarm rate and the similarity threshold can be set by the user, or can also be set independently by the electronic device, etc., which is not limited in the embodiment of the present disclosure.
- the reference false alarm rate in the embodiment of the present disclosure is a false alarm rate determined by the electronic device, such as a false alarm determined by the electronic device from the correspondence between the false alarm rate and the similarity threshold. rate.
- the relationship between the false alarm rate and the similarity threshold is as follows: when the false alarm rate is 1 in 10,000, the similarity threshold is 0.7; when the false alarm rate is 1 in 100,000, the similarity threshold can be 0.8 ; When the false alarm rate is one in a million, the similarity threshold can be 0.9; when the false alarm rate is one in ten million, the similarity threshold is 0.98. Therefore, after the reference false alarm rate is determined, the electronic device can determine the similarity threshold according to the reference false alarm rate, and thereby determine the first face feature and the similarity threshold according to the obtained reference similarity and the determined similarity threshold. Whether the second face feature corresponds to the same person. It can be understood that the disclosed embodiment does not limit how the electronic device determines the reference false alarm rate. For example, the electronic device can be determined by a user inputting a definite instruction, or by other methods.
- different similarity thresholds are obtained through different false alarm rates to determine the first face feature Whether it corresponds to the same person with the second face feature, avoiding the use of a fixed similarity threshold to authenticate the face, which can dynamically determine the similarity used to measure the relationship between the two face images, and improve Improve the accuracy of face recognition.
- the embodiment of the present disclosure also provides a method for determining whether the first facial feature and the second facial feature correspond to the same person, such as determining whether the first facial feature and the second facial feature correspond to the reference similarity Corresponding to the same person, including:
- the threshold information is obtained based on the similarity of the positive sample pair and the similarity of the negative sample pair and the preset different false alarm rates; wherein, the positive sample pair and the negative sample pair are based on the first type image and the second type image Obtained, each positive sample pair includes two images, and the faces in the two images correspond to the same person; each negative sample pair includes two images, and the faces in the two images correspond to different people, and the positive The similarity between the sample pair and the negative sample pair is determined by the pre-trained neural network.
- the threshold information may include a first threshold and a second threshold, so that the electronic device may determine a normalized reference similarity according to the reference similarity and the first threshold and the second threshold, where the The reference similarity is between the first threshold and the second threshold, and in the threshold information, the reference similarity is closest to the first threshold and the second threshold.
- the first type image and the second type image are obtained by different types of cameras.
- the first threshold and the second threshold can be determined from the threshold information by referring to the similarity, so that the electronic device can determine the normalized reference similarity according to the first threshold and the second threshold.
- the normalized reference similarity is the final similarity used to determine whether the first facial feature and the second facial feature correspond to the same person. For example / the reference similarity value in T (nl) (such as a first threshold value) between T (n) (as a second threshold value) and then return the reference of the degree of similarity may be determined as a 0.3 ⁇ n-1 >10 + 0.1*(Reference similarity-T(nl))*(T(n)-T(nl)). It can be understood that the above is only an example of a normalization method, and should not be construed as a limitation to this embodiment.
- the electronic device can use a fixed similarity threshold to determine whether the first facial feature and the second facial feature correspond to the same person.
- the electronic device can also use a dynamic similarity threshold (that is, different similarity thresholds are obtained according to different false alarm rates) to determine whether the first facial feature and the second facial feature correspond to the same person.
- the implementation of this embodiment can further improve the accuracy for determining whether the first facial feature and the second facial feature correspond to the similarity of the same person, and improve the accuracy of face authentication.
- the embodiment of the present disclosure also provides a face recognition method, which determines whether the first face feature and the second face feature correspond to the same person according to the reference similarity, the reference false alarm rate, and the similarity threshold, including:
- the second facial feature with the highest similarity and the first facial feature is greater than the similarity threshold, it is determined that the second facial feature with the highest similarity corresponds to the same person as the first facial feature.
- the electronic device can separately obtain the reference similarity between the first facial feature and the at least two second facial features, so as to determine the one with the highest similarity to the first facial feature from the at least two reference similarities The second face feature, however Then compare whether the reference similarity between the second face feature with the highest similarity and the first face feature is greater than the similarity threshold (obtained according to different false alarm rates), if it is greater, it means that the second with the highest similarity
- the face feature corresponds to the same person as the first face feature.
- the number of normalized reference similarities obtained by the electronic device according to the reference similarities between the first face feature and the at least two second face features also includes at least two. Therefore, after the normalized reference similarity is determined, the electronic device can also determine the second face feature with the highest similarity to the first face feature according to the normalized reference similarity, and the second face feature is similar to the first face feature. If the normalized reference similarity between the second face feature with the highest facial feature similarity and the first face feature is greater than the similarity threshold (which can be obtained according to different false alarm rates), it can be determined as A second face feature with the highest degree of facial feature similarity belongs to the same face as the face in the first face feature, that is, corresponds to the same person.
- the similarity threshold which can be obtained according to different false alarm rates
- the electronic device needs to compare whether the face image during registration and the face image during face recognition correspond to the same person. Therefore, the embodiment of the present disclosure is for the electronic device that obtains the face image during face registration. And whether the electronic device that obtains the face image during face recognition is the same type (or the same) electronic device is not limited.
- the applicant of the present disclosure found in the process of implementing the embodiments of the present disclosure that traditional face recognition methods often restrict the image type to be authenticated and the image type registered to the same image type. If the registration process uses RGB images, the authentication process also needs to be used RGB images, thus limiting the application of traditional face recognition schemes in scenes involving multiple types of cameras.
- the embodiment of the present disclosure provides a face recognition solution for scenes involving multiple types of cameras.
- the face image of the second face image obtained by one type of camera is used as the base library feature, and another The face feature of the first face image acquired by the type camera is compared with the base library feature, and face recognition is realized according to the comparison result, so that the face recognition method provided by the embodiment of the present disclosure can be applied to more scenes. It is convenient for face authentication, and the camera for face registration is not limited, which improves the convenience of face registration.
- the user can complete the face registration through the mobile phone, that is, the registration process is performed by the face image taken by the camera set on the mobile phone. Since the mobile phone is usually set with a visible light camera (such as an RGB camera), the registered face The image is the second face image taken by the RGB camera. Then the registered face image is sent to the vehicle-mounted device through the mobile phone or via the server through the mobile phone, and the vehicle-mounted device stores the registered face image, that is, the vehicle-mounted device stores the second face image.
- a visible light camera such as an RGB camera
- the user can capture the second face image through the visible light camera set on the mobile phone, and then send the second face image to the server or vehicle-mounted device, thereby completing the registration of the second face image on the server or vehicle-mounted device After the registration is completed, the second facial feature extracted based on the second facial image is saved.
- the user collects the face image (ie the first face image) that needs to be recognized through the vehicle-mounted device.
- the vehicle-mounted device can be equipped with an infrared camera, so that the IR face image taken by the infrared camera can be used as the waiting
- the image for face recognition is the first face image.
- the in-vehicle device extracts the facial features of the IR image, and then compares the facial features of the IR image with the facial features of the registered RGB image to determine whether the user to be identified and the registered user are the same person.
- the first scenario shown in the embodiment of the present disclosure can be applied to a driver status monitoring system, a ride management system, a car rental management system, a car-hailing management system, and so on.
- a driver status monitoring system the system often includes several modules such as face recognition, driver motion detection, driver fatigue detection, and driver attention monitoring. Therefore, in the face recognition phase of the above system, the method shown in scene 1 can be used to perform face recognition to determine the driver’s body. Or the identity of the person renting the vehicle, etc.
- the face recognition method provided in the embodiments of the present disclosure can also be applied to a community access control management system and a security deployment control system, etc., for example, a community access control management system:
- Registration process Users (residents in a certain community) can register their faces through their mobile phones, that is, the visible light camera (such as an RGB camera) set on the mobile phone obtains the user's face image, which is the second face image. Then the registered face image is sent to the access control device via the mobile phone or via the server via the mobile phone, and the access control device stores the second face image. Alternatively, the user can capture the second face image through the visible light camera set on the mobile phone, and then send the second face image to the access control device, so that the access control device completes the registration of the second face image. After completion, save the second face feature extracted based on the second face image.
- the visible light camera such as an RGB camera
- the access control device can obtain the user's face image, that is, the first face image, through an infrared camera (such as an IR camera). Then the access control device extracts the face features of the first face image to obtain the first face feature. The access control will compare the first face image taken by the IR camera, that is, the face feature of the IR image with the registered face feature through RGB The facial features of the RGB images captured by the camera are compared to determine whether the user to enter the cell and the registered user are the same person.
- an infrared camera such as an IR camera
- the methods provided in the embodiments of the present disclosure can also be applied to more scenarios, such as the methods provided in the embodiments of the present disclosure.
- terminal unlocking such as mobile phone unlocking and bank identity authentication systems, etc.
- the embodiment of the present disclosure does not limit it.
- the mobile phone unlocking application the user can register the face through the mobile phone, and then every time the mobile phone is used, the mobile phone can execute the method provided in the embodiments of the present disclosure to realize the recognition of the face image.
- the mobile phone used for face registration and the mobile phone used for face recognition can be different mobile phones, that is, the camera type of the mobile phone used for face registration and the mobile phone used for face recognition can be different.
- Another example is the financial identity authentication system, that is, the bank identity authentication system.
- the bank identity authentication system When a user opens a bank account, he can use the bank terminal to register his face, and then in the subsequent banking business process, other bank terminals can perform the implementation of this disclosure
- the method provided in the example realizes the recognition of facial images to ensure the security of the user's banking business.
- the type of camera in the bank terminal during face registration and the bank terminal during face recognition may be different.
- the applicant of the present disclosure further discovered in the process of practicing the embodiments of the present disclosure that the same person took two face images through an RGB camera and an IR camera, and then used these two images to form an RGB image, an IR image, and a mixed image of RGB and infrared images. These 3 sets of mixed comparison combinations may have different similarities obtained through the same neural network.
- two different people take four face images through RGB camera and IR camera respectively, and then use these four face images to form different image combinations, such as user 1RGB image and user 2RGB image, user 1IR image and user 2IR Image, user 1RGB image and user 2IR image, user 1IR image and user 2RGB image.
- image combinations such as user 1RGB image and user 2RGB image, user 1IR image and user 2IR Image, user 1RGB image and user 2IR image, user 1IR image and user 2RGB image.
- the embodiments of the present disclosure provide a technical solution for training a neural network (NN), which can effectively reduce or even avoid the above-mentioned problems.
- the neural network in the embodiment of the present disclosure may include a deep neural network (DNN ⁇ convolutional neural network, etc.), and the embodiment of the present disclosure does not limit the specific form of the neural network.
- FIG. 2 is a schematic flowchart of a neural network training method provided by an embodiment of the present disclosure.
- the neural network training method can be applied to a neural network training device, and the neural network training method can also be applied to electronic equipment.
- the electronic device may include a server or a terminal device.
- the terminal device may include a mobile phone, a tablet computer, a desktop computer, a personal palmtop computer, a vehicle-mounted device, a vehicle-mounted robot, etc.
- the embodiment of the present disclosure does not uniquely limit the specific form of the electronic device. It can be understood that the neural network training method can also be applied to a face recognition device. In other words, the method shown in FIG.
- the method shown in FIG. 1 may be executed by the same type of electronic device, or may be executed by different types of electronic devices, etc., which are not limited in the embodiment of the present disclosure.
- the same type of electronic equipment is executed, that is, the method shown in FIG. 1 is executed by the terminal device, and the method shown in FIG. 2 may also be executed by the terminal device.
- the method shown in FIG. 2 may be executed by the same device as the method shown in FIG. 1, etc., which is not limited in the embodiment of the present disclosure.
- the training images used in the neural network training process are called image samples.
- the image samples include annotation information.
- the annotation information can include but is not limited to at least one of the following: Face ID in the image (also understood as face annotation information ), the type of the image, etc., where the face ID corresponding to the same person is the same, and the type of the image is used to represent the type of camera corresponding to the image collection.
- the neural network training method includes:
- a first type of image sample and a second type of image sample the first type of image sample and the second type of image sample are taken by different types of cameras, and the first type of image sample and the second type of image sample include a human face .
- the first type image sample includes at least a human face image
- the second type image sample includes at least a human face image
- the first type image sample and the second type image sample are composed of different types
- the camera gets. If the first type of image sample is obtained by an RGB camera, the second type of image sample can be obtained by another type of camera such as an IR camera. It can be understood that, for the specific implementation of different types of cameras, reference may be made to the manner shown in FIG. 1, which will not be repeated here.
- the number of image samples of the first type and the number of image samples of the second type are not limited in the embodiment of the present disclosure.
- the number of image samples of the first type and the number of image samples of the second type can be measured by the training degree of the neural network, and so on.
- the electronic device can train the neural network through image samples taken by two different types of cameras, so that the neural network can learn the feature extraction capabilities of two different types of images during the training process.
- the neural network based on the training can perform feature extraction on any of the two types of images, and ensure the accuracy of feature extraction, thereby satisfying the need for face registration and face registration based on these two types of cameras.
- Identified application requirements That is to say, when training a neural network, not only one type of image sample is used for training, but multiple types of image samples are used for training, so that the trained neural network can effectively obtain the characteristics of different types of image samples.
- the neural network training method may include: for example, inputting a first type of image sample and a second type of image sample into the neural network, and comparing the first type of image sample and the second type of image sample through the neural network After processing, output the prediction result of the neural network for the first type of image sample and the prediction result of the second type of image sample (that is, the face prediction result of each image sample)> Then calculate the face of the image sample through the predetermined loss function
- the loss between the prediction result and the annotation information of the image sample that is, the real face annotation information
- the loss between the prediction result of the first type of image sample and the annotation information is calculated through a predetermined loss function, and the second type of image Kind The loss between the predicted results of this book and the labeled information.
- the loss is transmitted back to the neural network, and the neural network adjusts the parameter values of the network parameters such as the convolution kernel and the weight according to the loss of the reverse return.
- the neural network adjusts the parameter values of the network parameters such as the convolution kernel and the weight according to the loss of the reverse return.
- the predetermined training completion condition for example, the loss is less than a predetermined threshold, Or the number of iterative training exceeds the set number, etc.
- training a neural network based on the first type of image samples and the second type of image samples includes: pairing the first type of image samples with the second type of image samples to obtain a mixed type of the first type of image samples and the second type of image samples Image sample
- the neural network is trained.
- the first type image sample and the second type image sample are paired, that is, each pair of mixed type image samples in the mixed type image sample includes the first type image sample and the second type image sample, thereby forming two Different types of image samples for training.
- the neural network is trained through the first type of image samples, the second type of image samples, and the mixed type of image samples, so that the neural network can not only learn the feature extraction capabilities of each single type of image, but also better learn together
- the feature extraction capabilities of these two different types of images improve the accuracy of neural network feature extraction, so that the trained neural network can be effectively applied to the face recognition method provided by the embodiment of the present disclosure.
- training a neural network according to the first type image samples, the second type image samples and the mixed type image samples includes:
- the electronic device can obtain the face prediction result of the first type image sample, the face prediction result of the second type image sample, and the face prediction result of the mixed type image sample respectively through the neural network. Then based on the difference between the face prediction result and the face annotation result of the first type image sample, the difference between the face prediction result and the face annotation result of the second type image sample, and the face prediction of the mixed type image sample The difference between the result and the face labeling result, train the neural network.
- the neural network can be trained based on the loss between the face prediction results of the first type of image samples and the face labeling results, and the loss between the face prediction results of the second type image samples and the face labeling results can be trained Neural network, and training the neural network based on the loss between the face prediction results of the mixed type image samples and the face annotation results. It can be understood that, for the specific training method, reference may be made to the description of the foregoing embodiment, which will not be described in detail here.
- the embodiments of the present disclosure also provide a training method.
- the neural network includes a first classifier, a second classifier, and a hybrid classifier.
- the network obtains the face prediction results of the first type image sample, the second type image sample, and the mixed type image sample, including: inputting the characteristics of the first type image sample into the first classifier to obtain the person of the first type image sample Face prediction result; Input the second type image sample into the second classifier to obtain the face prediction result of the second type image sample; input the features of the mixed type image sample into the hybrid classifier to obtain the face prediction result of the mixed type image sample .
- the classifier can be used to classify the face prediction results of different types of image samples.
- the classifier can obtain the face prediction results of the image samples input to the classifier, so that the loss can be determined according to the output of the classifier And then back to the neural network to train the neural network.
- the first classifier can output the face prediction results of the first type of image samples
- the second classifier can output the face prediction results of the second type of image samples
- the hybrid classifier can output the mixed type image samples. The result of face prediction.
- Outputting face prediction results through a classifier corresponding to the type of image sample can effectively improve the accuracy of the output face prediction results of the classifier, and then improve the neural network training that supports the extraction of mixed types of image features based on the output results of the classifier
- the accuracy of the neural network improves the accuracy and robustness of facial feature extraction from different types of images.
- Week 3 is a schematic diagram of a training process provided by an embodiment of the present disclosure.
- the image samples of the first type are RGB image samples, and the image samples included in the RGB image sample library are all RGB image samples;
- the image samples of the second type are IR image samples, and the image samples included in the IR image sample library are all IR images.
- the mixed type image samples are RGB&IR image samples.
- the mixed type image sample library includes some RGB image samples and some IR image samples, which are expressed as RGB&IR image samples.
- the RGB classifier is used to classify the RGB image samples in the RGB image sample library,
- the classification result of a certain RGB image sample indicates the probability that the face in the RGB image sample belongs to each face ID category in the RGB image sample library;
- the IR classifier is used to classify the IR image samples in the IR image sample library, and an IR image
- the classification result of the sample indicates the probability that the face in the IR image sample belongs to each face ID category in the IR image sample library;
- the RGB&IR classifier is used to classify the RGB image samples and IR image samples in the mixed type image sample library.
- the RGB&IR image sample represents the probability that the face in the image sample belongs to each face ID category in the mixed-type image sample library.
- the "&" in the RGB&IR image sample can indicate that the image sample input to the hybrid classifier, that is, the RGB&IR classifier, may be an RGB type image sample or an IR type image sample. Therefore, the "in this disclosure” & ⁇ is understood to have a limiting meaning to the present disclosure.
- the neural network can output the characteristics of the RGB image samples, the IR image samples, and the RGB&IR image samples through the feature extractor. feature. Then, the characteristics of the RGB image sample, the characteristics of the IR image sample, and the characteristics of the RGB&IR image sample are input to the RGB classifier, the IR classifier and the RGB&IR classifier, respectively. From this / the neural network outputs the face prediction results of each image sample through the classifier.
- the face prediction results of each image sample are compared with the face annotation results of each image sample to obtain the face prediction of each image sample
- the result is the loss of the face annotation result of each image sample, and then the loss is propagated back to the entire neural network to train the entire neural network.
- the trained neural network can accurately and effectively extract the features of different types of images, thereby improving the performance of face recognition. Accuracy and efficiency.
- the method shown in Figure 2 also includes:
- the first classifier, the second classifier and the hybrid classifier are removed from the trained neural network to obtain a neural network for face recognition.
- the first classifier, the second classifier, and the hybrid classifier can be used to assist in training the neural network.
- the first classifier, the second classifier, and the hybrid classifier may not be included in the neural network. Therefore, after the training of the neural network training device is completed, the first classifier and the second classifier in the neural network can be Remover and hybrid classifier.
- the efficiency of the neural network output features can be effectively improved, and the difference in similarity caused by different types of images through the same neural network to extract features can be reduced or avoided. .
- the present disclosure in order to obtain the threshold information used to determine the normalized reference similarity shown in FIG. 1, the present disclosure also provides a method for obtaining threshold information, as shown below:
- the method shown in Figure 2 further includes:
- each positive sample pair includes two images, and the faces in the two images in each positive sample pair correspond to the same person; each Each negative sample pair includes two images, and the faces in the two images in each negative sample pair correspond to different people;
- the neural network determines the similarity of the positive sample pair and the similarity of the negative sample pair respectively; according to the similarity of the positive sample pair and the similarity of the negative sample pair and preset different false alarm rates, determine the threshold information,
- the threshold information includes a first threshold and a second threshold.
- the first type image includes at least a human face image
- the second type image includes at least a human face image
- the first type image and the second type image are obtained by different types of cameras.
- RGB images of several people can be obtained through an RGB camera
- IR images of several people can be obtained through an IR camera.
- each person includes M RGB images and M IR images. Both M and N are integers greater than or equal to 2.
- obtaining a positive sample pair according to the first type image and the second type image includes:
- first type image and the second type image are paired to obtain a positive sample pair of the mixed image.
- each person includes M RGB images and M IR images as an example
- the M RGB images included by each person are paired to obtain M*(M-1)/2 RGB positive sample pairs; pair M IR images included by each person / get M* (M-1) /2 positive IR sample pairs; pair M RGB images and M IR images included by each person, Obtain M*M positive RGB&IR sample pairs.
- each person's image can be paired with other images of different people to form a negative sample pair.
- the negative sample pair may include the IR image of the first user, the IR image of the second user; the RGB image of the first user, the RGB image of the second user; and the first user IR image of the second user, RGB image of the second user.
- the neural network completed through training outputs the facial features of the positive sample pairs and the facial features of the negative sample pairs, according to
- the facial features of the positive sample pair obtain the similarity of the positive sample pair
- the similarity of the negative sample pair is obtained according to the facial feature of the negative sample pair.
- the target false alarm rate may be understood as a preset or selected false alarm rate, and the specific value of the target false alarm rate is not limited in the embodiment of the present disclosure.
- Table 1 is a kind of threshold information provided by an embodiment of the present disclosure.
- the false alarm rate can be independently set by the electronic device, etc.
- the embodiment of the present disclosure does not limit the specific value of the false alarm rate.
- the target false alarm rate is 0.00001
- the positive sample pair and the negative sample pair _ have a total of 1,000,000 pairs, so there are 10 false positive sample pairs. Then the 10 false positive sample pairs can be found from the positive sample pair and the negative sample pair, and then the sample pair with the lowest similarity is selected from the sample pair, so the similarity of the sample pair with the lowest similarity is the target false positive
- the threshold corresponding to the rate is T( 5 x. It is understandable that the embodiment of the present disclosure does not limit the method of how to select the sample pair with the lowest similarity, for example, it can be obtained by a ranking method.
- the sample pair with the lowest similarity, etc. and each corresponding relationship shown in Table 1 is only an example, and the specific value is not limited in the embodiment of the present disclosure.
- the neural network is tested according to a large number of images, so as to obtain thresholds under different false alarm rates, and then threshold information can be obtained, so that when the neural network is applied, Different threshold information (such as the first threshold and the second threshold) may be used according to different false alarm rates to determine the normalized reference similarity.
- Different threshold information such as the first threshold and the second threshold
- Table 1 can refer to the implementation shown in FIG. 1.
- the electronic device can obtain the reference similarity between the first face feature and the second face feature according to the threshold information in Table 1 and the electronic device. , Determining the normalized reference similarity, so as to determine whether the first facial feature and the second facial feature correspond to the same person according to the normalized reference similarity.
- FIG. 4 is a schematic structural diagram of a face recognition device provided by an embodiment of the present disclosure.
- the face recognition device can be used to execute the face recognition method shown in FIG.
- the face recognition device includes:
- the first obtaining unit 401 is configured to obtain the first face image through the first camera;
- the first extraction unit 402 is configured to extract the first face feature of the first face image;
- the comparison unit 403 is used to compare the first face feature with the second face feature to obtain a reference similarity.
- the second face feature is obtained by extracting the feature of the second face image acquired by the second camera, and the second The camera and the first camera are different types of cameras;
- the determining unit 404 is configured to determine whether the first face feature and the second face feature correspond to the same person according to the reference similarity.
- the applicant of the present disclosure found in the process of implementing the embodiments of the present disclosure that traditional face recognition methods often restrict the image type to be authenticated and the image type registered to the same image type. If the registration process uses RGB images, the authentication process also needs to be used RGB images, thus limiting the application of traditional face recognition schemes in scenes involving multiple types of cameras.
- the embodiment of the present disclosure provides a face recognition solution for scenes involving multiple types of cameras.
- the face image of the second face image obtained by one type of camera is used as the base library feature, and another The face feature of the first face image acquired by the type camera is compared with the base library feature, and face recognition is realized according to the comparison result, so that the face recognition method provided by the embodiment of the present disclosure can be applied to more scenes. It is convenient for face authentication, and the camera for face registration is not limited, which improves the convenience of face registration.
- the first camera is a thermal imaging camera
- the second camera is a visible light camera
- the first camera is a visible light camera
- the first camera is a thermal imaging camera
- the determining unit 404 is specifically configured to determine whether the first face feature and the second face feature correspond to the same person according to the reference similarity, the reference false alarm rate, and the similarity threshold; wherein, different false alarm rates correspond to different The similarity threshold.
- different similarity thresholds are obtained through different false alarm rates, so as to determine whether the first facial feature and the second facial feature correspond to the same person, avoiding the use of a fixed similarity threshold to treat people.
- the face authentication scheme can dynamically determine the similarity used to measure the relationship between two face images, which improves the efficiency and accuracy of face authentication or face recognition.
- the determining unit 404 is specifically configured to determine the normalized reference similarity according to the reference similarity and threshold information; and determine the first face feature and the second face feature according to the normalized reference similarity Whether it corresponds to the same person.
- the normalized reference similarity is determined by referring to the similarity and preset information, so as to determine whether the first facial feature and the second facial feature are based on the normalized reference similarity Corresponding to the same person. Effectively improve the scheme of using a fixed threshold to recognize faces, which can dynamically determine the similarity used to measure the relationship between two face images (that is, the normalized reference similarity), which improves The efficiency and accuracy of face recognition.
- the first extraction unit 402 is specifically configured to input the first face image into a pre-trained neural network, and output the first face feature of the first face image through the neural network; wherein the neural network is based on the first face image.
- the type image samples and the second type image samples are obtained through training, the first type image samples and the second type image samples are taken by different types of cameras, and the first type image samples and the second type image samples include human faces.
- the neural network is trained through different types of image samples, and then the neural network is applied, such as face recognition, etc., to improve the efficiency and accuracy of face recognition.
- the neural network is based on the first type of image samples, the second type of image samples, and the mixed type of image samples.
- the mixed type image samples are obtained by pairing the first type image samples and the second type image samples.
- the first camera includes a vehicle-mounted camera
- the first acquisition unit 401 is specifically configured to acquire a first face image through the vehicle-mounted camera, and the first face image includes a face image of a user of the vehicle.
- the embodiments of the present disclosure can be effectively applied to a driver monitoring system, thereby improving the efficiency of face recognition of the driver.
- the user includes one or more of the person driving the vehicle, the person riding the vehicle, the person repairing the vehicle, the person refueling the vehicle, and the person controlling the vehicle.
- the first obtaining unit 401 is specifically configured to obtain a first face image through a vehicle-mounted camera when a trigger instruction is received;
- the first acquiring unit 401 is specifically configured to acquire the first face image through the on-board camera when the vehicle is running;
- the first acquiring unit 401 is specifically configured to acquire the first face image through the vehicle-mounted camera when the running speed of the vehicle reaches the reference speed.
- the second face image is an image for face registration of a car user.
- the face recognition device further includes:
- the second acquiring unit 405 is configured to acquire a second face image through the second camera
- the second extraction unit 406 is configured to extract the second face feature of the second face image
- the saving unit 407 is used to save the second face feature of the second face image.
- FIG. 6 is a schematic structural diagram of a neural network training device provided by an embodiment of the present disclosure.
- the neural network training device can be used to execute the face recognition method shown in FIG.
- the neural network training device includes:
- the acquiring unit 601 is configured to acquire a first type of image sample and a second type of image sample, the first type of image sample and the second type of image sample are taken by different types of cameras, and the first type of image sample and the second type of image sample Including human faces;
- the training unit 602 is used to train the neural network according to the first type image samples and the second type image samples.
- the neural network is trained by using facial images captured by different types of cameras, which can effectively improve the accuracy of the facial features output by the neural network; at the same time, face recognition is performed and the neural network is used to extract human faces It also effectively improves the accuracy of face recognition.
- the training unit 602 includes:
- the pairing subunit 6021 is configured to pair the first type image sample and the second type image sample to obtain a mixed type image sample of the first type image sample and the second type image sample;
- the training subunit 6022 is used to train the neural network according to the first type image sample, the second type image sample and the mixed type image sample.
- the first type image sample and the second type image sample are paired, that is, each pair of mixed type image samples in the mixed type image sample includes the first type image sample and the second type image sample, thereby forming two Different types of image samples for training.
- the neural network is trained through the first type of image samples, the second type of image samples, and the mixed type of image samples, so that the neural network can not only learn the feature extraction capabilities of each single type of image, but also better learn together
- the feature extraction capabilities of these two different types of images improve the neural network
- the accuracy of network feature extraction enables the trained neural network to be effectively applied to the face recognition method provided by the embodiments of the present disclosure.
- the training subunit 6022 is specifically configured to obtain the face prediction result of the first type of image sample, the face prediction result of the second type of image sample, and the face prediction result of the mixed type image sample through the neural network; and The difference between the face prediction results and the face annotation results of the first type image samples, the difference between the face prediction results and the face annotation results of the second type image samples, and the face prediction results and people of the mixed type image samples Training the neural network for the difference in face annotation results.
- the neural network includes a first classifier, a second classifier, and a hybrid classifier.
- the training subunit 6022 is specifically used to input the features of the first type image sample into the first classifier to obtain the first type The face prediction result of the image sample; and input the second type image sample into the second classifier to obtain the face prediction result of the second type image sample; and input the features of the mixed type image sample into the hybrid classifier, Obtain the face prediction results of the mixed type image samples.
- the above device further includes:
- the neural network application unit is used to remove the first classifier, the second classifier and the hybrid classifier from the trained neural network to obtain a neural network for face recognition.
- FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
- the electronic device includes a processor 901, a memory 902, and an input-output interface 903.
- the processor 901, the memory 902, and the input-output interface 903 are connected to each other by a connecting wire, which may include a bus or the like.
- the input and output interface 903 can be used to input data and/or signals, and output data and/or signals.
- the memory 902 includes but is not limited to random access memory (random access memory, RAM ⁇ read-only memory, ROM X erasable programmable read only memory, EPROM ⁇ or portable read-only memory)
- random access memory random access memory
- ROM X erasable programmable read only memory
- a memory compact disc read-only memory, CD-ROM
- the processor 901 may be one or more, and the one or more processors may be: one or more central processing units (CPU), and/or / or one or more acceleration units.
- the CPU can be a single-core CPU or a multi-core CPU.
- the acceleration unit may include, but is not limited to, graphics processing unit (graphics processing unit, GPU ⁇ programmable gate array (FPGA), etc.).
- processor provided in the embodiment of the present disclosure may also be another type of processor, and the embodiment of the present disclosure does not uniquely limit the type of the processor.
- memory provided by the embodiment of the present disclosure may also be other types of memory, etc., and the embodiment of the present disclosure does not limit the type of the memory.
- each operation can also correspond to the corresponding description of the method embodiment shown in FIG. 1.
- reference may also be made to the corresponding description of the method embodiment shown in FIG. 2.
- the implementation of each operation can also refer to the corresponding description of the embodiment shown in FIG. 4 and FIG. 5.
- the implementation of each operation can also refer to the corresponding description of the embodiments shown in FIG. 6 to FIG. 8.
- the processor 901 may be used to execute the methods shown in step 101 to step 104.
- the processor may also be used to control the input/output interface to obtain the first face image, etc.
- the embodiment of the present disclosure does not uniquely limit how to obtain the first face image.
- the processor may also be used to execute the methods shown in step 201 and step 202.
- the processor 901 may also be configured to execute methods executed by the first acquiring unit 401, the first extracting unit 402, the comparing unit 403, the determining unit 404, and so on.
- the processor 901 may also be used to execute methods executed by the acquiring unit 601 and the training unit 602, and so on.
- the embodiment of the present disclosure also provides a computer-readable storage medium. All or part of the procedures in the foregoing method embodiments may be completed by a computer program instructing relevant hardware.
- the program may be stored in the foregoing computer storage medium. When the program is executed, it may include the procedures of the foregoing method embodiments.
- the computer-readable storage medium may be an internal storage unit of the face recognition device or neural network training device of any of the foregoing embodiments, such as the hard disk or memory of the face recognition device or neural network training device.
- the aforementioned computer-readable storage medium may also be an external storage device of the aforementioned face recognition device or neural network training device, for example, a plug-in hard disk equipped on the aforementioned face recognition device or neural network training device, or a smart media card (smart media card). , SMC), secure digital (SD) card / flash card, etc. Further, the aforementioned computer-readable storage medium may also include both the internal storage unit of the aforementioned facial recognition device or neural network training device and also an external storage device.
- the above-mentioned computer-readable storage medium is used to store the above-mentioned computer program and other programs and data required by the above-mentioned face recognition device or neural network training device.
- the aforementioned computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
- the embodiments of the present disclosure also provide a computer program program product for storing computer-readable instructions, which when executed, cause a computer to execute any of the above-mentioned embodiments. The method described.
- the computer program product can be specifically implemented by hardware, software or a combination thereof.
- the computer program product is specifically embodied as a computer storage medium.
- the computer program product is specifically embodied as a software product / for example, a software development kit (software development kit (SDK)) and so on.
- SDK software development kit
- the computer may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
- software it can be implemented in the form of a computer program product in whole or in part.
- the computer program product includes one or more computer instructions.
- the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
- the computer instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium.
- the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media.
- the available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape> optical media (e.g., DVD), or a semiconductor medium (for example / SSD (solid state disk, SSD)) and the like.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Biophysics (AREA)
- Molecular Biology (AREA)
- Biomedical Technology (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Life Sciences & Earth Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Image Analysis (AREA)
- Collating Specific Patterns (AREA)
Abstract
Description
Claims
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021540572A JP7402239B2 (ja) | 2019-02-26 | 2019-10-31 | 顔認識方法、ニューラルネットワークのトレーニング方法、顔認識装置、電子機器及びコンピュータ可読記憶媒体 |
| KR1020217022399A KR20210101313A (ko) | 2019-02-26 | 2019-10-31 | 얼굴 인식 방법, 신경망 훈련방법, 장치 및 전자 디바이스 |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910145024.9A CN109886222B (zh) | 2019-02-26 | 2019-02-26 | 人脸识别方法、神经网络训练方法、装置及电子设备 |
| CN201910145024.9 | 2019-02-26 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020173117A1 true WO2020173117A1 (zh) | 2020-09-03 |
Family
ID=66929610
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/114674 Ceased WO2020173117A1 (zh) | 2019-02-26 | 2019-10-31 | 人脸识别方法、神经网络训练方法、装置及电子设备 |
Country Status (4)
| Country | Link |
|---|---|
| JP (1) | JP7402239B2 (zh) |
| KR (1) | KR20210101313A (zh) |
| CN (1) | CN109886222B (zh) |
| WO (1) | WO2020173117A1 (zh) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112199998A (zh) * | 2020-09-09 | 2021-01-08 | 浙江大华技术股份有限公司 | 一种人脸识别方法、装置、设备及介质 |
| CN112241698A (zh) * | 2020-10-12 | 2021-01-19 | 安徽富煌科技股份有限公司 | 一种基于人脸识别的公交车载机 |
| CN113807319A (zh) * | 2021-10-15 | 2021-12-17 | 云从科技集团股份有限公司 | 人脸识别优化方法、装置、设备和介质 |
| CN114842261A (zh) * | 2022-05-10 | 2022-08-02 | 西华师范大学 | 图像处理方法、装置、电子设备及存储介质 |
| WO2022226478A1 (en) * | 2021-04-21 | 2022-10-27 | Tascent, Inc. | Thermal based presentation attack detection for biometric systems |
| CN116311477A (zh) * | 2023-05-15 | 2023-06-23 | 华中科技大学 | 一种面向跨身份一致性的面部运动单元检测模型构建方法 |
| CN116363450A (zh) * | 2023-03-01 | 2023-06-30 | 北京爱笔科技有限公司 | 图片识别模型训练与图片识别方法、系统、设备及介质 |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109886222B (zh) * | 2019-02-26 | 2022-03-15 | 北京市商汤科技开发有限公司 | 人脸识别方法、神经网络训练方法、装置及电子设备 |
| CN110244728A (zh) * | 2019-06-17 | 2019-09-17 | 北京三快在线科技有限公司 | 确定无人驾驶控制策略的方法、装置、设备及存储介质 |
| CN110263744B (zh) * | 2019-06-26 | 2021-05-11 | 苏州万店掌网络科技有限公司 | 提高无感人脸识别率的方法 |
| CN111160149B (zh) * | 2019-12-16 | 2023-05-23 | 山东大学 | 基于运动场景及深度学习的车载人脸识别系统及方法 |
| CN110874588B (zh) * | 2020-01-17 | 2020-04-14 | 南京甄视智能科技有限公司 | 动态优化人脸识别中光线影响的方法与装置 |
| CN112809697B (zh) * | 2021-01-11 | 2022-05-13 | 福建思特电子有限公司 | 一种5g智能门卫机器人 |
| CN114519863B (zh) * | 2021-12-30 | 2025-04-25 | 深圳云天励飞技术股份有限公司 | 人体重识别方法、人体重识别装置、计算机设备及介质 |
| CN115601734A (zh) * | 2022-10-26 | 2023-01-13 | 上海东普信息科技有限公司(Cn) | 驾驶员更换识别方法、装置、设备及存储介质 |
| WO2025089912A1 (ko) * | 2023-10-27 | 2025-05-01 | 삼성전자 주식회사 | 전자 장치 및 전자 장치에서 데이터를 클러스터링하는 방법 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108108711A (zh) * | 2017-12-29 | 2018-06-01 | 深圳云天励飞技术有限公司 | 人脸布控方法、电子设备及存储介质 |
| CN108765407A (zh) * | 2018-05-31 | 2018-11-06 | 上海依图网络科技有限公司 | 一种人像图片质量判定方法及装置 |
| CN109147940A (zh) * | 2018-07-05 | 2019-01-04 | 北京昆仑医云科技有限公司 | 从患者的医学图像自动预测生理状况的装置和系统 |
| CN109241888A (zh) * | 2018-08-24 | 2019-01-18 | 北京旷视科技有限公司 | 神经网络训练与对象识别方法、装置和系统及存储介质 |
| CN109886222A (zh) * | 2019-02-26 | 2019-06-14 | 北京市商汤科技开发有限公司 | 人脸识别方法、神经网络训练方法、装置及电子设备 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7406184B2 (en) * | 2002-07-03 | 2008-07-29 | Equinox Corporation | Method and apparatus for using thermal infrared for face recognition |
| CN102622579B (zh) * | 2012-02-20 | 2014-03-19 | 华焦宝 | 人脸预警方法及系统 |
| CN105608450B (zh) * | 2016-03-01 | 2018-11-27 | 天津中科智能识别产业技术研究院有限公司 | 基于深度卷积神经网络的异质人脸识别方法 |
| CN108491805B (zh) * | 2018-03-27 | 2022-02-22 | 百度在线网络技术(北京)有限公司 | 身份认证方法和装置 |
-
2019
- 2019-02-26 CN CN201910145024.9A patent/CN109886222B/zh active Active
- 2019-10-31 KR KR1020217022399A patent/KR20210101313A/ko not_active Abandoned
- 2019-10-31 JP JP2021540572A patent/JP7402239B2/ja active Active
- 2019-10-31 WO PCT/CN2019/114674 patent/WO2020173117A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108108711A (zh) * | 2017-12-29 | 2018-06-01 | 深圳云天励飞技术有限公司 | 人脸布控方法、电子设备及存储介质 |
| CN108765407A (zh) * | 2018-05-31 | 2018-11-06 | 上海依图网络科技有限公司 | 一种人像图片质量判定方法及装置 |
| CN109147940A (zh) * | 2018-07-05 | 2019-01-04 | 北京昆仑医云科技有限公司 | 从患者的医学图像自动预测生理状况的装置和系统 |
| CN109241888A (zh) * | 2018-08-24 | 2019-01-18 | 北京旷视科技有限公司 | 神经网络训练与对象识别方法、装置和系统及存储介质 |
| CN109886222A (zh) * | 2019-02-26 | 2019-06-14 | 北京市商汤科技开发有限公司 | 人脸识别方法、神经网络训练方法、装置及电子设备 |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112199998A (zh) * | 2020-09-09 | 2021-01-08 | 浙江大华技术股份有限公司 | 一种人脸识别方法、装置、设备及介质 |
| CN112199998B (zh) * | 2020-09-09 | 2023-06-20 | 浙江大华技术股份有限公司 | 一种人脸识别方法、装置、设备及介质 |
| CN112241698A (zh) * | 2020-10-12 | 2021-01-19 | 安徽富煌科技股份有限公司 | 一种基于人脸识别的公交车载机 |
| WO2022226478A1 (en) * | 2021-04-21 | 2022-10-27 | Tascent, Inc. | Thermal based presentation attack detection for biometric systems |
| US12277803B2 (en) | 2021-04-21 | 2025-04-15 | Assa Abloy Global Solutions Ab | Thermal based presentation attack detection for biometric systems |
| CN113807319A (zh) * | 2021-10-15 | 2021-12-17 | 云从科技集团股份有限公司 | 人脸识别优化方法、装置、设备和介质 |
| CN114842261A (zh) * | 2022-05-10 | 2022-08-02 | 西华师范大学 | 图像处理方法、装置、电子设备及存储介质 |
| CN116363450A (zh) * | 2023-03-01 | 2023-06-30 | 北京爱笔科技有限公司 | 图片识别模型训练与图片识别方法、系统、设备及介质 |
| CN116311477A (zh) * | 2023-05-15 | 2023-06-23 | 华中科技大学 | 一种面向跨身份一致性的面部运动单元检测模型构建方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP7402239B2 (ja) | 2023-12-20 |
| JP2022521038A (ja) | 2022-04-05 |
| CN109886222B (zh) | 2022-03-15 |
| KR20210101313A (ko) | 2021-08-18 |
| CN109886222A (zh) | 2019-06-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7402239B2 (ja) | 顔認識方法、ニューラルネットワークのトレーニング方法、顔認識装置、電子機器及びコンピュータ可読記憶媒体 | |
| CN111291740B (zh) | 一种人脸识别模型的训练方法、人脸识别方法及硬件 | |
| TWI712980B (zh) | 理賠資訊提取方法和裝置、電子設備 | |
| CN107273872A (zh) | 用于图像或视频中行人重识别的深度判别网络模型方法 | |
| CN110163078A (zh) | 活体检测方法、装置及应用活体检测方法的服务系统 | |
| CN110033011A (zh) | 车祸事故处理方法和装置、电子设备 | |
| CN108197326A (zh) | 一种车辆检索方法及装置、电子设备、存储介质 | |
| CN113936302B (zh) | 行人重识别模型的训练方法、装置、计算设备及存储介质 | |
| CN108323209B (zh) | 信息处理方法、系统、云处理设备以及计算机存储介质 | |
| CN109977771A (zh) | 司机身份的验证方法、装置、设备及计算机可读存储介质 | |
| CN113920550A (zh) | 手指真伪识别方法、电子装置及存储介质 | |
| WO2022063002A1 (zh) | 人车信息关联方法、装置、设备及存储介质 | |
| CN113591620A (zh) | 一种基于一体式移动采集设备的预警方法、装置及系统 | |
| CN111652210A (zh) | 一种车牌字符智能识别系统 | |
| CN110619280B (zh) | 一种基于深度联合判别学习的车辆重识别方法及装置 | |
| CN112686076A (zh) | 一种图像处理方法、系统及计算机可读存储介质 | |
| CN114581897A (zh) | 一种多类型和多车牌的车牌识别方法、装置以及系统 | |
| CN113705643A (zh) | 一种目标物检测方法、装置以及电子设备 | |
| CN118411776B (zh) | 一种基于人工智能的多模态门禁系统 | |
| CN114495204B (zh) | 一种自动驾驶车辆双端乘客身份验证方法 | |
| CN103955668B (zh) | 基于图像质量评价的合成人脸图像识别方法 | |
| CN111368729A (zh) | 一种基于孪生神经网络的车辆身份判别方法 | |
| CN118451417A (zh) | 基于大模型的交通盗抢识别方法、装置、系统及存储介质 | |
| CN115131564A (zh) | 基于人工智能的车辆部件损伤检测方法及相关设备 | |
| CN114998936A (zh) | 一种基于变速率条件下行人重识别方法及系统 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19916706 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2021540572 Country of ref document: JP Kind code of ref document: A |
|
| ENP | Entry into the national phase |
Ref document number: 20217022399 Country of ref document: KR Kind code of ref document: A |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS (EPO FORM 1205A DATED 21.01.2022) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19916706 Country of ref document: EP Kind code of ref document: A1 |
