iaa_od.models.annotation_timestamp

Classes

AnnotationTimestamp(...)

Represents a single annotation timestamp in a Ground Truth JSON file.

class iaa_od.models.annotation_timestamp.AnnotationTimestamp(annotation_timestamp_data, result)[source]

Bases: object

Represents a single annotation timestamp in a Ground Truth JSON file.

annotation_id

Unique identifier for the annotation.

Type:

int

timestamp

The timestamp of the annotation in seconds from the UNIX epoch.

Type:

int

timestamp_datetime

The timestamp of the annotation as a datetime object.

Type:

datetime

normalised_timestamp

The normalised timestamp of the annotation as a timedelta object.

Type:

timedelta

image_id

Identifier of the image containing the annotation.

Type:

int

image_filename

Filename of the image corresponding to the image ID.

Type:

str

alpha_for_image

The alpha value for the image corresponding to the image ID.

Type:

float

alpha_for_image: float
annotation_id: int
annotation_timestamp_data: InitVar
image_filename: str
image_id: int
normalised_timestamp: timedelta
result: InitVar
timestamp: int
timestamp_datetime: datetime