A Flask web app for extracting gender, material, shape, style, size, and color from eyewear "Details" in Excel files.
- Upload an Excel file with a
Detailscolumn - Choose which attributes to extract (gender, material, shape, style, size, color)
- Download the processed file with new columns for selected attributes
- Python 3.8+
- Flask
- pandas
- openpyxl
pip install -r requirements.txtpython app.pyGo to http://localhost:5000 in your browser.
app.py— Main Flask apptemplates/index.html— Upload and options formuploads/,outputs/— Created automatically for file handling
- Only Excel files (
.xlsx) are supported. - Make sure your file contains a
Detailscolumn.
File Structure flask-frame-details-extractor/ │ ├── app.py ├── uploads/ # (auto-created, for uploads) ├── outputs/ # (auto-created, for outputs) ├── templates/ │ └── index.html # HTML form for upload and options