Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m-rishab/ai-image-editor
A powerful web-based image editing tool that combines the capabilities of background removal and DALL-E image transformation in one intuitive interface.
https://github.com/m-rishab/ai-image-editor
computer-vision deep-learning deeplabv3 flask image-manipulation image-processing machine-learning openai-api opencv python3 pytorch pytorch-implementation semantic-segmentation
Last synced: 9 days ago
JSON representation
A powerful web-based image editing tool that combines the capabilities of background removal and DALL-E image transformation in one intuitive interface.
- Host: GitHub
- URL: https://github.com/m-rishab/ai-image-editor
- Owner: m-rishab
- Created: 2024-11-03T07:19:35.000Z (16 days ago)
- Default Branch: main
- Last Pushed: 2024-11-03T07:29:11.000Z (16 days ago)
- Last Synced: 2024-11-03T08:20:05.724Z (16 days ago)
- Topics: computer-vision, deep-learning, deeplabv3, flask, image-manipulation, image-processing, machine-learning, openai-api, opencv, python3, pytorch, pytorch-implementation, semantic-segmentation
- Language: Python
- Homepage:
- Size: 210 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## AI Image Editor
Advanced image editing tool combining background removal and DALL-E transformation capabilities.## Features
```xmlAI-powered background removal
DALL-E image transformation
Natural language prompt processing
Real-time preview```
## Quick Setup
```xml
git clone https://github.com/yourusername/ai-image-editor.git
cd ai-image-editor
python -m venv venv
source venv/bin/activate # For Linux/Mac
venv\Scripts\activate # For Windows
pip install -r requirements.txt
Create .env file with:
OPENAI_API_KEY=your_api_key_here
python app.py
Server starts at http://localhost:5000
```
## Tech Stack
```xml
Python 3.8+
Flask
PyTorch (DeepLabV3)
OpenAI API
HTML/CSS/JavaScript
```
## Project Structure
```xml
Main Flask application
background_removal.py
dalle_transform.py
gpt_prompt.py
JavaScript and CSS files
HTML templates
```
## AI Models Used
```xml
Background removal
PyTorch with ResNet-101
Image transformation
1024x1024 images
Prompt processing
Command classification
```
## Dependencies
```xmlflask==2.0.1
torch==2.0.0
openai==1.0.0
pillow==9.5.0
opencv-python==4.7.0```
## Common Issues
```xml
Ensure correct activation command for your OS
Verify OPENAI_API_KEY in .env file
Install PyTorch separately if needed
```