Skip to content

A machine learning app that uses TensorFlow.js, React, and Parcel to best match makeup foundation shades from various beauty brands to images of skin tones.

License

Notifications You must be signed in to change notification settings

kaylakremer/tensor-shade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TensorShade ✋🏻✋✋🏽✋🏿

A machine learning app that uses Tensorflow, React, and Parcel to best match makeup foundation shades from various beauty brands to images of skin tones.

I used the dataset from @the-pudding for their Beauty Brawl essay published in June 2018, which explores how inclusive beauty brands are around the world.

To run TensorShade, simply clone or fork this repo, then cd into the project folder and type npm start in your terminal to build and deploy the app in the browser.

Alternatively, you can view the deployed app here: https://tensorshade.kaylakremer.now.sh/

Dataset

https://github.com/the-pudding/data/tree/master/makeup-shades

Data representing the shades of foundation offered by a variety of beauty brands around the world.

Note

I modified the data to include the shade name of each foundation by adding a shade key in shades.json. This was done to make TensorShade more useful when predicting foundation shade matches to photos of skin. Because I manually had to look up each beauty brand's foundation shades, there may be inaccuracies. Furthermore, some brands have changed their foundation shade range or some brands no longer exist since the original data was collected. In the event that I could not find or match up a beauty brand's foundation with the original data, I omitted it from shades.json.

Resources

https://www.tensorflow.org/js/

https://reactjs.org/

https://parceljs.org/

About

A machine learning app that uses TensorFlow.js, React, and Parcel to best match makeup foundation shades from various beauty brands to images of skin tones.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published