Skip to content
2nd Place

Edit Anything

Edit Anything is an interactive tool that lets users seamlessly edit images by selecting text directly on the image and editing it in-place.

Core trick

Detects text regions in an image, removes the original glyphs by two-pass inpainting, and re-renders edited text matching the detected font properties.

Tags

Description

Edit Anything is an interactive tool that lets users seamlessly edit images by selecting text directly on the image and editing it in-place.
DaveFerBear/edit-anything★ 87 forksJupyter NotebookCreated Sep 6, 2025 · last push Sep 7, 2025

README excerpt

# Edit Anything

**Edit Anything** is an AI-powered text editing tool that lets you extract, modify, and recompose text in any image while preserving the original design.

[![Watch demo on loom]](https://www.loom.com/embed/6822884a8b60459cac29ad2ac10d38d8?sid=1f791da2-2117-4f0a-beb8-3a562a0ae3f)

## ✨ Features

### 🎯 **Smart Text Detection & Analysis**

- **Automatic text detection** with bounding box visualization
- **Intelligent consolidation** groups related text blocks by color
- **Font property analysis** detects size, family, color, alignment, and rotation
- **Two-pass text removal** ensures complete background cleaning

### 🖊️ **Interactive Text Editing**

- **Click-to-edit** any detected text inline
- **Drag & drop** text boxes to reposition them
- **Resize handles** for adjusting text box dimensions
- **Real-time preview** of all modifications

### 📤 **Professional Export**

- **High-quality composite** downloads at original resolution
- **Perfect text rendering** matches preview exactly
- **PNG format** with transparency support
- **Consistent font scaling** between preview and export

## 🚀 **How It Works**

1. **Upload** an image containing text
2. **Detection** - AI automatically finds and analyzes all text
3. **Cleaning** - Background image generated with text removed
4. **Editing** - Modify, move, resize, or rewrite any text
5. **Export** - Download the final composed image

## Font Detection Model

Fine-tune of Resnet-50 on custom synthetic datadaset (18 fonts,

Team