Skip to content

Commit

Permalink
Fixed default preprocessing values
Browse files Browse the repository at this point in the history
  • Loading branch information
klemen1999 committed Nov 5, 2024
1 parent 7b736d9 commit 12540ca
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ class PreprocessingBlock(BaseModelExtraForbid):
description="Standardization values in channel order. Typically, this is BGR order.",
)
reverse_channels: Optional[bool] = Field(
None,
True,
deprecated="Deprecated, use `dai_type` instead.",
description="If True input to the model is RGB else BGR.",
)
interleaved_to_planar: Optional[bool] = Field(
None,
False,
deprecated="Deprecated, use `dai_type` instead.",
description="If True input to the model is interleaved (NHWC) else planar (NCHW).",
)
dai_type: Optional[str] = Field(
None,
dai_type: str = Field(
"RGB888p",
description="DepthAI input type which is read by DepthAI to automatically setup the pipeline.",
)

Expand Down

0 comments on commit 12540ca

Please sign in to comment.