scene_service.ingest.capabilities¶
Perception routing: which tier and detector Scene runs, from the wired inputs.
metric RGB + depth -> an open-vocabulary 3D mapper (ConceptGraphs or DualMap) visual RGB only -> VLM detections with coarse positions geometric no camera -> no detector; occupancy queries still work
Only the camera streams decide the tier; intrinsics and pose affect grounding.
Functions
|
Pick the tier from the wired camera streams; annotate forces geometric. |
|
The camera inputs share one pinned provider; other kinds are discovered freely. |
Classes
|
Resolved routing; |
- class scene_service.ingest.capabilities.PerceptionConfig(profile: ~typing.Literal['lite', 'full', 'annotate'], backend: ~typing.Literal['concept_graphs', 'dualmap'] = 'concept_graphs', period_s: float | None = None, confidence_threshold: float | None = None, max_detections: int | None = None, concept_graphs: dict = <factory>, dualmap: dict = <factory>, ignored_keys: tuple[str, ...] = ())[source]¶
Bases:
objectThe validated scene.config.perception block; ignored_keys are logged.
- backend: Literal['concept_graphs', 'dualmap'] = 'concept_graphs'¶
- concept_graphs: dict¶
- confidence_threshold: float | None = None¶
- dualmap: dict¶
- ignored_keys: tuple[str, ...] = ()¶
- max_detections: int | None = None¶
- period_s: float | None = None¶
- profile: Literal['lite', 'full', 'annotate']¶
- class scene_service.ingest.capabilities.PerceptionPlan(tier: Literal['metric', 'visual', 'geometric'], detector: Literal['concept_graphs', 'dualmap', 'vlm'] | None, has_rgb: bool, has_depth: bool, has_intrinsics: bool, has_pose: bool, has_extrinsics: bool, profile: Literal['lite', 'full', 'annotate'] = 'lite')[source]¶
Bases:
objectResolved routing;
detectorNone means no object detection. The booleans record the wired inputs for the startup log.- detector: Literal['concept_graphs', 'dualmap', 'vlm'] | None¶
- property grounding: Literal['metric', 'degraded', 'n/a']¶
- has_depth: bool¶
- has_extrinsics: bool¶
- has_intrinsics: bool¶
- has_pose: bool¶
- has_rgb: bool¶
- profile: Literal['lite', 'full', 'annotate'] = 'lite'¶
- tier: Literal['metric', 'visual', 'geometric']¶
- scene_service.ingest.capabilities.default_backend() Literal['concept_graphs', 'dualmap'][source]¶
The backend to use when config and environment both stay silent.
- scene_service.ingest.capabilities.dualmap_available() bool[source]¶
Whether the image has a DualMap checkout; checked by path, since importing it loads torch.
- scene_service.ingest.capabilities.perception_config(config: dict, env: dict | None = None) PerceptionConfig[source]¶
Parse and validate config[“perception”]. Profile and backend fall back to SCENE_PROFILE / SCENE_PERCEPTION_BACKEND in env; unknown backend keys and non-numeric numbers raise at boot.
- scene_service.ingest.capabilities.plan_perception(hub: Any, profile: Literal['lite', 'full', 'annotate'] = 'lite', backend: Literal['concept_graphs', 'dualmap'] = 'concept_graphs') PerceptionPlan[source]¶
Pick the tier from the wired camera streams; annotate forces geometric.
- scene_service.ingest.capabilities.provider_for_kind(kind: str, camera_provider_id: str = '') str[source]¶
The camera inputs share one pinned provider; other kinds are discovered freely.