Authors: Swati Nair, Jayant Solanki
To implement a convolution neural network to determine whether the person in a portrait image is wearing glasses or not.
We have trained our classification model on Celeb dataset using convolutional neural network and predicted the labels of the test celeb images i.e. whether the person is wearing eyeglasses or not. After training the model using CNN, we achieved an accuracy of approximately 95% on the test images.
code folder consists of below files:
- Main.py : main code file
- lib.py : contains helper functions
- Automate.py: used for hyperparameter tuning
References:
- Stackoverflow.com,
- Python, Numpy and TensorFlow documentations,
- https://cs231n.github.io/convolutional-networks/,
- Liu, Ziwei; Luo, Ping; Wang, Xiaogang; Tang, Xiaoou. “Deep Learning Face Attributes in the Wild”