Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# This is a cut and paste from https://github.com/matterport/Mask_RCNN/blob/master/samples/demo.ipynb
# Just pasted here for quick referece.
# COCO Class names
# Index of the class in the list is its ID. For example, to get ID of
# the teddy bear class, use: class_names.index('teddy bear')
class_names = ['BG', 'person', 'bicycle', 'car', 'motorcycle', 'airplane',
'bus', 'train', 'truck', 'boat', 'traffic light',
'fire hydrant', 'stop sign', 'parking meter', 'bench', 'bird',
'cat', 'dog', 'horse', 'sheep', 'cow', 'elephant', 'bear',
'zebra', 'giraffe', 'backpack', 'umbrella', 'handbag', 'tie',
'suitcase', 'frisbee', 'skis', 'snowboard', 'sports ball',
'kite', 'baseball bat', 'baseball glove', 'skateboard',
'surfboard', 'tennis racket', 'bottle', 'wine glass', 'cup',
'fork', 'knife', 'spoon', 'bowl', 'banana', 'apple',
'sandwich', 'orange', 'broccoli', 'carrot', 'hot dog', 'pizza',
'donut', 'cake', 'chair', 'couch', 'potted plant', 'bed',
'dining table', 'toilet', 'tv', 'laptop', 'mouse', 'remote',
'keyboard', 'cell phone', 'microwave', 'oven', 'toaster',
'sink', 'refrigerator', 'book', 'clock', 'vase', 'scissors',
'teddy bear', 'hair drier', 'toothbrush']
@ramanraja
Copy link

ramanraja commented Jan 23, 2019

Can you please add 'human' to the list ?

@Sasha95
Copy link

Sasha95 commented Jan 27, 2019

Can you please add 'human' to the list ?

person in second position

@chamodKanishka
Copy link

chamodKanishka commented Dec 4, 2019

Can you please add 'human' to the list ?

in the classes, there is a person class.

@VasilijKolomiets
Copy link

VasilijKolomiets commented Dec 8, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment