raillabel.format.metadata module¶
- class raillabel.format.metadata.Metadata(schema_version: str, annotator: str | None = None, comment: str | None = None, exporter_version: str | None = None, file_version: str | None = None, name: str | None = None, subschema_version: str | None = None, tagged_file: str | None = None)¶
Bases:
object
Container for metadata information about the scene itself.
- classmethod from_json(json: JSONMetadata) Metadata ¶
Construct an instant of this class from RailLabel JSON data.
- subschema_version: str | None = None¶
Version number of the RailLabel schema this annotation object follows.
- to_json() JSONMetadata ¶
Export this object into the RailLabel JSON format.