This project is a web-based image stitching tool built with Python, OpenCV, and Gradio. It enables users to upload multiple overlapping images and generate a seamless panoramic output with enhanced exposure and automatic perspective correction.
🔧 Features:
Automatic Exposure Equalization: Uses CLAHE (Contrast Limited Adaptive Histogram Equalization) to enhance the luminance channel and balance exposure across input images.
Image Stitching: Utilizes OpenCV’s Stitcher class to intelligently align and blend images into a panoramic output.
Perspective Correction: Applies a bounding box and perspective transform to fix skew and crop black borders for a cleaner result.
User Interface: Built with Gradio for a simple, interactive web interface that supports:
Multiple image uploads
Real-time stitching preview
One-click stitched image download
🛠 Tech Stack:
Python
OpenCV
NumPy
Pillow (PIL)
Gradio
📦 Use Case:
Perfect for photographers, drone enthusiasts, or anyone looking to quickly merge landscape shots into a wide-angle panorama with minimal effort.