MCPcopy Create free account
hub / github.com/Ar-Ray-code/lingbot-depth-trt / _rs

Function _rs

python/scripts/camera/realsense.py:12–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11
12def _rs() -> Any:
13 try:
14 import pyrealsense2 as rs
15 except ImportError as exc:
16 raise RuntimeError("pyrealsense2 is required for --camera realsense") from exc
17 return rs
18
19
20def _device_info(device: Any) -> DeviceInfo:

Callers 3

_device_infoFunction · 0.85
list_devicesFunction · 0.85
startMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected