dusty-nv / ros_deep_learning

Deep learning inference nodes for ROS / ROS2 with support for NVIDIA Jetson and TensorRT
862 stars 258 forks source link

Format for class labels file and class colors file ? #117

Closed r4hul77 closed 1 year ago

r4hul77 commented 1 year ago

Hey ! What is the correct format for class labels file and class colors file ?

dusty-nv commented 1 year ago

Hi @r4hul77, class labels are one name per line, like so:

apple
orange
banana

Class colors are one color per line, r g b or r g b a (alpha is optional) with values 0-255

255 0 0
255 127 0
255 255 0
r4hul77 commented 1 year ago

perfect, Thank you so much