wormpose.images.scoring.scoring_data_manager

class wormpose.images.scoring.scoring_data_manager.BaseScoringDataManager(*args, **kwds)[source]

Accessor for the data necessary to perform the scoring, including: - The image that needs to be scored - The image that will be used as a template for scoring, plus relevant infos: skeleton and measurements

class wormpose.images.scoring.scoring_data_manager.ScoringDataManager(frames_dataset: wormpose.dataset.base_dataset.BaseFramesDataset, features, video_name: str)[source]

Implementation of the BaseScoringDataManager for scoring videos: it finds the closest template in time for a frame in a video