Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hitthecodelabs/facesight
Flask application designed for Facial analysis and recommendation generation
https://github.com/hitthecodelabs/facesight
cnn flask keras pil pillow python tensorflow
Last synced: 8 days ago
JSON representation
Flask application designed for Facial analysis and recommendation generation
- Host: GitHub
- URL: https://github.com/hitthecodelabs/facesight
- Owner: hitthecodelabs
- License: mit
- Created: 2023-11-11T21:01:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-02T02:05:35.000Z (about 1 year ago)
- Last Synced: 2023-12-02T03:21:49.562Z (about 1 year ago)
- Topics: cnn, flask, keras, pil, pillow, python, tensorflow
- Language: Jupyter Notebook
- Homepage:
- Size: 27 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FaceSight
## Overview
This Flask application is designed for facial analysis and recommendation generation. It uses TensorFlow and a trained convolutional neural network model to estimate age, skin tone, and face shape from uploaded images. The application then provides personalized recommendations based on these features.## Installation
### Prerequisites
- Python 3.x
- Flask
- TensorFlow
- PIL (Python Imaging Library)### Setup
1. Clone the repository:
```
git clone https://github.com/hitthecodelabs/FaceSight.git
```
2. Navigate to the project directory:
```
cd FaceSight
```
3. Install the required Python packages:
```
pip install -r requirements.txt
```## Usage
1. Start the Flask server:
```
python app.py
```
2. Access the application through a web browser at `http://localhost:5000/`.
3. Upload an image file (PNG, JPG, or JPEG) using the web interface.
4. The application will process the image and display the results, including estimated age, skin tone, face shape, and personalized recommendations.## Features
- Image upload and secure file handling.
- Facial analysis for age, skin tone, and face shape estimation.
- Personalized recommendations based on facial analysis.## Additional Notes
- Ensure that the `model.h5` file for the neural network is placed in the project directory.
- The application uses SQLite for database operations (if relevant to your project).
- Customize the secret key in `app.py` for security purposes.## Contributing
Contributions to this project are welcome. Please fork the repository and submit a pull request with your proposed changes.## License
This project is open source and available under the [MIT License](LICENSE).