A small package that detects and categorizes blobs in images.
pip install BlobDetector
BlobDetector is a minimal implementation of two-pass connected component labeling for simple images: http://en.wikipedia.org/wiki/Blob_extraction#Two-pass