poseinterface.io.frames_to_poseinterface#
- poseinterface.io.frames_to_poseinterface(input_dir, output_dir, framelabels_path)[source]#
Copy and rename frame images to match filenames in COCO JSON.
Source frames are matched to target names by frame number: the first group of digits in each source filename is compared against the
frame-<ID>field in the COCOfile_nameentries.- Parameters:
- Raises:
FileNotFoundError – If a source frame cannot be found for a frame number listed in the COCO JSON.
- Return type: