Microsoft interview question

Design a computer vision algorithm that detects a blob