October 2018
Intermediate to advanced
472 pages
10h 57m
English
We will start off by defining the location of the annotation file we will be using for image segmentation, and then we will initialize the COCO API:
# set the location of the annotation file associated with the train imagesannFile='annotations/annotations/instances_train2014.json'# initialize COCO api withcoco = COCO(annFile)
Following should be the output:
loading annotations into memory... Done (t=12.84s) creating index... index created!
Read now
Unlock full access