centroid#

rlemasklib.RLEMask.centroid()[source][C source]#

The centroid of the mask, as a numpy float32 array [x, y].

Return type:

ndarray