diplomat.frontends.deeplabcut.convert_results_dlc.convert_results
- diplomat.frontends.deeplabcut.convert_results_dlc.convert_results(config: Union[PathLike, str], videos: Union[List[Union[PathLike, str]], Union[PathLike, str]], shuffle: int = 1, training_set_index: int = 0, tracker: str = '', video_type: str = '') None[source]
Convert DeepLabCut tracking results (.h5 file) to a csv file for easier introspection and analysis.
- Parameters:
config – The path to the config.yaml file for the project.
videos – A single video or list of videos to convert the tracking results of, passed in order to modify.
shuffle – The shuffle index of the model used to track the video. Defaults to 1.
training_set_index – The training index of the model used. Defaults to 0.
tracker – String, the extension of the deeplabcut tracker used, used to find the h5 file. Doesn’t need to be set for DIPLOMAT files.
video_type – An optional video extension to limit the videos to videos with the specified extension if a directory is passed to the ‘videos’ parameter.