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

Function _ob

python/scripts/camera/orbbec.py:16–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15
16def _ob() -> Any:
17 try:
18 import pyorbbecsdk as ob
19 except ImportError as exc:
20 raise RuntimeError("pyorbbecsdk2 is required for --camera orbbec") from exc
21 return ob
22
23
24def _safe_call(obj: Any, method_name: str) -> str | None:

Callers 4

list_devicesFunction · 0.85
_get_deviceFunction · 0.85
frame_to_bgrFunction · 0.85
startMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected