three.MF.V3.Tasks.CalibrationCaptureTargets
1from MF.V3.Descriptors.Calibration import CaptureTarget as MF_V3_Descriptors_Calibration_CaptureTarget 2from MF.V3.Task import TaskState as MF_V3_Task_TaskState 3 4 5class CalibrationCaptureTargets: 6 """* 7 Get the camera calibration targets. 8 9 > Request example: 10 11 ```json 12 { 13 "Task":{ 14 "Index":1, 15 "Type":"CalibrationCaptureTargets" 16 } 17 } 18 ``` 19 20 > Response example: 21 22 ```json 23 { 24 "Task":{ 25 "Index":1, 26 "Type":"CalibrationCaptureTargets", 27 "Output":{[ 28 { 29 "camera":0, 30 "quads":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16] 31 }, 32 { 33 "camera":1, 34 "quads":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16] 35 }, 36 ]}, 37 "State":"Completed" 38 } 39 } 40 ``` 41 """ 42 class Request: 43 44 """ 45 Client request for the `CalibrationCaptureTargets` task. 46 """ 47 def __init__(self, Index: int, Type: str): 48 # A unique identifier generated by the client. 49 self.Index = Index 50 # "CalibrationCaptureTargets" 51 self.Type = Type 52 53 class Response: 54 55 """ 56 Server response for the `CalibrationCaptureTargets` task. 57 """ 58 def __init__(self, Index: int, Type: str, Output: MF_V3_Descriptors_Calibration_CaptureTarget = None, State: MF_V3_Task_TaskState = None, Error: str = None): 59 # The unique identifier generated by the client. 60 self.Index = Index 61 # "CalibrationCaptureTargets" 62 self.Type = Type 63 # The calibration capture target descriptor. 64 self.Output = Output 65 # The current state of the task. 66 self.State = State 67 # A string describing the error if the task has failed. 68 self.Error = Error 69 70 def __init__(self): 71 pass
class
CalibrationCaptureTargets:
6class CalibrationCaptureTargets: 7 """* 8 Get the camera calibration targets. 9 10 > Request example: 11 12 ```json 13 { 14 "Task":{ 15 "Index":1, 16 "Type":"CalibrationCaptureTargets" 17 } 18 } 19 ``` 20 21 > Response example: 22 23 ```json 24 { 25 "Task":{ 26 "Index":1, 27 "Type":"CalibrationCaptureTargets", 28 "Output":{[ 29 { 30 "camera":0, 31 "quads":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16] 32 }, 33 { 34 "camera":1, 35 "quads":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16] 36 }, 37 ]}, 38 "State":"Completed" 39 } 40 } 41 ``` 42 """ 43 class Request: 44 45 """ 46 Client request for the `CalibrationCaptureTargets` task. 47 """ 48 def __init__(self, Index: int, Type: str): 49 # A unique identifier generated by the client. 50 self.Index = Index 51 # "CalibrationCaptureTargets" 52 self.Type = Type 53 54 class Response: 55 56 """ 57 Server response for the `CalibrationCaptureTargets` task. 58 """ 59 def __init__(self, Index: int, Type: str, Output: MF_V3_Descriptors_Calibration_CaptureTarget = None, State: MF_V3_Task_TaskState = None, Error: str = None): 60 # The unique identifier generated by the client. 61 self.Index = Index 62 # "CalibrationCaptureTargets" 63 self.Type = Type 64 # The calibration capture target descriptor. 65 self.Output = Output 66 # The current state of the task. 67 self.State = State 68 # A string describing the error if the task has failed. 69 self.Error = Error 70 71 def __init__(self): 72 pass
* Get the camera calibration targets.
Request example:
{
"Task":{
"Index":1,
"Type":"CalibrationCaptureTargets"
}
}
Response example:
{
"Task":{
"Index":1,
"Type":"CalibrationCaptureTargets",
"Output":{[
{
"camera":0,
"quads":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]
},
{
"camera":1,
"quads":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]
},
]},
"State":"Completed"
}
}
class
CalibrationCaptureTargets.Request:
43 class Request: 44 45 """ 46 Client request for the `CalibrationCaptureTargets` task. 47 """ 48 def __init__(self, Index: int, Type: str): 49 # A unique identifier generated by the client. 50 self.Index = Index 51 # "CalibrationCaptureTargets" 52 self.Type = Type
Client request for the CalibrationCaptureTargets
task.
class
CalibrationCaptureTargets.Response:
54 class Response: 55 56 """ 57 Server response for the `CalibrationCaptureTargets` task. 58 """ 59 def __init__(self, Index: int, Type: str, Output: MF_V3_Descriptors_Calibration_CaptureTarget = None, State: MF_V3_Task_TaskState = None, Error: str = None): 60 # The unique identifier generated by the client. 61 self.Index = Index 62 # "CalibrationCaptureTargets" 63 self.Type = Type 64 # The calibration capture target descriptor. 65 self.Output = Output 66 # The current state of the task. 67 self.State = State 68 # A string describing the error if the task has failed. 69 self.Error = Error
Server response for the CalibrationCaptureTargets
task.
CalibrationCaptureTargets.Response( Index: int, Type: str, Output: MF.V3.Descriptors.Calibration.CaptureTarget = None, State: MF.V3.Task.TaskState = None, Error: str = None)
59 def __init__(self, Index: int, Type: str, Output: MF_V3_Descriptors_Calibration_CaptureTarget = None, State: MF_V3_Task_TaskState = None, Error: str = None): 60 # The unique identifier generated by the client. 61 self.Index = Index 62 # "CalibrationCaptureTargets" 63 self.Type = Type 64 # The calibration capture target descriptor. 65 self.Output = Output 66 # The current state of the task. 67 self.State = State 68 # A string describing the error if the task has failed. 69 self.Error = Error