# Crop Visualization

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

Crop Visualization ブロックは、画像から検出された領域を切り取り、それらを拡大してから、検出された領域の上部にその領域を再配置します。

このブロックは、画像内の検出結果を強調表示したい場合に便利です。

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

* Object detection models
* Segmentation models

<figure><img src="/files/2749f7f55e62f83819341644b9fb957fb2b68de2" alt=""><figcaption><p>Crop Visualization ブロック。</p></figcaption></figure>

このブロックは、デフォルトでは検出モデルまたはセグメンテーションモデルからクラスラベルを追加しません。各 crop に対応するクラスを表示したい場合は、追加する必要があります。 [ラベルの可視化](/roboflow/roboflow-jp/workflows/workflow-blocks/visualize-predictions/label-visualization.md).

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

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

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

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

Crop Visualization ブロックは、画像内の検出された領域の周囲に円を描いた画像を返します。

このブロックの出力例は次のとおりです:

<figure><img src="/files/51e23d42f32998464ff5aafc6ed03464998f52b5" alt=""><figcaption><p>画像内の欠陥が拡大表示されています。</p></figcaption></figure>

参考までに、こちらが入力画像です:

<figure><img src="/files/fb06c9a95c2285ff8f59f5ba2075bbb387039ff2" alt=""><figcaption></figcaption></figure>

block の結果では、検出された領域が大きくなっています。

### ユースケース

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

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


---

# 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/roboflow/roboflow-jp/workflows/workflow-blocks/visualize-predictions/crop-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.
