Detection of connected components in an image
This code is an implementation of a Breadth-First Search (BFS) algorithm for indexing connected components in a binary image. It uses the Python libraries numpy, matplotlib, scipy, and PIL (Python Imaging Library).
How to run:
python3 -m pip install -r requirements.txt
python3 main.pySome testcases:





