bundle.recon3d.stages.base

Abstract base class for pipeline stages.

Attributes

log

Classes

Stage

Base class for a pipeline stage.

Module Contents

bundle.recon3d.stages.base.log
class bundle.recon3d.stages.base.Stage(/, **data: Any)[source]

Bases: bundle.core.entity.Entity

Base class for a pipeline stage.

Each stage wraps an external tool (COLMAP, 3DGRUT, etc.) with a thin Python orchestration layer: construct CLI args, run via subprocess, and validate the output contract.

abstractmethod run(input: bundle.core.data.Data) → bundle.core.data.Data[source]
Async:

Execute the stage and return the output contract.

abstractmethod check_deps() → bool[source]
Async:

Verify that external tools required by this stage are available.