class documentation

class PreprocessingBlock(BaseModelExtraForbid):

View In Hierarchy

Preprocessing operations applied to model input data.

Instance Variable dai_type Optional DepthAI input type used to configure pipeline input handling.
Instance Variable interleaved_to_planar Optional legacy layout conversion flag.
Instance Variable mean Optional mean values in channel order. The order should match the preprocessing used during training.
Instance Variable reverse_channels Optional legacy channel-order flag.
Instance Variable scale Optional standardization values in channel order. The order should match the preprocessing used during training.
dai_type: str | None =

Optional DepthAI input type used to configure pipeline input handling.

interleaved_to_planar: bool | None =

Optional legacy layout conversion flag.

Deprecated since version 0.5.0: use dai_type instead.
mean: list[float] | None =

Optional mean values in channel order. The order should match the preprocessing used during training.

reverse_channels: bool | None =

Optional legacy channel-order flag.

Deprecated since version 0.5.0: use dai_type instead.
scale: list[float] | None =

Optional standardization values in channel order. The order should match the preprocessing used during training.