A powerful Python-based image compression and reconstruction tool that provides efficient compression algorithms while maintaining image quality.
- Multiple Processing Modes:
- Standard compression mode
- BGR (Blue-Green-Red) channel processing
- Y-channel only processing for enhanced efficiency
- Interactive GUI for easy image manipulation
- Batch Processing capability for multiple images
- Visual Feedback with residual image generation
- Customizable Parameters for compression quality
- Python 3.x
- Required Python packages (install via requirements.txt)
-
Clone the repository:
git clone https://github.com/YounesBensafia/VisionCompressor.git cd VisionCompressor -
Install dependencies:
pip install -r requirements.txt
Launch the graphical interface for interactive compression:
python main.pyVisionCompressor/
├── src/ # Source code
│ ├── gui.py # GUI implementation
│ ├── main.py # Standard compression
│ ├── main_BGR.py # BGR processing
│ └── main_with_y_channel_only.py
├── images/ # Input images directory
│ ├── reconstructed/ # Reconstructed images
│ └── residuals/ # Residual images
├── tests/
│
└── pyproject.toml
- Input Images: Place your images in the
images/directory - Output:
- Reconstructed images are saved in
output/reconstructed/ - Residual images are saved in
output/residuals/
- Reconstructed images are saved in
Contributions are welcome! Feel free to:
- Open issues for bugs or enhancement suggestions
- Submit pull requests with improvements
- Share feedback about the tool
