📸 Photo

Perspective correction and image alignment tool for OCR and AI preprocessing.

🚀 Features
- 4-Point Perspective Correction — Select corners, straighten documents
- Automatic Edge Detection — Smart document boundary detection
- Rotation & Deskew — Fix tilted scans
- Crop & Export — Save corrected images
- Real-time Preview — See results before applying
- Touch Support — Works on tablets
🛠️ Tech Stack
- Pure HTML/CSS/JavaScript
- Canvas-based image manipulation
- Homography transformation
- No external dependencies
📖 Usage
- Open `index.html` in your browser
- Load an image (drag & drop or file picker)
- Click the 4 corners of the document
- Adjust if needed
- Export the corrected image
🎓 Use Cases
- OCR Preprocessing — Straighten documents before text recognition
- AI Input — Normalize images for machine learning
- Document Scanning — Fix perspective from phone photos
- Archive Digitization — Correct old scanned documents
📄 License
MIT
👤 Author
Eric PERRET — GitHub