cvkit.pose_estimation.processors package
Subpackages
- cvkit.pose_estimation.processors.filter package
- Submodules
- cvkit.pose_estimation.processors.filter.distance_statistics_filter module
- cvkit.pose_estimation.processors.filter.kalman_filter module
- cvkit.pose_estimation.processors.filter.linear_interpolation module
- cvkit.pose_estimation.processors.filter.median_distance_culling module
- cvkit.pose_estimation.processors.filter.moving_average module
- cvkit.pose_estimation.processors.filter.region_filter_2d module
- cvkit.pose_estimation.processors.filter.velocity_filter module
- Module contents
- cvkit.pose_estimation.processors.generative package
- cvkit.pose_estimation.processors.util package
Submodules
cvkit.pose_estimation.processors.processor_interface module
- class Processor[source]
Bases:
ABC- DISTRIBUTED = False
Indicates whether the processor operates at body part level or skeleton level. If true, this processor can be parallelized for each body part.
- META_DATA = None
Processor parameters’ metadata. UI generator uses this information to generate a form.
- PROCESSOR_ID = 'abstract'
Unique Processor Identifier.
- PROCESSOR_NAME = 'Abstract'
Name of the processor. Used as label by the UI generator.
- PROCESSOR_SUMMARY = 'Summary'
Processor summary.
- REQUIRES_STATS = False
Indicates whether this processor requires data statistics generated by py:class:.ClusterAnalysis
- class ProcessorMetaData(display_name, param_type, default=None, min_val=None, max_val=None, regex='', tooltip='', serialize=True)[source]
Bases:
objectMetadata class for describing the parameters of the processor. This class will be used to generate a user interface for the processor. INT, FLOAT, and Text uses text-field. BOOLEAN generates a checkbox. FIXED_RANGE generates a spin-box. NUMPY_ARRAY and DATA_STORE generates a button for file picker. BODY_PART generates a drop-down to select defined body part. GLOBAL_CONFIG does not generate any UI. It is an indication to pass on the global software config to the processor.
- Parameters:
display_name – This text will be used by the ui generator for label.
param_type – One of the predefined static constants defined in this class
default – default value
min_val – minimum value for INT/FLOAT, minimum length for TEXT and minimum number of elements required for multiple inputs. example: For BODY_PART, setting min_val>1 indicates that the field expects at least one body part.
max_val – maximum value for INT/FLOAT, maximum length for TEXT and maximum number of elements required for multiple inputs. example: For BODY_PART, setting max_val=n indicates that the field expects at most n body parts.
regex – Regular expression to validate TEXT data.
tooltip – This will be set as tooltip by the ui generator.
serialize – If true, the data will be stored to file when exported else will be replace by None
- BODY_PART = 4
Field expects one or more body parts (Generates n ComboBoxes)
- BOOLEAN = 2
Field expects boolean data (Generates n checkboxes)
- DATA_STORE = 8
Field expects dictionary containing path and flavor of datastore. (Generates FileDialog button with a ComboBox for selecting flavor)
- DIR_PATH = 18
Filed expects a path to a directory (Generates FileDialog button)
- FILE_MAP = 16
Field expects a dictionary mapping views to datastores. (user input not required)
- FILE_PATH = 17
Field expects a path to a file. (Generates FileDialog button)
- FIXED_RANGE = 6
Field expects Float data in fixed range. (Generates SpinBox)
- FLOAT = 1
Field expects float data (Generates LineEdit)
- GLOBAL_CONFIG = 5
Field expects
PoseEstimationConfig(user input not required)
- INT = 0
Field expects integer data (Generates LineEdit)
- NUMPY_ARRAY = 7
Field expects path to a file containing numpy data (Generates FileDialog button)
- TEXT = 3
Field expects string data (Generates LineEdit)
- VIEWS = 9
Field expects annotation view names (Generates CheckBoxes)