pyspark/bigdl/transform/vision/image.py
def get_image(self, float_key="floats", to_chw=True):
        """
        get image list from ImageFrame
        """
        tensors = callBigDlFunc(self.bigdl_type,
                                   "localImageFrameToImageTensor", self.value, float_key, to_chw)
        return map(lambda tensor: tensor.to_ndarray(), tensors)
def get_image(self, float_key="floats", to_chw=True):
        """
        get image list from ImageFrame
        """
        tensors = callBigDlFunc(self.bigdl_type,
                                   "localImageFrameToImageTensor", self.value, float_key, to_chw)
        return map(lambda tensor: tensor.to_ndarray(), tensors)
def get_image ( self , float_key = "floats" , to_chw = True ) : tensors = callBigDlFunc ( self . bigdl_type , "localImageFrameToImageTensor" , self . value , float_key , to_chw ) return map ( lambda tensor : tensor . to_ndarray ( ) , tensors )
get image list from ImageFrame
get image list from ImageFrame