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

Function create_camera

python/scripts/camera/realsense.py:142–144  ·  view source on GitHub ↗
(*, selector: str | None, width: int, height: int, fps: int)

Source from the content-addressed store, hash-verified

140
141
142def create_camera(*, selector: str | None, width: int, height: int, fps: int) -> RealSenseCamera:
143 serial, info = resolve_device(selector)
144 return RealSenseCamera(serial=serial, info=info, width=width, height=height, fps=fps)
145

Callers

nothing calls this directly

Calls 2

RealSenseCameraClass · 0.85
resolve_deviceFunction · 0.70

Tested by

no test coverage detected