Skip to content

Refactor : Pass frames to export to export_reference_frames

Tristan Le Granché requested to merge strangenoise/stax:bug_fix_sp into develop

Defining the frames number to export from save_annotations() and giving them to export_reference_frames() allows Stax to get corresponding indices between annotations_paths and images_paths.

Allows an easy use of the two lists in the linker.

Will be simplified when we'll use OpenReview objects (need to contain path to both the OpenReview image file and the exported jpg file, the start_frame and the duration).

export_reference_frames() can still be used the previous way if we don't give it a frames_to_export frames number list.

Edited by Tristan Le Granché

Merge request reports