Real time faces generator using TensorflowJs
This project was made on linux machine with nvidia-docker.
Jupyter notebook was used to write python code for tensorflow's keras api to create autoencoder.
This autoencoder was then trained on over 13000 human faces to learn how to reproduce human faces from 90 inputs.
Then principal component analysis was used to determine which features are most important. In the end, there was 27 principal components which can be converted to 90 input neurons of the decoder.
The decoder was extracted from autoencoder model and converted to TensorflowJS compatibile json format.
This allowed to create a simple website in VueJs with sliders which values represent every PCA component and display decoded images in html canvas.