4.4.5. thuner.attribute.tag

Describe and collect “tags” from tagging datasets.

Functions

from_centers(attribute_group, input_records, ...)

Get tags from object centers.

from_masks(attribute_group, input_records, ...)

Get tags from masks.

default(dataset[, matched])

Create the default tag attribute type.

CAPE()

Convenience function to build a CAPE attribute.

CIN()

Convenience function to build a CIN attribute.

tag_center(dataset)

Convenience function to build a TagCenter attribute group.

thuner.attribute.tag.CAPE()[source]

Convenience function to build a CAPE attribute.

thuner.attribute.tag.CIN()[source]

Convenience function to build a CIN attribute.

thuner.attribute.tag.default(dataset: str, matched=True)[source]

Create the default tag attribute type.

thuner.attribute.tag.from_centers(attribute_group: AttributeGroup, input_records, object_tracks, dataset: str, time_offsets: list[int], member_object: str | None = None)[source]

Get tags from object centers.

thuner.attribute.tag.from_masks(attribute_group: AttributeGroup, input_records, object_tracks, dataset: str, time_offsets: list[int], member_object: str | None = None)[source]

Get tags from masks.

thuner.attribute.tag.tag_center(dataset)[source]

Convenience function to build a TagCenter attribute group.