Asset

class tools.manual.face_viewer.interact.Asset(images: list[int], meshes: list[dict[T.Literal['polygon', 'line'], list[int]]], faces: list[DetectedFace], boxes: list[int])

Bases: object

Holds all of the display assets identifiers for the active frame’s face viewer objects

Parameters:
  • images (list[int]) – Indices for a frame’s tk image ids displayed in the active frame

  • meshes (list[dict[Literal["polygon", "line"], list[int]]]) – Indices for a frame’s tk line/polygon object ids displayed in the active frame

  • faces (list[DetectedFace]) – DetectedFace objects that exist in the current frame

  • boxes (list[int]) – Indices for a frame’s bounding box object ids displayed in the active frame

boxes: list[int] = <dataclasses._MISSING_TYPE object>

Indices for a frame’s bounding box object ids displayed in the active frame

Type:

list[int]

faces: list[DetectedFace] = <dataclasses._MISSING_TYPE object>

DetectedFace objects that exist in the current frame

Type:

list[DetectedFace]

images: list[int] = <dataclasses._MISSING_TYPE object>

Indices for a frame’s tk image ids displayed in the active frame

Type:

list[int]

meshes: list[dict[T.Literal['polygon', 'line'], list[int]]] = <dataclasses._MISSING_TYPE object>

Indices for a frame’s tk line/polygon object ids displayed in the active frame

Type:

list[dict[Literal[“polygon”, “line”], list[int]]]