Image Colorization is a Deep Learning-based web application that automatically converts grayscale (black & white) images into realistic color images.
Using a pre-trained Convolutional Neural Network (CNN), the model predicts color information for each pixel and generates visually appealing colorized outputs.
This project combines Computer Vision, Deep Learning, and Web Development to create an interactive and user-friendly image colorization platform.
✅ Upload black & white images instantly
✅ AI-powered automatic colorization
✅ Modern drag-and-drop interface
✅ Real-time image processing
✅ Download colorized images
✅ Responsive and attractive UI
✅ Fast and lightweight deployment
Upload Image
↓
Image Preprocessing
↓
Deep Learning Model
↓
Color Prediction
↓
Generate Colorized Image
↓
Display & Download Result
This project uses OpenCV's pre-trained Image Colorization model based on the Caffe framework.
- colorization_deploy_v2.prototxt
- colorization_release_v2.caffemodel https://1drv.ms/u/c/66d57ea21998d120/IQB2T75G1lgyT7n_LC3ZBSLTAW4BIebTEsWcsaVQYuh8a5k?e=roXajE
- pts_in_hull.npy
The model has been trained on millions of color images and learns to predict realistic color distributions from grayscale inputs.
- HTML5
- CSS3
- JavaScript
- Flask
- Python
- OpenCV
- NumPy
- Caffe Pretrained Model
ImageColorization/
│
├── app.py
├── colorization_deploy_v2.prototxt
├── colorization_release_v2.caffemodel
├── pts_in_hull.npy
│
├── templates/
│ └── index.html
│
├── uploads/
│
└── outputs/
git clone https://github.com/yourusername/ImageColorization.git
cd ImageColorizationpython -m venv venvWindows:
venv\Scripts\activateLinux/Mac:
source venv/bin/activatepip install flask opencv-python numpypython app.pyOpen:
http://127.0.0.1:5000
| Original Image | Colorized Output |
|---|---|
![]() |
![]() |
- Deep Learning
- Computer Vision
- Image Processing
- Flask Development
- OpenCV DNN Module
- Frontend Design
- Model Integration
- Git & GitHub
- 🎥 Video Colorization
- 📱 Mobile-Friendly Interface
- ☁️ Cloud Deployment
- 📂 Batch Image Processing
- 🖼️ Before/After Comparison Slider
- 🤖 Advanced GAN-based Colorization
GitHub: https://github.com/Samruddhi1517

