A desktop image editing application developed using Python, PyQt5 and OpenCV.
This document explains ALL steps required to install, run, build EXE, and create installer.
- Windows 10 or above
- Python 3.10+
- Minimum 4GB RAM
Download Python from: https://www.python.org/downloads/
During installation: ✔ Select "Add Python to PATH"
Verify installation:
python --version
Explanation: This command checks if Python is installed properly.
Open terminal inside project folder:
cd ImageCompareSoftware
Explanation: cd = change directory Moves terminal into your project folder.
Create virtual environment:
python -m venv venv
Explanation:
- -m venv creates isolated Python environment
- venv is the environment folder name
Activate virtual environment:
venv\Scripts\activate
If PowerShell blocks activation:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Then activate again:
venv\Scripts\activate
After activation, you should see:
(venv)
This means virtual environment is active.
Install dependencies:
pip install -r requirements.txt
Explanation: pip installs packages listed inside requirements.txt
Packages installed:
- PyQt5 (GUI framework)
- opencv-python (Image processing)
- numpy (Numerical operations)
- pyinstaller (For building EXE)
Run the software:
python main.py
Explanation: python runs interpreter main.py is main application file
GUI window will open.
- Click Browse Folder
- Select folder containing images
- Enter extension (example: jpg or png)
- Click Load Files
- Select one or multiple images
- Adjust sliders (Brightness, Contrast, Exposure, etc.)
- Click APPLY EDITS
- Use mouse wheel to Zoom
- Click Compare Before / After
- Use Crop tool if required
- All actions are saved in logs.txt
- Logs remain even after closing application
- Logs include date, time, and operation details
Activate virtual environment:
venv\Scripts\activate
Build executable:
python -m PyInstaller --noconsole --onefile --clean --name ImageEditorPro main.py
Explanation of flags:
--noconsole → hides terminal window --onefile → creates single EXE --clean → removes temporary build files --name → sets output EXE name
After build, EXE will be located in:
dist\ImageEditorPro.exe
-
Install Inno Setup: https://jrsoftware.org/isinfo.php
-
Create installer script (.iss file)
-
Compile installer script
After compilation, you will get:
ImageEditorPro_Setup.exe
This setup file will: ✔ Install program in Program Files ✔ Create Desktop shortcut ✔ Create Start Menu entry ✔ Provide Uninstaller ✔ Show Install → Finish wizard
ImageCompareSoftware/ │ ├── main.py ├── requirements.txt ├── README.md ├── logs.txt ├── dist/ └── venv/
This project demonstrates:
- GUI development using PyQt5
- Image processing using OpenCV
- Event-driven programming
- File handling & logging
- Multi-image editing
- Software packaging & deployment
Name: ______________________ Course: B.Tech CSE Year: 2nd Year