Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# This is a cut and paste from
# 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']
Copy link

ramanraja commented Jan 23, 2019

Can you please add 'human' to the list ?

Copy link

Sasha95 commented Jan 27, 2019

Can you please add 'human' to the list ?

person in second position

Copy link

chamodKanishka commented Dec 4, 2019

Can you please add 'human' to the list ?

in the classes, there is a person class.

Copy link

VasilijKolomiets commented Dec 8, 2021


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