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

# Web ブラウザー

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

### inference-sdk

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

* ライブビデオストリーム向け
* 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
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/deploy/sdks/web-browser.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.
