new method with blob detect to get edges and corners