Spaces:
Sleeping
Sleeping
venkatesh commited on
Commit ·
a19b884
1
Parent(s): 6d4e1cb
adding readme
Browse files
README.md
CHANGED
|
@@ -1,2 +1,90 @@
|
|
| 1 |
-
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Brand Asset Management Tools
|
| 3 |
+
emoji: 🔧
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: green
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
sdk_version: 1.32.2
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
+
python_version: 3.12
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# 🔧 Brand Asset Management Tools
|
| 15 |
+
|
| 16 |
+
A comprehensive suite of tools for managing and processing brand assets, built with Streamlit.
|
| 17 |
+
|
| 18 |
+
## Features
|
| 19 |
+
|
| 20 |
+
This application provides 7 powerful tools for brand asset management:
|
| 21 |
+
|
| 22 |
+
1. **Extract Images from Excel** - Extract embedded images from Excel worksheets (.xlsx files)
|
| 23 |
+
2. **Name Assets by Brand** - Rename files based on brand naming conventions
|
| 24 |
+
3. **Canvas White to Transparent** - Convert white backgrounds to transparent in images
|
| 25 |
+
4. **Asset Overview** - Generate PDF overview of your assets
|
| 26 |
+
5. **Name Stims by Block** - Organize and rename stimulus files by block with output file creation
|
| 27 |
+
6. **Resize** - Resize images while maintaining aspect ratio on transparent canvas
|
| 28 |
+
7. **Place on Canvas** - Center images on a custom canvas size
|
| 29 |
+
|
| 30 |
+
## Usage
|
| 31 |
+
|
| 32 |
+
Simply select the tool you need from the tabs at the top of the application and follow the instructions for each tool.
|
| 33 |
+
|
| 34 |
+
### Extract Images from Excel
|
| 35 |
+
- Upload one or more Excel files (.xlsx)
|
| 36 |
+
- Select specific worksheets or all worksheets
|
| 37 |
+
- Download extracted images as a ZIP file
|
| 38 |
+
|
| 39 |
+
### Name Assets by Brand
|
| 40 |
+
- Upload images and specify brand naming patterns
|
| 41 |
+
- Batch rename files according to your conventions
|
| 42 |
+
|
| 43 |
+
### Canvas White to Transparent
|
| 44 |
+
- Convert white backgrounds in images to transparent
|
| 45 |
+
- Useful for logo and asset preparation
|
| 46 |
+
|
| 47 |
+
### Asset Overview
|
| 48 |
+
- Generate comprehensive PDF reports of your asset collections
|
| 49 |
+
|
| 50 |
+
### Name Stims by Block
|
| 51 |
+
- Organize stimulus files by experimental blocks
|
| 52 |
+
- Create structured output files
|
| 53 |
+
|
| 54 |
+
### Resize
|
| 55 |
+
- Resize images to specific dimensions
|
| 56 |
+
- Maintain transparent backgrounds
|
| 57 |
+
|
| 58 |
+
### Place on Canvas
|
| 59 |
+
- Center images on custom canvas sizes
|
| 60 |
+
- Perfect for creating consistent asset formats
|
| 61 |
+
|
| 62 |
+
## Requirements
|
| 63 |
+
|
| 64 |
+
- Python 3.12
|
| 65 |
+
- Streamlit 1.32.2
|
| 66 |
+
- OpenCV (headless)
|
| 67 |
+
- Pillow
|
| 68 |
+
- ReportLab
|
| 69 |
+
- Pandas
|
| 70 |
+
- openpyxl
|
| 71 |
+
- xlrd
|
| 72 |
+
|
| 73 |
+
See [requirements.txt](requirements.txt) for complete dependencies.
|
| 74 |
+
|
| 75 |
+
## Local Development
|
| 76 |
+
|
| 77 |
+
To run this application locally:
|
| 78 |
+
|
| 79 |
+
```bash
|
| 80 |
+
pip install -r requirements.txt
|
| 81 |
+
streamlit run app.py
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
## License
|
| 85 |
+
|
| 86 |
+
MIT License
|
| 87 |
+
|
| 88 |
+
## Author
|
| 89 |
+
|
| 90 |
+
Brand Asset Management Tools for research and marketing teams.
|