Sequence#
- class deeptrack.sequences.Sequence(feature: Feature, sequence_length: int | Callable[[...], int] = 1, **kwargs)#
Bases:
Feature
Resolves a feature as a sequence.
The input feature is resolved sequence_length times, with the kwarg arguments sequene_length and sequence_step passed to all properties of the feature set.
Parameters#
- featureFeature
The feature to resolve as a sequence.
- sequence_lengthint
The number of times to resolve the feature.
Attributes#
- featureFeature
The feature to resolve as a sequence.
Methods Summary
get
(input_list[, sequence_length])Transform an image [abstract method].
Methods Documentation
- get(input_list, sequence_length=None, **kwargs)#
Transform an image [abstract method].
Abstract method that defines how the feature transforms the input. The current value of all properties will be passed as keyword arguments.
Parameters#
- image‘Image’ or List[‘Image’]
The Image or list of images to transform.
- **kwargsDict[str, Any]
The current value of all properties in properties as well as any global arguments.
Returns#
- ‘Image’ or List[‘Image’]
The transformed image or list of images.
Raises#
- NotImplementedError
Must be overridden by subclasses.