Skin tone prediction using a 3D face model

The 3D face model reconstruction and machine learning-based method addresses the challenge of inconsistent lighting in image processing, delivering precise skin color estimation for personalized cosmetic recommendations.

FR3134645B1Active Publication Date: 2024-08-16LOREAL SA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
FR2022003402
Authority / Receiving Office
FR · FR
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-04-13
Publication Date
2024-08-16
Estimated Expiration
2042-04-13

AI Technical Summary

Technical Problem

Existing technologies struggle to accurately determine skin color from images captured in diverse and uncontrolled lighting conditions, making it difficult to recommend beauty products like foundations online.

Method used

A method using a 3D face model reconstruction from multiple 2D images, UV unfolding, and a machine learning model to process UV maps for precise skin color estimation, combined with chromatic temperature correction and facial recognition.

Benefits of technology

Provides faithful skin color estimation even under varying lighting conditions, enabling accurate cosmetic product recommendations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 1.1
    Figure 1.1
Patent Text Reader

Abstract

Skin tone prediction using a 3D face model. The invention relates to a method for determining the skin color of a user's area of ​​interest, comprising: (i) importing at least one image containing a representation of the user's area of ​​interest; (ii) 3D reconstruction of the area of ​​interest to generate the 3D model of the area of ​​interest; (iii) UV unwrapping the 3D model onto at least one projected plane to obtain a UV map for each projected plane; (iv) processing the UV map with a machine learning model; (v) evaluating the skin color of the area of ​​interest. Fig. 2
Need to check novelty before this filing date? Find Prior Art

Description

Description Title of the invention: Prediction of skin tone using a 3D face model

[0001] — The present invention relates to a method for determining a skin color of an area of ​​interest of a user. It also aims at a system for the implementation implementation of this process, in particular in the context of a product recommendation cosmetics.

[0002] — More generally, a cosmetic product is a product as defined in the Regulation EC No. 1223 / 2009 of the European Parliament and of the Council dated 30 November 2009, relating to cosmetic products. Technological background

[0003] — Buying products online, including via mobile computing devices, is a convenient way for consumers to browse and obtain products. Various technologies exist to provide online shoppers with recom- mandates of products likely to interest them based on analyses of their online consultations, purchase histories, comments, product ratings.

[0004] — However, there are certain types of products for which an online interaction person is difficult to replace with an online experience. For example, beauty products such as foundations or other makeup products are difficult to navigate online, and it is difficult to recommend them au- automated. This is mainly due to the fact that the consumer characteristic which would be the most relevant basis for a recommendation, that is to say in particular the facial skin color, is difficult to estimate automatically. Even if an image or video of the consumer is captured, this image or video cannot not traditionally be used to reliably determine skin color due to technical limitations in processing images from uncontrolled environments. Inconsistent lighting conditions between different locations would result in different color reproductions in the image or the video in different locations, and the determined skin color would therefore be different in depending on lighting conditions.

[0005] Document US10,936,853 describes in a digital media environment for skin tone-assisted color matching of digital images, a method implemented by a computing device, the method comprising: receiving a input image to be modified based on color characteristics of an image reference; detect faces in the input image and in the reference image; de- end a skin tone value reflecting a skin tone of each of the faces; grouping the faces into face groups based on the skin tone value of each of the faces, the face groups each comprising similar skin tone faces that are grouped from the input image and grouped from the reference image based on an average skin tone value difference less than or equal to a similar skin tone face grouping threshold; matching a pair of face groups as a matched input image face group with a reference image face group; and generating a modified image from the input image based on the color features of the reference image, the color features comprising the skin tones of the respective faces in the pair of face groups being part of the color features applied to modify the input image. WO2014168678A9 discloses a system comprising a user information module, wherein the user information module captures a user skin image; a graphical user interface, wherein the graphical user interface enables selection of a skin-related application from a plurality of skin-related applications; a skin image database;a processor coupled to the user information module, the graphical user interface, and the skin image database comprising skin color data and skin texture data, the processor configured to determine user skin image data from the user skin image; identify one or more of the skin image data sets in the skin image database that correspond to the user skin image data based on one or more parameters specified by the skin-related application; and apply at least one image processing filter that corresponds to the identified one or more of the skin image data sets in the skin image database to the user skin image to generate a simulated user skin image; and an output display, the output display displays the simulated user skin image.; Document US20210209427 discloses an apparatus comprising: processing circuitry for accepting at least one image representing facial skin of a user; communication circuitry for transmitting the accepted image to the machine learning models and for receiving a diet recommendation from the machine learning models; and user interface circuitry for presenting the diet recommendation to the user, wherein the user interface circuitry is further configured to present images of human faces to the user; the processing circuitry being further configured to accept input from the user that classifies facial skin features from the images provided to it via the user interface circuitry; and the user interface circuitry communication being further configured to transmit user input to machine learning models as training data. It is desirable to further improve the accuracy of color evaluated from images having diverse and a priori unknown lighting conditions. Definition of the invention The invention relates to a method for determining a skin color of an area of ​​interest of a user, comprising: (i) an import from an image library of a user computing device of at least one image comprising a representation of the user's area of ​​interest; (ii) a 3D reconstruction of the area of ​​interest by fitting the plurality of input 2D images to a 3D model of the area of ​​interest by collecting landmarks from the plurality of 2D images and then generating a mesh in response to the landmarks and fitting the mesh to generate the 3D model of the area of ​​interest, (iii) a UV unfolding of the 3D model on at least one projected plane to obtain a UV map for each projected plane; (iv) processing the UV map with a machine learning model adapted to provide, for each imported image, a numerical value representative of the color of the skin of the area of ​​interest present on said at least one imported image; (v) an assessment of the skin color of the area of ​​interest from said numerical value(s) of each imported image. For example, the user's computing device may be a multifunction telephone (usually referred to by the Anglicism "smartphone"), a touchscreen tablet, a personal computer, a connected watch or any other computing device capable of taking selfies. By "image library" is meant a directory, usually provided in user computing devices, accessing all or almost all of the images and photographs stored in the memory of the user computing device or in a remote memory accessible from the user computing device, for example of the "cloud" memory type (usually referred to by the Anglicism "cloud"). Said at least one image is preferably a photograph taken with a photographic sensor of the user computing device, possibly a photograph taken with another device and imported into the user computing device. The method according to the invention proves to be very efficient during image processing. whose lighting conditions are diverse and varied, as they may exist in the image library of the user's computing device. Although the invention finds a particularly interesting and advantageous application in the determination of the skin color of a face, it can nevertheless be applied to the determination of the skin color of another area of ​​interest, for example another part of the body, in particular with a view to the application to said area of ​​interest of at least one cosmetic product based on said evaluation of the skin color of this area of ​​interest. The invention also relates to a system for determining a skin color of an area of ​​interest of a user, comprising: communication means adapted to communicate with a user computing device and configured to import from an image library of the user computing device, at least one image comprising a representation of the area of ​​interest of the user; processing means configured to perform (a) a 3D reconstruction of the area of ​​interest by fitting the plurality of input 2D images to a 3D model of the area of ​​interest by collecting landmarks from the plurality of 2D images and then generating a mesh in response to the landmarks and adjusting the mesh to generate the 3D model of the area of ​​interest, (b) a UV unwrapping of the 3D model on at least one projected plane to obtain a UV map for each projected plane;(C) processing the UV map with a machine learning model adapted to provide, for each imported image, a numerical value representative of the color of the skin of the area of ​​interest present on said at least one imported image; (d) an evaluation of the color of the skin of the area of ​​interest from said numerical value(s) of each imported image.; Preferably, the communication means are adapted to communicate with the user computing device via a telecommunications network. The invention also relates to a computer program comprising instructions which, when the program is executed by a computer, cause the latter to implement the method described above. The invention also relates to a computer-readable medium comprising instructions which, when executed by a computer, cause the latter to implement the method as described above. Main definitions Albedo is the proportion of incident light reflected by a surface. Diffuse reflection is the reflection of light in multiple directions, rather than in just one direction, like a mirror (specular reflection). In the case of ideal diffuse reflection ("Lambert reflectance"), the light Incident light is reflected in all directions regardless of the angle at which it arrived. As in computer science literature, there is sometimes a "diffuse coefficient" when calculating the color of a pixel, indicating the proportion of light reflected diffusely. The term a / bedo refers to the proportion of non-diffuse reflected light. If we are rendering a material with ideal diffuse reflectance, then the albedo will be equal to the diffuse coefficient. However, in general, a surface may reflect some light diffusely and some light specularly or directionally, so the diffusion coefficient is only a fraction of the albedo. A "normal map" is usually an RGB image where the components provide the X, Y and Z coordinates of the texel normal of the corresponding texture. In other words, each pixel of the normal map is actually a vector providing the elevation and inclination information of its surface, that is, of the surface of the texel on which the normal map will be applied. It is therefore used as a texture, in addition to the diffuse texture. Preferred embodiments Preferably, the method according to the invention has one or more of the following characteristics, taken alone or in combination: The user's area of ​​interest is the user's face. It includes pre-processing of the input 2D image to perform centering and scaling of the area of ​​interest. UV unwrapping involves projecting the 3D model onto a plane, cylinder or sphere, and preferably onto a cylinder. It includes a determination, from the UV map, of a diffuse component and a specular component of an albedo, for each pixel. It includes an estimation from the UV map, a normal map providing an RGB image. It includes a determination, from the UV map, of a color and a direction of an incident light, for each pixel. We decompose the UV map into an albedo, a normal and lighting by inverse rendering. The UV map is decomposed by inverse rendering with a Blinn-Phong imaging model. The evaluation of the skin color of the area of ​​interest is decomposed from the diffuse component of the albedo. The machine learning model is a pre-trained convolutional neural network. It further includes a recommendation of at least one cosmetic product based on the said assessment of the skin color of the area of ​​interest. Description of figures Other characteristics and advantages of the invention will emerge from reading the detailed description which follows, from non-limiting examples of its implementation, and from examining the attached drawing, in which: [Fig.1] [Fig.1] represents an example of a SYS system. [Fig.2] [Fig.2] illustrates an example of a method for determining the color of a face's skin. [Fig.3] [Fig.3] illustrates another example of a method for determining the color of a face's skin. [Fig.4] [Fig.4] is a block diagram illustrating one embodiment of the method according to the present invention. [Fig.5] [Fig.5] shows an example of a face mesh. [Fig.6] [Fig.6] shows a projection onto a cylinder of the 3D model obtained from the mesh of [Fig.5]. [Fig.7] [Fig.7] shows a diffuse facial reflectance map obtained from the UV map of [Fig.5]. [Fig.8] [Fig.8] shows a specular facial reflectance map obtained from the UV map of [Fig.5]. [Fig.1] represents an example of a system SYS comprising processing means PU configured to carry out a processing TS of at least one image IMi, IMj, IMK with a machine learning model AI_TS, and to evaluate EVAL the color of the skin of an area of ​​interest of a user, present on the image(s) IMi, IMj, IMk. For the same reasons, the description is also made in the non-limiting case in which the user's area of ​​interest is the user's face. The AI_TS machine learning model is configured and trained to provide, for each IMk image, a numerical value ClrEstm representative of the skin color of a face present in each of the IMk images. The EVAL evaluation means are configured to evaluate the skin color of the face from the ClrEstm numerical values ​​of each image. For example, the evaluation may include a calculation of a combination of the ClrEstm values, such as a mean or median calculation, with or without weighting. COM communication means are adapted to communicate with a user computing device APP and configured to receive IN_DAT said images IMi, IMj, IMK from an image library LIB of the user computing device APP. In particular, the user computing device APP may belong to the system SYS in the sense that it may be specifically configured, for example in software in the execution of an application or a website, to collaborate with the processing means PU to transmit the images IMi, IMj, IMk in the import of the images IN_DAT by the processing means PU. The user computing device APP and the communication means COM may communicate using any suitable communication technology, such as wireless communication technologies, e.g., Wi-Fi®, Wi-MAX®, Bluetooth®, 2G, 3G, 4G, 5G and LTE, or wired communication technologies, e.g., Ethernet, FireWire and USB. In particular, the communication between the user computing device and the skin color determination device may occur at least partly via the Internet. The APP user computing device may, for example, be a multi-function telephone (usually referred to by the Anglicism "smartphone"), a touchscreen tablet, a personal computer, a connected watch or any other computing device that may have a LIB image library. The image library LIB is usually a directory provided in the interfaces of APP user computing devices, accessing all or almost all the images and photographs IM1-IM4, IMKk stored in an internal non-volatile memory INT_NVM of the APP user computing device. The images and photographs IM1-IM4, IMK of the library LIB can also or alternatively be stored in a remote memory of a CLD server accessible from the APP user computing device (for example in "the cloud" according to the usual Anglicism). Said at least one image IM1-IM4, IMK is preferably a photograph of a face taken with a photographic sensor CAM of the user computing device APP, or a photograph of a face taken with another device and imported into the image library LIB of the user computing device APP. IM1-IM4, IMK images in IMk image library have digital image data format, such as JPEG (for Joint Photographic Expert Group), PNG (for Portable Network Graphics), GIF (for "Graphics Interchange Format" in English) TIFF (for "Tagged Image File Format" in English) or any other image format. Advantageously, each IMI-IM4, IMK image in the IMk image library further includes MTD1-MTD4, MTDK metadata providing various information about the images. In particular, at least some of the images IM1-IM4, IMK of the LIB library include timestamp metadata, informing about the date and time of creation of the respective image, and / or geolocation metadata informing about the location of creation of the respective image. As will be seen below in relation to [Fig.2], timestamp and / or geolocation metadata can help refine and improve the AI_TS machine learning model's processing and EVAL skin color assessment. The skin color thus obtained by the AL_TS machine learning model is accurate and can then be used to recommend one or more cosmetic products that are accurately correlated with each user's skin color, in particular foundation, powder and variants of foundation and powder, and cosmetic products that would complement or be appropriate for the user's skin color. We now refer to [Fig.2]. [Fig.2] illustrates an example of a method for determining the color of the skin of a face, implemented in particular by the PU processing means of the system described previously in relation to |Fig.1]. The method comprises an IN_DAT import of at least one IMK image from the image library LIB of the user computing device, as described in relation to [Fig.1]. The TS processing of said at least one IMk image implemented in this example comprises a pre-processing P_TS, and a processing with a machine learning model AI_TS configured to provide a numerical value ClrEstm representative of the skin color of a face present on said at least one IMk image. The P_TS pre-processing comprises a conditioning of the IMK images in a format adapted to the AI_TS machine learning model. In particular, the P_TS pre-processing is adapted to isolate one or more parts of the image containing a face, by a conventional and known FceDet face detection mechanism, and to perform a centering and a Cntr+Scl scaling of the part of the image containing a face, so as to provide normalized data to the machine learning model. In summary, centering Cntr can include cropping the image so as to keep only the part containing the face, and scaling Scl includes enlarging or shrinking the cropped image, and downsampling or upsampling the pixels of the cropped image, to provide a cropped image with a fixed size and a fixed resolution. Advantageously, the pre-processing further includes a selection of cropped images containing the same face, by a conventional Fce+Reco facial recognition mechanism known per se. Fce+Reco facial recognition identifies and detects a target face, i.e. a reference face provided on a reference image IMref. Advantageously, the reference face is isolated in the reference image IMref, i.e. the reference face is the only face present in the reference image IMref. The reference image IMref may for example be imported from the image library LIB of the user computing device, identified as a reference image IMref by a user. Alternatively, the reference image IMref may be taken by the user using the photographic sensor of the user computing device (CAM), advantageously of the self-portrait photography type (usually "selfie") PhtSIf, so as to include the isolated face of the user as a reference face. As mentioned previously in relation to [Fig.1], the IMK images in the image library advantageously include MTDX metadata. In this case, the P_TS preprocessing can advantageously include a correction of the color temperature TempCorr of the imported images, established according to the respective MTDX metadata. Chromatic temperature, also called "color temperature", is a measurement well known to those skilled in the art, usually given in Kelvin, characterizing a light source by comparison with the theoretical principle of black body thermal radiation. Advantageously, the correction of the color temperature of each image is further made according to external EXT_MTD data, such as meteorological archive data and geographical data, making it possible to estimate, in correspondence with the respective MTDK metadata, the color temperature of the lighting conditions of the creation of the respective image. Indeed, MTDK timestamp ts and geolocation geolocation metadata geoloc allow for conjecturing lighting conditions, with a respective color temperature to compensate. For example, timestamp metadata ts can indicate whether the photograph was taken during the day or at night, and geolocation metadata geoloc can further indicate whether the photograph was taken in an indoor or outdoor space. Weather archive data allows us to know with certainty, for a given date and location, including the times of day and night, and dawn and dusk periods, as well as sunlight conditions. This allows for more precise guesswork of lighting conditions and refinement of color temperature correction. The implementation of the correction of the chromatic temperature TempCorr by the pre-processing means P_TS, can for example provide a list of conditions which can be verified by the MTDXk metadata, possibly by matching the external data EXT_MTD with said MTDk metadata. A correspondence table can be used to select a specific color temperature correction depending on whether conditions are true or not. For example, simple possible conditions include "dawn", "day", "night", "dusk", "indoor", "outdoor", "clear sky", "cloudy sky", "rain", "snow", etc. Other conditions, as well as more complex conditions, can be imagined and designed in this regard. For example, if the MTDX metadata translates to "night" and "indoor" conditions, then the color temperature correction can be made to correct for illumination of the "indoor lamp" or "incandescent bulb" type. If the MTDX metadata translates to "dusk" and "outdoor" and "sunlight" conditions, then the color temperature correction can be made to correct for illumination of the sunset type. The TempCorr color temperature correction mechanism is comparable to a debayering or demosaicing technique, classically used to rebalance the RGB channels individually in the raw format of the photographic sensor before recording the image. That being said, the TempCorr color temperature correction mechanism advantageously uses a debayering or demosaicing matrix whose points are adapted according to the conditions evaluated by the MTDk metadata, on the imported IMk images. These adjustments are then consolidated in a static image file which is verified by making the assumption that the colorimetry of an element is always known in the image (such as for example the white of the eye or to a lesser extent the teeth). The IMK images thus centered Cntr on a face FceDet, scaled Scl, possibly selected Fce+Reco and possibly corrected TempCorr, are provided to the machine learning model AI_TS. The AI_TS machine learning model calculates numerical ClrEstm values ​​representative of the skin color of the faces present in each IMk image. The AI_TS machine learning model can for example be implemented by pre-trained convolutional neural network, for example as described in the application of patent PCT / US2020 / 041350, or as summarized below in relation to [Fig.3]. The machine learning model AI_TS may also be of the feedforward neural network type, or recurrent neural networks. Any suitable training technique may be used, including gradient descents such as stochastic, batch, and mini-batch descents. In addition, the machine learning model AI_TS may be capable of fitting a three-dimensional face model 3DFceFit to IMK images, performing UV unwrapping of the 3D model on at least one projected plane FceUvmap, and decomposing the UV map by inverse rendering FceInvRender. When the AI_TS machine learning model has provided the ClrEstm numerical values ​​for each IMk image, an EVAL evaluation of the facial skin color is performed from said ClrEstm numerical values. For example, the EVAL evaluation may include a calculation of the combination of ClrEstm values, such as a mean or median calculation, by activating a Gigatexel engine to optimize the display of the image texture in relation to a CIrGt numerical value, for example using the Mudbox software. The numerical value output from the evaluation is to provide the AVRG numerical value (“|ClrGt-ClrEstm|”). Figure 3 illustrates a non-limiting example of implementation of a TRN training (also called “training”) of the AI_TS machine learning model to provide the digital value AVRG (“[CIrGt-ClrEstm|”) representative of the skin color of a face present on at least one IMK image, as described previously in relation to Figures 1 and 2. The training can be implemented by the processing means PU additionally comprising training means TRN, in particular configured to control the data reception means IN_DAT, the pre-processing means P_TS, the machine learning model AI_TS and the evaluation means EVAL. A set of training images IN_DAT associated with real skin color information GRND_TRTH, called ground truth, are collected for the implementation of the TRN training of the machine learning model AI_TS. The skin color truth reference GRND_TRTH is used as the ground truth or marking information for images that will be provided by a training subject, i.e., a volunteer, called a panelist. For example, the skin color truth reference GRND_TRTH may be collected by the user using an industry-standard technique for determining skin color, as a comparison with a color chart or a value determined by a spectrophotometer dedicated to measuring skin colors. In the comparison with a color chart, a portion of the image may contain a representation of a known reference color chart, and a color correction of the image returning the representation of the reference color chart to its original colors may allow the determination of the true reference GRND_TRTH on the color of the skin present in the image after said color correction. For example, color correction providing the true reference GRND_TRTH can be implemented in the P_TS pre-processing on command of the TRN training means. The use of a spectrophotometer can be implemented at least once on the skin of the panelist, the color measured by the spectrophotometer can be used directly, with a possible translation of the color coding, as a true reference GRND_TRTH. The training image set IN_DAT is provided by the panelist via a user computing device of the same type as the APP device previously described in relation to [Fig.1]. For example, the import of training images IN_DAT uses the photosensitive sensor CAM of the panelist's user computing device to capture one or more training images comprising the panelist's face. The training images may originate from individual PhtSIf photographs, for example taken in self-portrait mode, or from at least one Vid360 video recording, for example taken in self-portrait mode, during which the lighting conditions can be changed by moving the point of view, for example by rotating the device around the panelist's face. Multiple training images can then be generated by extracting individual frames from the Vid360 video. Capturing a video generating multiple training frames can be beneficial, if only because it will greatly increase the efficiency of generating a large amount of training data with different lighting conditions. For all useful purposes, those skilled in the art may refer to the description of the training of the learning model described in application PCT / US2020 / 041350. Optionally, the training images IN_DAT may additionally or alternatively come from an image library (IMkeLIB) of the panelist's user computing device. In this case, the steps of facial recognition Fce+Reco and color temperature correction TempCorr may be provided as described in relation to [Fig.2]. In the training implementation, the AI_TS machine learning model performs parameterized calculations on the IN_DAT training images and provides numerical values ​​(“|CIrGt- CirEstm|”) representative of the skin color of a face present in the training images. The evaluation of skin color EVAL can be done, as described in relation to Figure 2, by a statistical grouping operation AVRG of the different numerical values ​​(“[CirGt- ClrEstm|”). The skin color thus evaluated EVAL, or the numerical values ​​ClrEstm directly, are then compared with the truthful reference GRND_TRTH in order to reparameterize the calculations performed by the machine learning model AL_TS to get as close as possible to the truthful reference. In other words, the truthful reference GRND_TRTH of the skin color is used as marking data indicating a desired result of the processing of the training images IN_DAT, by the machine learning model AI_TS. It should be noted that the training of the machine learning model AI_TS is advantageously done with the data of several panelists. In this regard, the training images IN_DAT and the truthful reference GRND_TRTH associated with each panelist can be stored in a memory of the PU processing and training means TRN.The parameterization of the calculation of the AI_TS learning model is done for all data from all panelists in order to be as universal as possible. In summary, to determine the skin color of a face, the PU processing means use the AI_TS machine learning model as described above, to determine the skin color of the face present in at least one image imported from an image library of a user computing device APP. The skin color can then be used to recommend one or more cosmetic products that complement or are appropriate for the skin color thus determined. The functional diagram shown in [Fig.4] shows the successive steps of an exemplary implementation of the method according to the invention. In a first step |, a neural network can predict a 3D face model from images of a selfie video. In a second step 2, the image optionally undergoes pre-processing, such as focusing for face detection, centering and scaling, face recognition. In a third step 3, the 3D face models are fitted to the images and are projected into 2D using a cylindrical projection. These 2D projections are called uv-maps. In a fourth step 4, using in particular the Blinn-Phong computer graphics model, the uv maps are combined and decomposed into 3D face shape, diffuse and specular facial reflectance maps, and light color and direction. In step 5, the diffuse facial reflectance map is fed into a deep neural network for skin tone prediction in the laboratory. The skin tone prediction system achieves an average delta E prediction error of 3.3. Figures 5-8 illustrate the mapping of 3D mesh information onto a 2D plane. [Fig. 5] shows an example of a facial mesh, made from a selfie. As can be seen in the figure, the mesh 5 forms a three-dimensional network consisting of vertices, edges, and faces organized into polygons as threads in a three-dimensional computer graphic. The faces consist of triangles, quadrilaterals, or other simple convex polygons, as this simplifies rendering. The faces can be combined to form more complex concave polygons, or polygons with holes. Graphics modeling tools such as Blender or 3D Studio Max allow you to create these wireframe objects. The processing of these objects is possible thanks to certain software such as Arksan, SiloData, which allow the visualization, exploitation and sharing of 3D mesh models. [Fig.6] shows a projection onto a cylinder of the 3D model obtained from mesh 5 in [Fig.5], by UV mapping. UV mapping is a 3D modeling process consisting of projecting a 2D image onto the surface of a 3D model, in particular a cylinder, to apply a texture to it. The letters U and V designate the axes of the 2D texture because X, Y and Z are already used to designate the axes of the 3D object in its space in [Fig.5]. Figures 7 and 8 are UV texture maps. The advantage of UV texturing is that it visualizes in color the polygons composing a 3D object from the selfie. The UV mapping process consists of assigning pixels from an image to those of the surface of a polygon. UV texturing is an alternative to projection mapping, for example, using any pair of the X, Y, Z coordinates of the model or any transformation of the position. It corresponds to a texture space rather than the geometric space of the object. The rendering calculation uses the UV texture coordinates.

Claims

Claims

1. Method for determining a color of the pcau of an area of ​​interest of a user, including: (i) an import from a bi- image library of a user computing device of at least two 2D images comprising a representation of the area of ​​interest of the user; (ii) a 3D reconstruction of the area of ​​interest by a fitting the plurality of input 2D images to a 3D model of the area of ​​interest by collecting landmarks from the plurality of 2D images and then generating a mesh in response to the points of markers and adjusting the mesh to generate the 3D model of the area of interest, (iii) a UV unfolding of the 3D model on at least one plane projected to obtain a UV map for each projected plane; (iv) a UV map processing with a machine learning model adapted to provide, for each imported image, a numerical value representative of the skin color of the area of ​​interest present on said at least one imported image; (v) an evaluation of the color of the skin of the area of ​​interest from said value(s) digital(s) of each imported image.

2. The method of claim |, wherein the area of ​​interest of the user is the face of the user.

3. A method according to any preceding claim, ca- characterized by the fact that it includes a pre-processing of the plurality of input 2D images to perform centering and scaling of the area of ​​interest.

4. A method according to any preceding claim, ca- characterized by the fact that UV unfolding involves the projection of the 3D model on a plan, a cylinder or a sphere, and preferably on a cylinder.

5. A method according to any preceding claim, ca- characterized by the fact that it includes a determination, from the map UV, a diffuse component and a specular component of a albedo, for each pixel.

6. A method according to any preceding claim, ca- characterized by the fact that it includes an estimate from the map UV, of a normal map providing an RGB image.

7. A method according to any preceding claim, ca- characterized by the fact that it includes a determination, from the map UV, of a color and a direction of an incident light, for each pixel.

8. A method according to any preceding claim, ca- characterized by the fact that we decompose the UV map into an albedo, a normal and inverse rendering lighting.

9. Method according to claim 8, characterized in that one decomposes the UV map by inverse rendering with an imaging model Blinn-Phong.

10. Method according to claim 5, characterized in that the evaluation the skin color of the area of ​​interest is made from the diffuse component of albedo.

11. | Method according to one of the preceding claims, in which the machine learning model is a convolutional neural network preformed,

12. Method according to one of the preceding claims, comprising in in addition to a recommendation of at least one cosmetic product based on said evaluation of the skin color of the area of ​​interest.

13. System for determining a skin color of an area of ​​interest of a user, including: - suitable means of communication to communicate with a user computing device and configured to import from a device image library user computer, at least one image comprising a repre- positioning of the user's area of ​​interest; - means of processing configured to perform (a) a 3D reconstruction of the area of ​​interest by fitting the plurality of input 2D images to a 3D model of the area of ​​interest by collecting landmarks at from the plurality of 2D images then generating a mesh in response to landmarks and adjusting the mesh to generate the 3D model of the area of ​​interest,(b) a UV unfolding of the 3D model on at minus one projected plane to obtain a UV map for each plane projected; (c) processing of the UV map with a model machine learning adapted to provide, for each image imported, a numerical value representative of skin color of the area of ​​interest present on said at least one imported image; (d) an assessment of the skin color of the area of ​​interest from of said digital value(s) of each imported image.

14. | System according to claim 13, wherein the commu- nication are adapted to communicate with the computing device user via a telecommunications network.

15. A computer program comprising instructions which, when the program is executed by a computer, causing it to put implementing the method according to one of claims 1 to 12.

16. Computer-readable medium comprising instructions which, when executed by a computer, cause it to implementing the method according to one of claims | to 12.