Skip to content

Instantly share code, notes, and snippets.

@n0obcoder
Created June 20, 2019 20:27
Show Gist options
  • Save n0obcoder/70027dbc472527f885f4cf7cabc9a52c to your computer and use it in GitHub Desktop.
Save n0obcoder/70027dbc472527f885f4cf7cabc9a52c to your computer and use it in GitHub Desktop.
def get_mean_shit_value(old_point, new_point):
mean_shift_value = np.sqrt( np.square(old_point[0] - new_point[0]) + np.square(old_point[1] - new_point[1]) )
return mean_shift_value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment