three.MF.V3.Tasks.DetectCalibrationCard

 1from MF.V3.Task import TaskState as MF_V3_Task_TaskState
 2
 3
 4class DetectCalibrationCard:
 5    """*
 6    Turns on the detection the calibration card on one or both cameras.
 7    Use the Video Frame Descriptor to get the results of the detection.
 8
 9    > Request example:
10
11    ```json
12    {
13    "Task":{
14    "Index":1,
15    "Type":"DetectCalibrationCard",
16    "Input":3
17    }
18    }
19    ```
20
21    > Response example:
22
23    ```json
24    {
25    "Task":{
26    "Index":1,
27    "Input":3,
28    "Type":"DetectCalibrationCard",
29    "State":"Completed"
30    }
31    }
32    ```
33    """
34    class Request:
35
36        """
37         Client request for the `DetectCalibrationCard` task.
38        """
39        def __init__(self, Index: int, Type: str, Input: int):
40            # A unique identifier generated by the client.
41            self.Index = Index
42            # "DetectCalibrationCard"
43            self.Type = Type
44            """
45            Flag specifying on which camera(s) to start the detection the calibration card.
46            [0: neither camera (disable), 1: left camera, 2: right camera, 3: both cameras]
47            """
48            self.Input = Input
49
50    class Response:
51
52        """
53         Server response for the `DetectCalibrationCard` task.
54        """
55        def __init__(self, Index: int, Type: str, Input: int, State: MF_V3_Task_TaskState = None, Error: str = None):
56            # The unique identifier generated by the client.
57            self.Index = Index
58            # "DetectCalibrationCard"
59            self.Type = Type
60            """
61            Flag sent in the request specifying on which camera(s) to start the detection the calibration card.
62            [0: neither camera (disable), 1: left camera, 2: right camera, 3: both cameras]
63            """
64            self.Input = Input
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 DetectCalibrationCard:
 5class DetectCalibrationCard:
 6    """*
 7    Turns on the detection the calibration card on one or both cameras.
 8    Use the Video Frame Descriptor to get the results of the detection.
 9
10    > Request example:
11
12    ```json
13    {
14    "Task":{
15    "Index":1,
16    "Type":"DetectCalibrationCard",
17    "Input":3
18    }
19    }
20    ```
21
22    > Response example:
23
24    ```json
25    {
26    "Task":{
27    "Index":1,
28    "Input":3,
29    "Type":"DetectCalibrationCard",
30    "State":"Completed"
31    }
32    }
33    ```
34    """
35    class Request:
36
37        """
38         Client request for the `DetectCalibrationCard` task.
39        """
40        def __init__(self, Index: int, Type: str, Input: int):
41            # A unique identifier generated by the client.
42            self.Index = Index
43            # "DetectCalibrationCard"
44            self.Type = Type
45            """
46            Flag specifying on which camera(s) to start the detection the calibration card.
47            [0: neither camera (disable), 1: left camera, 2: right camera, 3: both cameras]
48            """
49            self.Input = Input
50
51    class Response:
52
53        """
54         Server response for the `DetectCalibrationCard` task.
55        """
56        def __init__(self, Index: int, Type: str, Input: int, State: MF_V3_Task_TaskState = None, Error: str = None):
57            # The unique identifier generated by the client.
58            self.Index = Index
59            # "DetectCalibrationCard"
60            self.Type = Type
61            """
62            Flag sent in the request specifying on which camera(s) to start the detection the calibration card.
63            [0: neither camera (disable), 1: left camera, 2: right camera, 3: both cameras]
64            """
65            self.Input = Input
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

* Turns on the detection the calibration card on one or both cameras. Use the Video Frame Descriptor to get the results of the detection.

Request example:

{
"Task":{
"Index":1,
"Type":"DetectCalibrationCard",
"Input":3
}
}

Response example:

{
"Task":{
"Index":1,
"Input":3,
"Type":"DetectCalibrationCard",
"State":"Completed"
}
}
class DetectCalibrationCard.Request:
35    class Request:
36
37        """
38         Client request for the `DetectCalibrationCard` task.
39        """
40        def __init__(self, Index: int, Type: str, Input: int):
41            # A unique identifier generated by the client.
42            self.Index = Index
43            # "DetectCalibrationCard"
44            self.Type = Type
45            """
46            Flag specifying on which camera(s) to start the detection the calibration card.
47            [0: neither camera (disable), 1: left camera, 2: right camera, 3: both cameras]
48            """
49            self.Input = Input

Client request for the DetectCalibrationCard task.

DetectCalibrationCard.Request(Index: int, Type: str, Input: int)
40        def __init__(self, Index: int, Type: str, Input: int):
41            # A unique identifier generated by the client.
42            self.Index = Index
43            # "DetectCalibrationCard"
44            self.Type = Type
45            """
46            Flag specifying on which camera(s) to start the detection the calibration card.
47            [0: neither camera (disable), 1: left camera, 2: right camera, 3: both cameras]
48            """
49            self.Input = Input
Index
Type

Flag specifying on which camera(s) to start the detection the calibration card. [0: neither camera (disable), 1: left camera, 2: right camera, 3: both cameras]

Input
class DetectCalibrationCard.Response:
51    class Response:
52
53        """
54         Server response for the `DetectCalibrationCard` task.
55        """
56        def __init__(self, Index: int, Type: str, Input: int, State: MF_V3_Task_TaskState = None, Error: str = None):
57            # The unique identifier generated by the client.
58            self.Index = Index
59            # "DetectCalibrationCard"
60            self.Type = Type
61            """
62            Flag sent in the request specifying on which camera(s) to start the detection the calibration card.
63            [0: neither camera (disable), 1: left camera, 2: right camera, 3: both cameras]
64            """
65            self.Input = Input
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 DetectCalibrationCard task.

DetectCalibrationCard.Response( Index: int, Type: str, Input: int, State: MF.V3.Task.TaskState = None, Error: str = None)
56        def __init__(self, Index: int, Type: str, Input: int, State: MF_V3_Task_TaskState = None, Error: str = None):
57            # The unique identifier generated by the client.
58            self.Index = Index
59            # "DetectCalibrationCard"
60            self.Type = Type
61            """
62            Flag sent in the request specifying on which camera(s) to start the detection the calibration card.
63            [0: neither camera (disable), 1: left camera, 2: right camera, 3: both cameras]
64            """
65            self.Input = Input
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
Index
Type

Flag sent in the request specifying on which camera(s) to start the detection the calibration card. [0: neither camera (disable), 1: left camera, 2: right camera, 3: both cameras]

Input
State
Error