Added main for complex blobs detection