A demo of how to use dilation with OpenCV.
This is code from my article, Dilation Demystified: A Complete Guide to Image Dilation with OpenCV
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!