loupe.centroid#

loupe.centroid(img)[source]#

Compute image centroid location.

Parameters:

img (array_like) – Input array.

Returns:

centroid(x,y) centroid location.

Return type:

tuple