.......# 📄 AI-Powered Document Scanner and Image Processing System
This project implements a complete document scanner system using Python and OpenCV.
It performs image acquisition, resolution analysis, gray-level quantization, and quality evaluation for document processing and OCR readiness.
✔ Image Acquisition from document images
✔ Grayscale conversion and resizing
✔ Image Sampling (Resolution Analysis)
✔ Image Quantization (Gray Level Reduction)
✔ Quality Observation and OCR suitability analysis
✔ Automatic output saving system
Displays welcome message and system description.
- Load document image
- Resize to 512×512
- Convert to grayscale
- Display original vs grayscale
- High resolution (512×512)
- Medium resolution (256×256)
- Low resolution (128×128)
- Upscaling for visualization
- Comparison of clarity and edges
- 256 gray levels (8-bit)
- 16 gray levels (4-bit)
- 4 gray levels (2-bit)
- Visualization of quantization artifacts
- Loss of fine text details
- Readability degradation
- OCR suitability evaluation
- Single comparison figure output