def cv_imread(file_path=""):
img_mat = cv2.imdecode(np.fromfile(file_path, dtype=np.uint8), 1)
# img_mat = cv2.imread(file_path)
return img_mat

def cv_imread(file_path=""):
img_mat = cv2.imdecode(np.fromfile(file_path, dtype=np.uint8), 1)
# img_mat = cv2.imread(file_path)
return img_mat