Method and apparatus for detecting glasses in a face image
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsChengjie WANG, Guofu TAN, Hui NI
Life of this patent
Estimating the term…
Abstract
This application discloses a method and a terminal for detecting glasses in a face image. The method includes: obtaining a face image; determining a nose bridge region in the face image; detecting an image change in the nose bridge region to obtain an image change result of the nose bridge region; and determining whether there are glasses in the face image according to the image change result of the nose bridge region. The terminal for detecting glasses in a face image matches the method.
Claims15
A method for detecting glasses in a face image performed at a computing device having one or more processors and memory storing one or more programs to be executed by the one or more processors, the method comprising:
- obtaining a face image;
- determining a nose bridge region in the face image;
- detecting an image change in the nose bridge region to obtain an image change result of the nose bridge region;
- and
- determining whether there are glasses in the face image according to the image change result of the nose bridge region.
A terminal for detecting glasses in a face image, comprising:
- one or more processors;
- memory;
- and
- a plurality of programs stored in the memory, wherein the plurality of programs, when executed by the one or more processors, cause the terminal to perform the following plurality of operations:
- obtaining a face image;
- determining a nose bridge region in the face image;
- detecting an image change in the nose bridge region to obtain an image change result of the nose bridge region;
- and
- determining whether there are glasses in the face image according to the image change result of the nose bridge region.
A non-transitory computer storage medium in connection with a terminal having one or more processors, storing a plurality of programs, wherein the plurality of programs, when executed by the one or more processors, cause the terminal to perform the following plurality of operations:
- obtaining a face image;
- determining a nose bridge region in the face image;
- detecting an image change in the nose bridge region to obtain an image change result of the nose bridge region;
- and
- determining whether there are glasses in the face image according to the image change result of the nose bridge region.
Dependencies are inferred from the claim text.