MCPcopy Create free account

hub / github.com/LeoDJ/P2Pro-Viewer / functions

Functions35 in github.com/LeoDJ/P2Pro-Viewer

↓ 7 callersMethod_block_until_camera_ready
Blocks until the camera is ready or the timeout is reached :param timeout: Timeout in seconds :return: True if the camera is
P2Pro/P2Pro_cmd.py:101
↓ 6 callersMethodstart
(self)
P2Pro/recorder.py:38
↓ 3 callersMethodopen
(self, camera_id: Union[int, str] = -1)
P2Pro/video.py:74
↓ 2 callersMethod_standard_cmd_read
Sends a "standard CMD read" packet :param cmd: 2 byte CMD code :param cmd_param: 4 byte parameter that gets sent together wi
P2Pro/P2Pro_cmd.py:204
↓ 2 callersMethodstop
(self)
P2Pro/recorder.py:44
↓ 1 callersMethod__init__
(self, **kwargs)
P2Pro/gui.py:44
↓ 1 callersMethod_check_camera_ready
Checks if the camera is ready (i2c_usb_check_access_done in the SDK) :return: True if the camera is ready :raises UserWarni
P2Pro/P2Pro_cmd.py:87
↓ 1 callersMethod_long_cmd_read
(self, cmd: int, p1: int, p2: int = 0, p3: int = 0, dataLen: int = 2)
P2Pro/P2Pro_cmd.py:127
↓ 1 callersMethod_long_cmd_write
(self, cmd: int, p1: int, p2: int, p3: int = 0, p4: int = 0)
P2Pro/P2Pro_cmd.py:117
↓ 1 callersMethod_standard_cmd_write
Sends a "standard CMD write" packet :param cmd: 2 byte CMD code :param cmd_param: 4 byte parameter that gets sent together w
P2Pro/P2Pro_cmd.py:140
↓ 1 callersFunctiongenerate_frame
()
P2Pro/gui.py:118
↓ 1 callersMethodget_P2Pro_cap_id
(self)
P2Pro/video.py:59
↓ 1 callersMethodget_device_info
(self, dev_info: DeviceInfoType)
P2Pro/P2Pro_cmd.py:252
↓ 1 callersMethodget_prop_tpd_params
(self, tpd_param: PropTpdParams)
P2Pro/P2Pro_cmd.py:248
↓ 1 callersMethodlist_cap_ids
Test the ports and returns a tuple with the available ports and the ones that are working.
P2Pro/video.py:25
↓ 1 callersMethodon_start
(self)
P2Pro/gui.py:74
↓ 1 callersMethodpseudo_color_get
(self, preview_path: int = 0)
P2Pro/P2Pro_cmd.py:241
↓ 1 callersMethodpseudo_color_set
(self, preview_path: int, color_type: PseudoColorTypes)
P2Pro/P2Pro_cmd.py:238
Method__init__
(self, path)
P2Pro/recorder.py:19
Method__init__
(self, input_queue: queue.Queue, path: str, radiometry: bool = True, audio: bool = True)
P2Pro/recorder.py:59
Method__init__
(self, callback, target, **kwargs)
P2Pro/gui.py:32
Method__init__
(self)
P2Pro/P2Pro_cmd.py:81
Method__init__
(self, pipe, handler)
P2Pro/util.py:11
Method_proxy_lines
(pipe, handler)
P2Pro/util.py:6
Methodbuild
(self)
P2Pro/gui.py:94
Methodcapture_still
(self, path: str)
P2Pro/recorder.py:68
Methoddraw_scale
(self, *args)
P2Pro/gui.py:49
Methodon_any_event
(self, event)
P2Pro/gui.py:37
Methodrec_thread
(self)
P2Pro/recorder.py:72
Methodrecord
(self)
P2Pro/recorder.py:52
Methodset_prop_tpd_params
(self, tpd_param: PropTpdParams, value: int)
P2Pro/P2Pro_cmd.py:245
Methodstart
(self)
P2Pro/recorder.py:157
Methodstop
(self)
P2Pro/recorder.py:163
Methodupdate
(self, *args)
P2Pro/gui.py:104
Methodupdate_frame
(self, dt)
P2Pro/gui.py:79