Method for moving color-makeup tool of automatic color-makeup machine
Abstract
A method for moving a color-makeup tool of an automatic color-makeup machine includes: driving a moving platform to carry a picture capturing module and a color-makeup tool to move relative to a part, to undergo makeup, of a user; during movement of the moving platform, by the picture capturing module, sequentially capturing pictures of the part to undergo makeup to obtain multiple pictures respectively; sequentially comparing an image difference between two consecutively captured pictures among the pictures; determining, according to a comparison result of the image difference, whether the moving platform is positioned; and when the moving platform is positioned, by using the color-makeup tool, performing makeup on the part to undergo makeup.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method for moving a color-makeup tool of an automatic color-makeup machine, comprising:
driving a moving platform to carry a picture capturing module and a color-makeup tool to move relative to a part, to undergo makeup, of a user; during movement of the moving platform, by the picture capturing module, sequentially capturing pictures of the part to undergo makeup to obtain a plurality of pictures respectively; sequentially comparing an image difference between two consecutively captured pictures among the pictures; determining, according to a comparison result of each image difference, whether the moving platform is positioned; and when the moving platform is positioned, by using the color-makeup tool, performing makeup on the part to undergo makeup.
2 . The method for moving a color-makeup tool of an automatic color-makeup machine according to claim 1 , wherein the step of comparing the image difference between the each two pictures comprises:
performing feature analysis on each picture to obtain a feature image, corresponding to a same feature of the part to undergo makeup, in the picture; and calculating a size change between the feature images of the two pictures by a processing unit.
3 . The method for moving a color-makeup tool of an automatic color-makeup machine according to claim 2 , wherein the determination step comprises:
calculating, according to the size change and a movement distance of the moving platform between the two pictures are captured, a distance between the moving platform and the part to undergo makeup by the processing unit; comparing the distance with a threshold; and when the distance is smaller than or equal to the threshold, determining that the moving platform is positioned.
4 . The method for moving a color-makeup tool of an automatic color-makeup machine according to claim 2 , wherein the size change is an image magnification between the feature images.
5 . The method for moving a color-makeup tool of an automatic color-makeup machine according to claim 1 , wherein the determination step comprises:
calculating, according to a size change between feature images corresponding to a same feature of the part to undergo makeup and a movement distance of the moving platform between the two pictures are captured, a distance between the moving platform and the part to undergo makeup by a processing unit; comparing the distance with a threshold; and when the distance is smaller than or equal to the threshold, determining that the moving platform is positioned.
6 . The method for moving a color-makeup tool of an automatic color-makeup machine according to claim 4 , wherein the size change is an image magnification between the feature images.
7 . The method for moving a color-makeup tool of an automatic color-makeup machine according to claim 1 , wherein the position of the part to undergo makeup is fixed.
8 . The method for moving a color-makeup tool of an automatic color-makeup machine according to claim 1 , wherein the step of comparing the image difference between the each two pictures comprises:
performing edge analysis on the two pictures, to obtain an edge in each of the pictures; and calculating a change amount between the edges of the two pictures.
9 . The method for moving a color-makeup tool of an automatic color-makeup machine according to claim 8 , wherein the determination step comprises:
comparing the calculated change amount with a specified change amount; and when the calculated change amount has the specified change amount, determining that the moving platform is positioned.
10 . The method for moving a color-makeup tool of an automatic color-makeup machine according to claim 8 , wherein the step of comparing the image difference between the each two pictures further comprises:
before edge analysis is performed on at least one of the two pictures, adjusting, according to positions of the moving platform and camera parameters of the picture capturing module when the two pictures are obtained, a size of a picture, not undergoing the edge analysis, among the two pictures; wherein the edge analysis step comprises: performing edge analysis on a picture, not undergoing size adjustment, among the two pictures; and performing edge analysis on the adjusted picture.
11 . The method for moving a color-makeup tool of an automatic color-makeup machine according to claim 8 , wherein the step of comparing the image difference between the each two pictures further comprises:
before the change amount is calculated, adjusting a size of the image of the edge of one of the two pictures according to positions of the moving platform and camera parameters of the picture capturing module when the two pictures are obtained; wherein, the step of calculating the change amount comprises: calculating a change amount between the edge, not undergoing image size adjustment, among the edges and the adjusted edge.
12 . The method for moving a color-makeup tool of an automatic color-makeup machine according to claim 8 , wherein the change amount is a difference between the edges regarding the number of pixels.
13 . The method for moving a color-makeup tool of an automatic color-makeup machine according to claim 8 , wherein the change amount is a difference between the edges regarding corresponding positions.
14 . The method for moving a color-makeup tool of an automatic color-makeup machine according to claim 8 , wherein the step of performing edge analysis on each of the pictures comprises:
performing feature analysis on the picture to obtain an image of a front end of the color-makeup tool in the picture; expanding an analysis window centered around the image of the front end, wherein a size of the analysis window is smaller than a size of the picture to which the analysis window belongs; and performing edge analysis on a picture block, in the analysis window, of the picture to obtain the edge.
15 . The method for moving a color-makeup tool of an automatic color-makeup machine according to claim 8 , wherein the edge comprises an image of a front end of the color-makeup tool.
16 . The method for moving a color-makeup tool of an automatic color-makeup machine according to claim 15 , wherein the edge further comprises an image of an indentation on the part to undergo makeup.Join the waitlist — get patent alerts
Track US2014174463A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.