Methods and systems for generating a user-hair-color model
First Claim
1. A method comprising:
- obtaining video data depicting a head of a user;
determining a set of line segments of pixels of the video data, wherein each line segment in the determined set of line segments intersects an upper contour of the depicted head of the user;
grouping at least some of the pixels of at least one of the line segments in the determined set of line segments into three sets of pixels based at least in part on respective color data of the pixels, wherein the three sets of pixels include a skin-pixel set, a hair-pixel set, and a background-pixel set; and
updating a user hair-color model based at least in part on the hair-pixel set.
4 Assignments
0 Petitions
Accused Products
Abstract
Disclosed herein are methods and systems for generating a user-hair-color model. One embodiment takes the form of a process that includes obtaining video data depicting a head of a user. The process also includes determining a set of line segments of pixels of the video data, wherein each line segment in the determined set of line segments intersects an upper contour of the depicted head of the user. The process also includes grouping at least some of the pixels of at least one of the line segments in the determined set of line segments into three sets of pixels based at least in part on respective color data of the pixels. The three sets of pixels include a skin-pixel set, a hair-pixel set, and a background-pixel set. The process also includes updating a user hair-color model based at least in part on the skin-pixel set.
72 Citations
20 Claims
-
1. A method comprising:
-
obtaining video data depicting a head of a user; determining a set of line segments of pixels of the video data, wherein each line segment in the determined set of line segments intersects an upper contour of the depicted head of the user; grouping at least some of the pixels of at least one of the line segments in the determined set of line segments into three sets of pixels based at least in part on respective color data of the pixels, wherein the three sets of pixels include a skin-pixel set, a hair-pixel set, and a background-pixel set; and updating a user hair-color model based at least in part on the hair-pixel set. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A system comprising:
-
a communication interface; a processor; and non-transitory computer-readable data storage containing instructions executable by the processor for causing the system to carry out a set of functions, the set of functions including; obtaining video data depicting a head of a user; determining a set of line segments of pixels of the video data, wherein each line segment in the determined set of line segments intersects an upper contour of the depicted head of the user; grouping at least some of the pixels of at least one of the line segments in the determined set of line segments into three sets of pixels based at least in part on respective color data of the pixels, wherein the three sets of pixels include a skin-pixel set, a hair-pixel set, and a background-pixel set; and updating a user hair-color model based at least in part on the hair-pixel set.
-
-
19. A method comprising:
-
obtaining video data depicting a head of a user; obtaining an upper contour of the head of the user; determining a set of line segments of pixels, each line segment in the set of line segments crossing the upper contour; selecting a first number of k-means initial configurations, each selected k-means initial configuration including, for each line segment in the set of line segments, two initial mean colors that are configuration-independent and one initial mean color that is configuration-dependent; performing the first number of independent k-means analyses on the set of line segments, each independent k-means analysis (i) using a different one of the selected k-means initial configurations and (ii) identifying, for each line segment in the set of line segments, three final mean colors respectively derived from the three initial mean colors; for each of the performed k-means analyses, using the final mean colors derived from the configuration-dependent initial mean colors to identify a respective set of hair-color pixels from the pixels in the line segments; selecting one of the identified sets of hair-color pixels based on one or more hair-color-pixel-set criteria; and using the selected set of hair-color pixels to generate a user-hair-color model of the head of the user. - View Dependent Claims (20)
-
Specification