def bgr2rgb(self):
        """ Converts data using the cv conversion. """
        new_data = cv2.cvtColor(self.raw_data, cv2.COLOR_BGR2RGB)
        return ColorImage(new_data, frame=self.frame, encoding='rgb8')
def bgr2rgb ( self ) : new_data = cv2 . cvtColor ( self . raw_data , cv2 . COLOR_BGR2RGB ) return ColorImage ( new_data , frame = self . frame , encoding = 'rgb8' )
Converts data using the cv conversion.