US 11,941,804 B2
Wrinkle detection method and electronic device
Hongwei Hu, Beijing (CN); Chen Dong, Shenzhen (CN); Xin Ding, Beijing (CN); and Wenmei Gao, Beijing (CN)
Assigned to Honor Device Co., Ltd., Shenzhen (CN)
Appl. No. 17/260,015
Filed by Honor Device Co., Ltd., Shenzhen (CN)
PCT Filed Sep. 18, 2018, PCT No. PCT/CN2018/106242
§ 371(c)(1), (2) Date Jan. 13, 2021,
PCT Pub. No. WO2020/015149, PCT Pub. Date Jan. 23, 2020.
Claims priority of application No. 201810776285.6 (CN), filed on Jul. 16, 2018.
Prior Publication US 2021/0327058 A1, Oct. 21, 2021
Int. Cl. G06T 7/00 (2017.01); G06T 3/40 (2006.01); G06T 3/60 (2006.01); G06V 40/16 (2022.01)
CPC G06T 7/0012 (2013.01) [G06T 3/40 (2013.01); G06T 3/60 (2013.01); G06V 40/161 (2022.01); G06V 40/168 (2022.01); G06T 2207/20016 (2013.01); G06T 2207/30088 (2013.01); G06T 2207/30201 (2013.01)] 12 Claims
OG exemplary drawing
 
1. A wrinkle detection method, comprising:
rotating, according to some or all preset angles in a preset angle set, a region of a face image, in which a wrinkle will be detected, to obtain a plurality of to-be-detected images, wherein the preset angle set comprises a plurality of preset angles, and values of the preset angles are different;
determining wrinkle points from all pixel points of each to-be-detected image of the plurality of to-be-detected images based on grayscale values of the pixel points in each to-be-detected image of the plurality of to-be-detected images;
determining at least one wrinkle line from the plurality of to-be-detected images based on the wrinkle points, wherein each of the at least one wrinkle line indicates one wrinkle in each to-be-detected image of the plurality of to-be-detected images;
performing, for the at least one wrinkle line corresponding to each to-be-detected image, reverse rotation according to a preset angle based on which the to-be-detected image is obtained, to obtain rotated wrinkle lines;
fusing the rotated wrinkle lines into the region in which the wrinkle will be detected, to obtain a wrinkle line corresponding to the region in which the wrinkle will be detected;
displaying the wrinkle line in the region;
determining a wrinkle score corresponding to the region in which the wrinkle will be detected based on a feature set of the displayed wrinkle line, wherein the feature set comprises the following features: a length of the wrinkle line, a width of the wrinkle line, and a contrast ratio value of a pixel point on the wrinkle line, and an area proportion of the wrinkle line, wherein the contrast ratio value represents a contrast ratio of the pixel point on the wrinkle line, and the area proportion of the wrinkle line represents a proportion of a quantity of pixels on the wrinkle line to a quantity of all pixels in the to-be-detected image; and
outputting the wrinkle score, wherein the wrinkle score is determined according to the following formula:
H=A×ω1+B×ω2+C×ω3+D×ω4+ω5, wherein
H is the wrinkle score, A is the length of the wrinkle line, B is the width of the wrinkle line, C is the contrast ratio value of the pixel point on the wrinkle line, D is the area proportion of the wrinkle line, ω1, ω2, ω3, and ω4 are preset parameters less than o, and ω5 is a preset parameter.