image-decode
copied
update
Signed-off-by: junjie.jiangjjj <junjie.jiangjjj@zilliz.com>
@ -49,7 +49,7 @@ class ImageDecoder(PyOperator):
raise RuntimeError(err)
rgb_cv_image = cv2.cvtColor(bgr_cv_image, cv2.COLOR_BGR2RGB)
return ndarray_utils.from_ndarray(rgb_cv_image, 'RGB')
return Image(rgb_cv_image, 'RGB')
@property
def shared_type(self):