feat(perception): project recorded results into Rerun

This commit is contained in:
DCCONSTRUCTIONS
2026-07-19 17:39:13 +03:00
parent 31fc4f6567
commit 2b53168149
13 changed files with 1328 additions and 8 deletions
+10 -1
View File
@@ -30,6 +30,9 @@ class CameraComputeJob:
job_id: str
job_root: Path
manifest_path: Path
session_id: str
source_id: str
codec_epoch: int
input_sha256: str
input_byte_length: int
segment_count: int
@@ -170,11 +173,14 @@ def validate_camera_compute_job(job_root: Path) -> CameraComputeJob:
raise SessionIntegrityError("compute job input generation is inconsistent")
source_id = input_document.get("source_id")
session_id = input_document.get("session_id")
codec_epoch = input_document.get("codec_epoch")
timeline = input_document.get("timeline")
files = input_document.get("files")
if (
not isinstance(source_id, str)
not isinstance(session_id, str)
or _SAFE_COMPONENT.fullmatch(session_id) is None
or not isinstance(source_id, str)
or _SAFE_COMPONENT.fullmatch(source_id) is None
or not isinstance(codec_epoch, int)
or isinstance(codec_epoch, bool)
@@ -235,6 +241,9 @@ def validate_camera_compute_job(job_root: Path) -> CameraComputeJob:
job_id=root.name,
job_root=root,
manifest_path=manifest_path,
session_id=session_id,
source_id=source_id,
codec_epoch=codec_epoch,
input_sha256=input_sha256,
input_byte_length=total_bytes,
segment_count=segment_count,