Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        

## AI Image Editor
Advanced image editing tool combining background removal and DALL-E transformation capabilities.

## Features
```xml

AI-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
```xml

flask==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

```