# Label Visualization

### About this block

The Label Visualization block lets you see the labels returned from a model on an image.

This block works with:

* Object detection models
* Segmentation models

If you want to visualize labels from classification models, use the Classification Label Visualization.

<figure><img src="/files/fbpo2sOmof6nCNFhjaEm" alt=""><figcaption><p>The Label Visualization block.</p></figcaption></figure>

This block only shows labels on an image. If you also want to see bounding boxes or segmentation masks, you will need to add a [Bounding Box Visualization](/workflows/workflow-blocks/visualize-predictions/bounding-box-visualization.md) or a Mask Visualization.

### What you can send into this block

To use this block, you need:

1. An input image or video frame, and;
2. Predictions from an Object Detection or Segmentation model.

### What this block returns

The Label Visualization block returns an image with the labels from a model.

Here is an example output from this block:

<figure><img src="/files/FrQzH5o4zV6CaMZaP4Ie" alt=""><figcaption><p>Labels from an object detection model displayed on an image.</p></figcaption></figure>

Here is an example when this block is used after a Bounding Box Visualization block:

<figure><img src="/files/dMTvU2YGityYYJtO6m9E" alt=""><figcaption><p>Labels and boxes from an object detection model displayed on an image.</p></figcaption></figure>

### Use cases

This block is useful if you want to see the results from a model on an image. This is common during testing.

Because visualizing predictions adds a small amount of overhead to running a Workflow, we only recommend adding a Visualization in production if you need to see the location of results from your model.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.roboflow.com/workflows/workflow-blocks/visualize-predictions/label-visualization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
