Skip to content

scene

scene #

A posed scene capture: keyframes plus the world map that anchors them.

SceneCapture #

Bases: Struct

A world-anchored scene: the ARKit world map plus its posed keyframes.

Enough to relocalize later sessions into the same frame and to reconstruct the scene offline from posed RGB(-D).

Source code in capturegraph-lib/capturegraph/types/compositions/scene.py
class SceneCapture(Struct):
    """A world-anchored scene: the ARKit world map plus its posed keyframes.

    Enough to relocalize later sessions into the same frame and to reconstruct
    the scene offline from posed RGB(-D).
    """

    world_map: ARWorldMap
    frames: Array[SceneFrame]

SceneFrame #

Bases: Struct

One posed, exposure-tagged keyframe of a scene capture.

depth and gps_location are best-effort missing leaves (no scene-depth hardware; no fix or geotagging disabled). A present fix pairs with the same instant's pose, so a server can solve the scene's ARKit↔geographic alignment from the pairs.

Source code in capturegraph-lib/capturegraph/types/compositions/scene.py
class SceneFrame(Struct):
    """One posed, exposure-tagged keyframe of a scene capture.

    ``depth`` and ``gps_location`` are best-effort ``missing`` leaves (no
    scene-depth hardware; no fix or geotagging disabled). A present fix pairs
    with the same instant's ``pose``, so a server can solve the scene's
    ARKit↔geographic alignment from the pairs.
    """

    image: Image
    depth: Depth
    pose: Pose
    exposure: Exposure
    gps_location: Location