menpo_image_to_uint8¶
-
menpodetect.detect.
menpo_image_to_uint8
(image)[source]¶ Return the given image as a uint8 array. This is a copy of the image.
Parameters: image (menpo.image.Image) – The image to convert. If already uint8, only the channels will be rolled to the last axis. Returns: uint8_image (ndarray) – uint8 Numpy array, channels as the back (last) axis.