BLDEAS V. P. Dr. P. G. Halakatti College of Engineering & Technology,
Vijayapura
FACULTY DEVELOPMENT PROGRAMME (FDP)
“Advances in Image Processing and its Applications”
Jointly Organized by
Department of CSE and Department of Information Science
(24-08-2026 to 30-08-2026)
Dear Participants,
All the docs includes Python Scripts with Problem Statement explanation.
You are hereby requested to use Docs in sequence, read, understand then copy paste in IDLE Editor or in Google Colab to run the programs. You need to confirm that the source image file must be copied in that folder where-in you store .py file.
Click on below link to get hands on material.
https://drive.google.com/drive/folders/1hv6Ciyk28JcVzALitOO496h-oWtbSmPV?usp=sharing
Digital Image Processing Fundamentals
Python Package Installation — Windows OS
Step 1: Check Python Installation
Open Command Prompt:
Windows → Search → type cmd → Command Prompt
Run:
python --versionYou should get something similar to:
Python 3.12.xAlso check pip:
python -m pip --versionStep 2: Upgrade pip
Run:
python -m pip install --upgrade pipStep 3: Install All Required DIP Packages
Recommended single command
Copy and paste this entire command into Command Prompt:
python -m pip install opencv-python numpy pillow openpyxl matplotlib scikit-image scikit-learnWait until the installation is completed.
Step 4: Verify the Packages
Run:
python -m pip show opencv-pythonpython -m pip show numpypython -m pip show pillowpython -m pip show openpyxlpython -m pip show matplotlibpython -m pip show scikit-imagepython -m pip show scikit-learnIf package information is displayed, the package is installed.
Step 5: Test All Packages Together
Participants can create a file named:
test_dip.pyand put this code inside:
# ============================================================
# TEST PROGRAM FOR DIGITAL IMAGE PROCESSING
# ============================================================
# NumPy - image matrices and numerical operations
import numpy as np
# OpenCV - image processing
import cv2
# Pillow - image reading
from PIL import Image
# OpenPyXL - Excel file creation
import openpyxl
# Matplotlib - image/graph display
import matplotlib
# Scikit-Image - image processing algorithms
import skimage
# Scikit-Learn - machine learning/classification
import sklearn
# ------------------------------------------------------------
# DISPLAY VERSIONS
# ------------------------------------------------------------
print("==========================================")
print("DIGITAL IMAGE PROCESSING ENVIRONMENT")
print("==========================================")
print("NumPy :", np.__version__)
print("OpenCV :", cv2.__version__)
print("Pillow :", Image.__version__)
print("OpenPyXL :", openpyxl.__version__)
print("Matplotlib :", matplotlib.__version__)
print("Scikit-Image :", skimage.__version__)
print("Scikit-Learn :", sklearn.__version__)
print()
print("All required packages are installed!")Run it from Command Prompt:
python test_dip.pyExpected result:
==========================================
DIGITAL IMAGE PROCESSING ENVIRONMENT
==========================================
NumPy : ...
OpenCV : ...
Pillow : ...
OpenPyXL : ...
Matplotlib : ...
Scikit-Image : ...
Scikit-Learn : ...
All required packages are installed!Step 6: If python Is Not Recognized
If participants get:
'python' is not recognized as an internal or external commandtry:
py --versionIf that works, use py instead of python:
py -m pip install --upgrade pipThen:
py -m pip install opencv-python numpy pillow openpyxl matplotlib scikit-image scikit-learnComplete Command List for Participants
You can give them this short version:
============================================================
DIGITAL IMAGE PROCESSING FUNDAMENTALS
PYTHON PACKAGE INSTALLATION – WINDOWS
============================================================
1. Check Python
python --version
2. Check pip
python -m pip --version
3. Upgrade pip
python -m pip install --upgrade pip
4. Install DIP packages
python -m pip install opencv-python numpy pillow openpyxl matplotlib scikit-image scikit-learn
5. Verify OpenCV
python -m pip show opencv-python
6. Verify NumPy
python -m pip show numpy
7. Verify Pillow
python -m pip show pillow
8. Verify OpenPyXL
python -m pip show openpyxl
9. Verify Matplotlib
python -m pip show matplotlib
10. Verify Scikit-Image
python -m pip show scikit-image
11. Verify Scikit-Learn
python -m pip show scikit-learn
============================================================Packages and their purpose
| Package | Purpose |
|---|---|
| OpenCV | Read, display, filter, threshold, segment and detect objects |
| NumPy | Image matrices and pixel manipulation |
| Pillow | Read/display JPG, PNG, TIFF images |
| OpenPyXL | Store pixel/RGB values in Excel |
| Matplotlib | Display images and plots |
| Scikit-Image | Advanced image processing and feature extraction |
| Scikit-Learn | Classification and machine learning |
Important: Participants should install these packages before the training session and bring their test result showing “All required packages are installed!” This will avoid installation delays during your practical demonstrations.
