pycognaize.common.utils.image_bytes_to_array

image_bytes_to_array(img_str)[source]

Convert image bytes into numpy array

Parameters:

img_str (bytes) – Bytestream of the image

Return type:

ndarray

Returns:

numpy array of the image