INNER CODE UNIT · Python
extract_outlier_frames
DeepLabCut/DeepLabCut · deeplabcut/cli.py:506
def extract_outlier_frames(_, *args, **kwargs):
"""Extracts the outlier frames in case, the predictions are not correct for a
certain video from the cropped video running from start to stop as defined in
config.yaml.
Delegates to ``deeplabcut.extract_outlier_frames``.
Another crucial parameter in config.yaml is how many frames to extract
'numframes2extract'.
Args:
config (string): Full path of the config.yaml file as a string.
video (string): Full path of the video to extract frames from. Make sure that
this video is already analyzed.
outlieralgorithm (string, optional): Algorithm used to detect outliers.
Defaults to ``fitting``.
comparisonbodyparts (string, optional): Body parts used for comparison.
Defaults to ``all``.