labels

fun labels(zeroIndexed: Boolean = false): Map<Int, String>

Returns map of COCO labels according to the Coco version.

Parameters

zeroIndexed

if true, then labels are indexed from 0, otherwise from 1.