three.MF.V3.Settings.AutoFocus
1from MF.V3.Settings.Rectangle import Rectangle as MF_V3_Settings_Rectangle_Rectangle 2from typing import List 3 4 5class AutoFocus: 6 7 """ 8 Auto focus settings. 9 """ 10 class Camera: 11 12 """ 13 Auto focus camera settings. 14 """ 15 def __init__(self, index: int, box: MF_V3_Settings_Rectangle_Rectangle = None): 16 # The index of the camera on which to apply auto focus. 17 self.index = index 18 # The image rectangle in video image pixels on which to apply auto focus. 19 self.box = box 20 21 def __init__(self, applyAll: bool, cameras: List['Camera'] = None): 22 """ 23 Apply the final focus value to both cameras. 24 This setting is ignored if more than one camera is selected. 25 """ 26 self.applyAll = applyAll 27 # The set of cameras on which to apply auto focus. 28 self.cameras = cameras
class
AutoFocus:
6class AutoFocus: 7 8 """ 9 Auto focus settings. 10 """ 11 class Camera: 12 13 """ 14 Auto focus camera settings. 15 """ 16 def __init__(self, index: int, box: MF_V3_Settings_Rectangle_Rectangle = None): 17 # The index of the camera on which to apply auto focus. 18 self.index = index 19 # The image rectangle in video image pixels on which to apply auto focus. 20 self.box = box 21 22 def __init__(self, applyAll: bool, cameras: List['Camera'] = None): 23 """ 24 Apply the final focus value to both cameras. 25 This setting is ignored if more than one camera is selected. 26 """ 27 self.applyAll = applyAll 28 # The set of cameras on which to apply auto focus. 29 self.cameras = cameras
Auto focus settings.
AutoFocus( applyAll: bool, cameras: List[AutoFocus.Camera] = None)
22 def __init__(self, applyAll: bool, cameras: List['Camera'] = None): 23 """ 24 Apply the final focus value to both cameras. 25 This setting is ignored if more than one camera is selected. 26 """ 27 self.applyAll = applyAll 28 # The set of cameras on which to apply auto focus. 29 self.cameras = cameras
Apply the final focus value to both cameras. This setting is ignored if more than one camera is selected.
class
AutoFocus.Camera:
11 class Camera: 12 13 """ 14 Auto focus camera settings. 15 """ 16 def __init__(self, index: int, box: MF_V3_Settings_Rectangle_Rectangle = None): 17 # The index of the camera on which to apply auto focus. 18 self.index = index 19 # The image rectangle in video image pixels on which to apply auto focus. 20 self.box = box
Auto focus camera settings.