> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/roboflow/roboflow-jp/workflows/workflow-blocks/visualize-predictions/label-visualization.md).

# ラベル可視化

### このブロックについて

Label Visualization block を使うと、モデルから返されたラベルを画像上で確認できます。

このブロックは次のものと連携します:

* Object detection models
* Segmentation models

分類モデルのラベルを可視化したい場合は、Classification Label Visualization を使用します。

<figure><img src="/files/19b8cb2b978745782dcd8b509e9a413db41bfa0f" alt=""><figcaption><p>Label Visualizationブロック。</p></figcaption></figure>

このブロックは画像上にラベルのみを表示します。bounding boxes や segmentation masks も表示したい場合は、追加する必要があります。 [Bounding Box Visualization](/roboflow/roboflow-jp/workflows/workflow-blocks/visualize-predictions/bounding-box-visualization.md) または Mask Visualization。

### このブロックに送信できるもの

このブロックを使用するには、次が必要です:

1. 入力画像または動画フレーム、および;
2. Object Detection または Segmentation モデルからの予測。

### このブロックが返すもの

Label Visualization block は、モデルのラベルを含む画像を返します。

このブロックの出力例です:

<figure><img src="/files/3673da977430310e2f3210821646a8d8e6ce19b5" alt=""><figcaption><p>物体検出モデルのラベルが画像上に表示されています。</p></figcaption></figure>

このブロックを Bounding Box Visualization block の後に使用した場合の例を示します:

<figure><img src="/files/651b3faee052942976b4838034f509f5a0e269a4" alt=""><figcaption><p>物体検出モデルのラベルとボックスが画像上に表示されています。</p></figcaption></figure>

### ユースケース

このブロックは、モデルの結果を画像上で確認したい場合に便利です。これはテスト時によく行われます。

予測の可視化には Workflow の実行にわずかなオーバーヘッドが追加されるため、本番環境で Visualization を追加するのは、モデルの結果の位置を確認する必要がある場合にのみ推奨します。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
