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

Method __init__

python/scripts/camera/realsense.py:74–83  ·  view source on GitHub ↗
(self, *, serial: str, info: DeviceInfo, width: int, height: int, fps: int)

Source from the content-addressed store, hash-verified

72 backend = "realsense"
73
74 def __init__(self, *, serial: str, info: DeviceInfo, width: int, height: int, fps: int):
75 self._serial = serial
76 self._info = dict(info)
77 self._width = int(width)
78 self._height = int(height)
79 self._fps = int(fps)
80 self._pipeline: Any | None = None
81 self._align: Any | None = None
82 self._depth_scale = 0.0
83 self._intrinsics: CameraIntrinsics | None = None
84
85 @property
86 def info(self) -> DeviceInfo:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected