Scene Semantics API を使用すると、デベロッパーはユーザーの周囲のシーンを把握できます。これは、多くの高品質な AR エクスペリエンスに必要です。ML モデル上に構築された Scene Semantics API は、ARCore の既存のジオメトリ情報を補完するリアルタイムのセマンティック情報を提供します。
屋外シーンの画像を指定すると、API は、空、建物、木、道路、歩道、車両、人物など、有用なセマンティック クラスのセット全体で、各ピクセルのラベルを返します。Scene Semantics API では、ピクセルラベルに加えて、各ピクセルラベルの信頼度値も提供されます。また、屋外シーンで特定のラベルがどの程度存在するかを簡単にクエリすることもできます。
左から右に、入力画像の例、ピクセルラベルのセマンティック画像、対応する信頼度画像を示します。
Scene Semantics API を使用すると、デベロッパーは、見慣れない都市でユーザーを案内する道路や歩道、動的オブジェクトのオクルージョンをレンダリングする人物や車両、時間帯に関係なく夕日を作成できる空、外観を変更して仮想オブジェクトを固定できる建物など、特定のシーンのコンポーネントを特定できます。
セマンティック ラベルと品質
Scene Semantics API は、それぞれに対応する品質または信頼性を持つ複数のラベルを提供します。一般に、ML モデルは、小さいオブジェクトや珍しいオブジェクトよりも、より大きく一般的なオブジェクトやサーフェスのクラスを予測できます。クラスは次の品質階層に分類され、高いものから低いものへとランク付けされます。
セマンティック ラベルの品質レベル
メインシーンのコンポーネント
空
ビルドしています
木
road
車両
主要なシーンの詳細
歩道
地形
構造
水
シーンの細かい詳細
オブジェクト
人物
デバイスの互換性
Scene Semantics API は、Depth API と同じ対応デバイスのリストを共有します。両方の API をサポートするデバイスの最新リストについては、ARCore 対応デバイスのページをご覧ください。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-11-10 UTC。"],[[["The Scene Semantics API uses an ML model to provide real-time semantic information about a user's environment, classifying elements like sky, buildings, and people."],["This API is ideal for enhancing AR experiences by enabling features such as environmental interaction, dynamic occlusion, and realistic lighting adjustments."],["While supporting a range of semantic labels with varying quality tiers, the API is primarily designed for outdoor scenes in portrait orientation and shares device compatibility with the Depth API."],["Developers can utilize this API to understand the scene surrounding a user, improving AR experiences with features like guiding users and anchoring virtual objects to real-world elements."]]],[]]