DAQRI interview question

Write an algorithm to detect blobs in a binary image.