# Web Browser

Roboflow は、Web ブラウザ上でコンピュータビジョンモデルをデプロイするための JavaScript パッケージを提供しています。

### inference-sdk

WebRTC を使用して、Roboflow Cloud で動画ストリームに対して推論を実行し、最小限のレイテンシでライブ結果を返します。

* ライブ動画ストリーム向け
* Roboflow Workflows を実行している場合、または対応していないモデルの場合 `inferencejs`
* レイテンシが重要なユースケースで **計算負荷の高いモデル**

<a href="/pages/2327580de1b3bef70f64a219a65a602f6c9f4abe" class="button primary">inference-sdk について詳しく見る</a>

### inferencejs

Tensorflow\.js を使用して、画像や動画ストリーム上でオンデバイス推論を実行します。

* 画像およびライブ動画ストリーム向け
* レイテンシが重要なユースケースで **軽量、** [**対応モデル**](https://github.com/roboflow/roboflow-product-docs/blob/main/deploy/sdks/web-browser/web-inference.js#supported-models)
* インターネット接続が継続的に利用できない場合（初回読み込みには引き続き必要）

<a href="https://github.com/roboflow/roboflow-product-docs/blob/main/deploy/sdks/web-browser/web-inference.js" class="button primary">inferencejs について詳しく見る</a>

## 比較

<table><thead><tr><th width="187.88671875">機能</th><th>inference-sdk</th><th>inferencejs</th></tr></thead><tbody><tr><td>処理場所</td><td>Roboflow Cloud</td><td>ブラウザ（オンデバイス）</td></tr><tr><td>処理レイテンシ</td><td>一貫している（GPU で高速化）</td><td>ユーザーのデバイスに依存</td></tr><tr><td>モデルのサポート</td><td>すべての Roboflow モデルおよび Roboflow Workflows</td><td><a href="https://github.com/roboflow/roboflow-product-docs/blob/main/deploy/sdks/web-browser/web-inference.js#supported-models">対応モデル</a></td></tr><tr><td>デバイス対応</td><td>広範囲（WebRTC は広くサポートされています）</td><td>広範囲（Tensorflow.js は広くサポートされています）</td></tr><tr><td>インターネット要件</td><td>はい、継続的に必要</td><td>はい、初回のモデル読み込み時のみ必要</td></tr><tr><td>ネットワークレイテンシ</td><td>最小限</td><td>ネットワークレイテンシなし</td></tr></tbody></table>


---

# 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/deploy/sdks/web-browser.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.
