• David Novotny's avatar
    Changes for CO3Dv2 release [part1] · 4300030d
    David Novotny authored
    Summary:
    Implements several changes needed for the CO3Dv2 release:
    - FrameData contains crop_bbox_xywh which defines the outline of the image crop corresponding to the image-shaped tensors in FrameData
    - revised the definition of a bounding box inside JsonDatasetIndex: bbox_xyxy is [xmin, ymin, xmax, ymax], where xmax, ymax are not inclusive; bbox_xywh = [xmin, ymain, xmax-xmin, ymax-ymin]
    - is_filtered for detecting whether the entries of the dataset were somehow filtered
    - seq_frame_index_to_dataset_index allows to skip entries that are not present in the dataset
    
    Reviewed By: shapovalov
    
    Differential Revision: D37687547
    
    fbshipit-source-id: 7842756b0517878cc0964fc0935d3c0769454d78
    4300030d
test_bbox.py 2.6 KB