# Not showing class name when it detects the object

**URL:** <https://discuss.roboflow.com/t/not-showing-class-name-when-it-detects-the-object/6492>\
**Category:** 🤝  Community Help\
**Tags:** bugs\
**Created:** [July 12, 2024, 10:39am UTC](https://discuss.roboflow.com/t/not-showing-class-name-when-it-detects-the-object/6492 "2024-07-12T10:39:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pratik\_Patil](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/pratik_patil/32/5077_2.png) [@Pratik\_Patil](https://discuss.roboflow.com/u/Pratik_Patil)\
**Post date:** [July 12, 2024, 10:39am UTC](https://discuss.roboflow.com/t/not-showing-class-name-when-it-detects-the-object/6492/1 "2024-07-12T10:39:59Z")

</div>

i have created data with 6 classes and name each class differently but when i use try the model it detects the object but not showing class name. so i could not predict it is predicting right or wrong class

 ![Screenshot 2024-07-12 123604](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/5/53c7616e5f76fc864343ac6beea5efdc2bf642a0.jpeg)

---

<div class="post-metadata">

**Author:** ![leo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/leo/32/2228_2.png) [@leo](https://discuss.roboflow.com/u/leo)\
**Post date:** [July 12, 2024, 1:08pm UTC](https://discuss.roboflow.com/t/not-showing-class-name-when-it-detects-the-object/6492/2 "2024-07-12T13:08:37Z")

</div>

Hey @Pratik_Patil

It looks like you’re using the inference in the Visualize tab inside Roboflow.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/e/e3a5fa892782b48dde061645626af6321cdd2190.jpeg)

The default option is to “Draw Confidence” which displays the percentage confidence and the class name, but only if there is space. If you select the “Draw Labels” display mode, you should always see labels.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [July 19, 2024, 1:09pm UTC](https://discuss.roboflow.com/t/not-showing-class-name-when-it-detects-the-object/6492/3 "2024-07-19T13:09:12Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
