A demo of how to use simple thresholding with OpenCV.
This is code from my article, Simple Thresholding with OpenCV and Python: A Beginner's Guide
Also featured on the Computer Vision Power Hour
Have Python installed on your machine.
Create a new Python environment.
run:
pip install -r requirements.txt
Enjoy!