Method and device for classifying face image, electronic device and storage medium
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsYicheng Zhao, Shengqi Chen, Lingling Zhu
Life of this patent
Estimating the term…
Abstract
Embodiments of the disclosure provide a method for classifying a face image, belonging to a field of artificial intelligence technologies. A face image is acquired. A face features is extracted from the face image. When a face feature collection does not meet a preset trigger condition, a category of the face feature is determined based on categories of existing face features in the face feature collection and a neighbor face feature algorithm. A category of the face image is determined based on the category of the face features.
Claims20
A method for classifying a face image, comprising:
- acquiring a face image;
- extracting a face feature from the face image;
- determining a category of the face feature based on categories of existing face features contained in a face feature collection, and a neighbor face feature algorithm, when the face feature collection does not meet a preset trigger condition;
- and
- determining a category of the face image based on the category of the face feature.
An electronic device, comprising:
- at least one processor;
- and
- a memory, communicatively coupled to the at least one processor;
- wherein the memory is configured to store instruction executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is configured to:
- acquire a face image;
- extract a face feature from the face image;
- determine a category of the face feature based on categories of existing face features contained in a face feature collection, and a neighbor face feature algorithm, when the face feature collection does not meet a preset trigger condition;
- and
- determine a category of the face image based on the category of the face feature.
A non-transitory computer-readable storage medium, having computer instructions stored thereon, wherein the computer instructions are configured to cause a computer to execute a method for classifying a face image, the method comprising:
- acquiring a face image;
- extracting a face feature from the face image;
- determining a category of the face feature based on categories of existing face features contained in a face feature collection, and a neighbor face feature algorithm, when the face feature collection does not meet a preset trigger condition;
- and
- determining a category of the face image based on the category of the face feature.
Dependencies are inferred from the claim text.