Display OBJECT_CLASS and OBJECT_SUBCLASS with 3D Bounding Box in Unity

How can I display the OBJECT_CLASS and OBJECT_SUBCLASS with the 3D Bounding Box in Unity? Currently it only shows “ID: 1”, “ID: 2”, etc. above the objects, but I’d like to display FRUIT_VEGETABLE and/or BANANA, etc.

Hi @a11s

You should be able to get the label and sublabel information out of dobj around this loop: ZED3DObjectVisualizer.cs L. 214.

You can use them in modified 3D Box prefabs that would include them.

1 Like

Also, related: The ‘Classes Filter’ of the ZED Custom Obj Detection script doesn’t work. When I type in a class e.g., bottle, it still detects everything.