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