raillabel.json_format.stream_radar module¶
- class raillabel.json_format.stream_radar.JSONIntrinsicsRadar(*, resolution_px_per_m: float, height_px: int, width_px: int)¶
Bases:
_JSONFormatBase
JSON object defining an instance of the intrinsic parameters of a radar.
- _abc_impl = <_abc._abc_data object>¶
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class raillabel.json_format.stream_radar.JSONStreamRadar(*, type: Literal['radar'], stream_properties: JSONStreamRadarProperties, uri: str | None = None, description: str | None = None)¶
Bases:
_JSONFormatBase
A stream describes the source of a data sequence, usually a sensor.
This specific object contains the intrinsics of a radar sensor.
- _abc_impl = <_abc._abc_data object>¶
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- stream_properties: JSONStreamRadarProperties¶
Intrinsic calibration of the stream.
- type: Literal['radar']¶
A string encoding the type of the stream.
- class raillabel.json_format.stream_radar.JSONStreamRadarProperties(*, intrinsics_radar: JSONIntrinsicsRadar)¶
Bases:
_JSONFormatBase
Intrinsic calibration of the stream.
- _abc_impl = <_abc._abc_data object>¶
- intrinsics_radar: JSONIntrinsicsRadar¶
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].