Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeoDJ/P2Pro-Viewer
/ functions
Functions
35 in github.com/LeoDJ/P2Pro-Viewer
⨍
Functions
35
◇
Types & classes
13
↓ 7 callers
Method
_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 callers
Method
start
(self)
P2Pro/recorder.py:38
↓ 3 callers
Method
open
(self, camera_id: Union[int, str] = -1)
P2Pro/video.py:74
↓ 2 callers
Method
_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 callers
Method
stop
(self)
P2Pro/recorder.py:44
↓ 1 callers
Method
__init__
(self, **kwargs)
P2Pro/gui.py:44
↓ 1 callers
Method
_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 callers
Method
_long_cmd_read
(self, cmd: int, p1: int, p2: int = 0, p3: int = 0, dataLen: int = 2)
P2Pro/P2Pro_cmd.py:127
↓ 1 callers
Method
_long_cmd_write
(self, cmd: int, p1: int, p2: int, p3: int = 0, p4: int = 0)
P2Pro/P2Pro_cmd.py:117
↓ 1 callers
Method
_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 callers
Function
generate_frame
()
P2Pro/gui.py:118
↓ 1 callers
Method
get_P2Pro_cap_id
(self)
P2Pro/video.py:59
↓ 1 callers
Method
get_device_info
(self, dev_info: DeviceInfoType)
P2Pro/P2Pro_cmd.py:252
↓ 1 callers
Method
get_prop_tpd_params
(self, tpd_param: PropTpdParams)
P2Pro/P2Pro_cmd.py:248
↓ 1 callers
Method
list_cap_ids
Test the ports and returns a tuple with the available ports and the ones that are working.
P2Pro/video.py:25
↓ 1 callers
Method
on_start
(self)
P2Pro/gui.py:74
↓ 1 callers
Method
pseudo_color_get
(self, preview_path: int = 0)
P2Pro/P2Pro_cmd.py:241
↓ 1 callers
Method
pseudo_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
Method
build
(self)
P2Pro/gui.py:94
Method
capture_still
(self, path: str)
P2Pro/recorder.py:68
Method
draw_scale
(self, *args)
P2Pro/gui.py:49
Method
on_any_event
(self, event)
P2Pro/gui.py:37
Method
rec_thread
(self)
P2Pro/recorder.py:72
Method
record
(self)
P2Pro/recorder.py:52
Method
set_prop_tpd_params
(self, tpd_param: PropTpdParams, value: int)
P2Pro/P2Pro_cmd.py:245
Method
start
(self)
P2Pro/recorder.py:157
Method
stop
(self)
P2Pro/recorder.py:163
Method
update
(self, *args)
P2Pro/gui.py:104
Method
update_frame
(self, dt)
P2Pro/gui.py:79