> 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/datasets/manage-datasets/dataset-search.md).

# データセットを検索

Roboflow では、ファイル名や検索クエリで画像ファイルを検索でき、クエリとフィルターを組み合わせて特定の画像を見つけたり、データをより深く理解したりできます。

* **特定のタグを持つ split 内の画像:**\
  `tag:factory split:train`\
  これはタグフィルターと split フィルターを使用しています
* **セマンティック検索とクラスフィルターを使って、欠落しているラベルを見つけます**:\
  `person -class:helmet`\
  これはセマンティック検索と、クラスフィルターに対する反転フィルターを使用しています
* **あるクラスを持つすべての画像に特定のフィルターが必要な場合:**\
  `class:helmet AND NOT (tag:v1 OR tag:v2)`\
  これはクラスフィルター、ブール論理、タグフィルターを使用しています
* **注釈数が少ない横長画像を見つけます:**\
  `min-width:1000 max-annotations:1`\
  これは最小幅フィルターと最大注釈数フィルターを使用しています

以下の [検索フィルター](#search-filters)の完全な一覧と、下の例をご覧ください

{% hint style="info" %}
これらの検索フィルターとクエリはすべて組み合わせて使えます
{% endhint %}

### Semantic Search

画像を、内容を説明することで検索できます。これらのクエリは、検索語句に最も近い画像を探し、オブジェクトがまだラベル付けされていない場合でも画像を見つけるのに役立ちます。

セマンティック検索は、フィルターセレクターなしでテキストクエリを入力したときに発生します（例: `filename:`)

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

### ファイル名で検索

次の `filename:` フィルター、またはファイル名のテキストボックスを使ってファイル名を検索できます。テキストボックスはクエリを自動生成します。

<figure><img src="/files/e2e909c1c5daef74ecedde06ab7148c34620bfe5" alt="" width="192"><figcaption></figcaption></figure>

### データセットの split で検索

データセットの split（train、valid、test）で画像を検索します

<figure><img src="/files/4f587b542179182df10e5687bee393b85be14f56" alt="" width="257"><figcaption></figcaption></figure>

## 検索フィルター

利用可能なフィルターは次のとおりです:

* `like-image:<IMAGE_ID>`: 画像内容に基づくセマンティック検索
* `tag` : ユーザーが付与したタグでフィルターします。
* `filename` : 指定されたファイル名に一致するファイル名を検索します。部分一致を行うには、クエリの先頭と末尾に \* を使用します。
* `split` : split（train、test、valid）でフィルターします。
* `job:<JOB_ID>` : 指定された job ID を持つ画像を表示します。
* `min-width:X` : 幅が X より大きい画像を表示します。
* `max-width:X` : 幅が X より小さい画像を表示します。
* `min-height:X` : 高さが X より大きい画像を表示します。
* `max-height:X` : 高さが X より小さい画像を表示します。
* `min-annotations:X` : 指定された数より多い注釈を持つ画像をフィルターします。
* `max-annotations:X` : 指定された数より少ない注釈を持つ画像を表示します。
* `class:CLASS`: 指定されたラベルを少なくとも 1 つ持つ画像を表示します。

### ブール論理

AND、OR、NOT、および括弧を使って複数のフィルターを組み合わせ、複雑なクエリを作成します。

`class:helmet AND NOT (tag:v1 OR tag:v2)`

### 反転フィルター

フィルターの前にマイナス記号を付けると、そのフィルターに一致する画像を除外できます。

`class:helmet -class:vest`

### 数値クラスフィルター

画像内のラベル付きアイテム数でフィルターします。

`class:helmet=3 class:vest>=4`

## API

Roboflow では、私たちの [Search API](https://docs.roboflow.com/api-reference/images/search#rest-api).


---

# 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:

```
GET https://docs.roboflow.com/roboflow/roboflow-jp/datasets/manage-datasets/dataset-search.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.
