Skip to content

model

sleap_io.model

This subpackage contains data model interfaces.

Modules:

Name Description
bbox

Data structures for bounding box annotations.

camera

Data structure for a single camera view in a multi-camera setup.

category

Category data structure for ground-truth class membership of detections.

centroid

Data structures for centroid annotations.

embedding

Embedding data structure for per-detection appearance / re-ID vectors.

event

Data structures for frame-spanning event annotations.

identity

Identity data structure for ground-truth animal identification.

instance

Data structures for data associated with a single instance such as an animal.

label_image

Data structure for integer label image annotations.

labeled_frame

Data structures for data contained within a single video frame.

labels

Data structure for the labels, a top-level container for pose data.

labels_set

Data model for collections of Labels objects.

mask

Data structures for segmentation mask annotations.

matching

Unified matcher system for comparing and matching data structures during merging.

roi

Data structures for region of interest (ROI) annotations.

skeleton

Data model for skeletons.

suggestions

Data module for suggestions.

video

Data model for videos.

Attributes:

Name Type Description
__cached__

str(object='') -> str

__doc__

str(object='') -> str

__file__

str(object='') -> str

__name__

str(object='') -> str

__package__

str(object='') -> str

__path__

Built-in mutable sequence.

__cached__ = '/home/runner/work/sleap-io/sleap-io/sleap_io/model/__pycache__/__init__.cpython-313.pyc' module-attribute

str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to 'utf-8'. errors defaults to 'strict'.

__doc__ = 'This subpackage contains data model interfaces.' module-attribute

str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to 'utf-8'. errors defaults to 'strict'.

__file__ = '/home/runner/work/sleap-io/sleap-io/sleap_io/model/__init__.py' module-attribute

str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to 'utf-8'. errors defaults to 'strict'.

__name__ = 'sleap_io.model' module-attribute

str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to 'utf-8'. errors defaults to 'strict'.

__package__ = 'sleap_io.model' module-attribute

str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to 'utf-8'. errors defaults to 'strict'.

__path__ = ['/home/runner/work/sleap-io/sleap-io/sleap_io/model'] module-attribute

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.