Skip to content

This Python program demonstrates converting an image to grayscale and applying thresholding for binarization using OpenCV.

Notifications You must be signed in to change notification settings

Snekaparthiban/Image-Thresholding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Image-Thresholding

This Python program demonstrates converting an image to grayscale and applying thresholding for binarization using OpenCV. How to Use:

1.Install OpenCV: Ensure you have OpenCV installed using pip install opencv-python in your terminal. 2.Save the Script: Save the code as a Python file (e.g., threshold_image.py). 3.Place Image: Put the image named "rain.jpg" in the same directory as your Python script. 4.Run the Script: Execute the script using python.

Uploading image.png…

About

This Python program demonstrates converting an image to grayscale and applying thresholding for binarization using OpenCV.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages