Skip to content
Permalink
Browse files

...

  • Loading branch information...
numb3r3 committed Jul 26, 2019
1 parent a20672d commit c30f39ccfcafc014acf196a97f53c82d3532b09b
Showing with 1 addition and 1 deletion.
  1. +1 −1 gnes/preprocessor/helper.py
@@ -75,7 +75,7 @@ def get_video_frames(buffer_data: bytes, image_format: str = 'cv2',
cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
frames.append(image)
except Exception as e:
logger.warning("The decoded cv2 image from keyframe buffer is not in BGR format")
logger.warning("The decoded cv2 image from keyframe buffer can not be converted to RGB: %s" % str(e))
else:
logger.error("The image format [%s] is not supported so far!" % image_format)
raise NotImplementedError

0 comments on commit c30f39c

Please sign in to comment.
You can’t perform that action at this time.