COCO Annotations

fastdup supports natively coco annotations. The example below shows how to run bounding box annotations in coco format. (Segmentation masks are not supported yet).

# let's get some small dataset to play with
!git clone

import fastdup
# create a fastdup object 
# input_dir is the location of the images referred in the annotation file. Absolute path please!
# work_dir is the folder containing the resulting outputs
fd = fastdup.create(work_dir='tiny-coco3', input_dir='/kaggle/working/tiny-coco/small_coco/train_2017_small/')'tiny-coco/small_coco/instances_train2017_small.json')

#run any of fastdup galleries 

Full example notebook is here: