three.MF.V3.Descriptors.CaptureImage
1from MF.V3.Settings.CaptureImage import CaptureImage as MF_V3_Settings_CaptureImage_CaptureImage 2 3 4class CaptureImage: 5 6 """ 7 Capture image descriptor. 8 """ 9 def __init__(self, camera: int, codec: MF_V3_Settings_CaptureImage_CaptureImage.Codec, grayscale: bool, width: int, height: int, step: int): 10 # The index of the camera that produced the image. 11 self.camera = camera 12 # Image codec. 13 self.codec = codec 14 # If true, image is 8-bit grayscale. Otherwise image is BGR888. 15 self.grayscale = grayscale 16 # Image width. 17 self.width = width 18 # Image height. 19 self.height = height 20 # Image row step in bytes. 21 self.step = step
class
CaptureImage:
5class CaptureImage: 6 7 """ 8 Capture image descriptor. 9 """ 10 def __init__(self, camera: int, codec: MF_V3_Settings_CaptureImage_CaptureImage.Codec, grayscale: bool, width: int, height: int, step: int): 11 # The index of the camera that produced the image. 12 self.camera = camera 13 # Image codec. 14 self.codec = codec 15 # If true, image is 8-bit grayscale. Otherwise image is BGR888. 16 self.grayscale = grayscale 17 # Image width. 18 self.width = width 19 # Image height. 20 self.height = height 21 # Image row step in bytes. 22 self.step = step
Capture image descriptor.
CaptureImage( camera: int, codec: MF.V3.Settings.CaptureImage.CaptureImage.Codec, grayscale: bool, width: int, height: int, step: int)
10 def __init__(self, camera: int, codec: MF_V3_Settings_CaptureImage_CaptureImage.Codec, grayscale: bool, width: int, height: int, step: int): 11 # The index of the camera that produced the image. 12 self.camera = camera 13 # Image codec. 14 self.codec = codec 15 # If true, image is 8-bit grayscale. Otherwise image is BGR888. 16 self.grayscale = grayscale 17 # Image width. 18 self.width = width 19 # Image height. 20 self.height = height 21 # Image row step in bytes. 22 self.step = step