def corner_fast(image, n=12, threshold=0.15):
 image = _prepare_grayscale_input_2D(image)
 image = np.ascontiguousarray(image)
 response = _corner_fast(image, n, threshold)
 return response

def corner_fast ( image , n = 12 , threshold = 0.15 ) : image = _prepare_grayscale_input_2D ( image ) image = np . ascontiguousarray ( image ) response = _corner_fast ( image , n , threshold ) return response
extract fast corners for a given image .