blendersynth.utils.types

blendersynth.utils.types.BboxAnnotation

Bbox annotation, a 1D array per instance

alias of List[mathutils.Vector | ndarray | List | Tuple]

blendersynth.utils.types.KeypointOrAxesAnnotation

Keypoint Annotations, an N x 2 ndarray per instance, or Axes annotation, a 4 x 2 ndarray per instance

alias of List[ndarray]

blendersynth.utils.types.VectorLike = ForwardRef('mathutils.Vector') | numpy.ndarray | typing.List | typing.Tuple

A type hint that represents vector-like objects. Can be any of:

  • mathutils.Vector

  • numpy.ndarray

  • list

  • tuple

blendersynth.utils.types.VectorLikeOrScalar = ForwardRef('mathutils.Vector') | numpy.ndarray | typing.List | typing.Tuple | int | float

A type hint that represents vector-like objects. Can be any of: