在 ARCore 中启用 EIS 后,系统会使用设备的陀螺仪来测量摄像头的移动。
ARCore 使用图片的元数据计算纠正滚动快门和相机移动所需的转换。您的 AR 应用使用新的坐标进行设备显示和相机纹理,以渲染经过稳定处理的相机纹理。当 EIS 开启时,ARCore 会提供经过修改的相机投影矩阵,以匹配转换后的相机背景,并在场景中的正确位置渲染虚拟资产。
支持的设备
并非所有与 ARCore 兼容的设备都支持所有设备和摄像头配置的 EIS。使用运行时检查来确定当前配置是否与 EIS 兼容。如需了解详情,请参阅开发者指南。
[[["易于理解","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"]],["最后更新时间 (UTC):2024-11-09。"],[[["ARCore's Electronic Image Stabilization (EIS) minimizes camera shake in videos, leading to smoother and more stable recordings."],["EIS utilizes the device's gyroscope to detect camera movement and applies necessary corrections to produce stabilized videos."],["ARCore provides platform-specific guides for implementing EIS, with options for Android using Kotlin/Java, Android NDK using C, and runtime checks for device compatibility."],["Though EIS enhances video quality, it's essential to note that support varies across ARCore-compatible devices and camera configurations."]]],[]]