Android 10 Camera -- Motion Tracking

本文详细介绍了Android 9中引入的运动跟踪功能,该功能通过限制曝光时间和准确报告镜头校准数据来支持ARCore及图像稳定算法,实现场景分析。文章还提供了实现和验证运动跟踪所需的步骤和技术细节。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

说明:转载自 Android Camera,不定期添加自己的学习思考。


Motion Tracking

In Android 9, camera devices can advertise motion tracking capability. Cameras that support this feature do not produce motion tracking data itself, but instead are used by ARCore or an image-stabilization algorithm along with other sensors for scene analysis. To support this feature, devices must support CONTROL_CAPTURE_INTENT_MOTION_TRACKING. If this intent is part of the capture request, the camera must limit the exposure time to a maximum of 20 milliseconds to reduce motion blur.

Examples and source


A reference motion tracking implementation on the HAL side is available as part of the Camera HAL.

Implementation


To enable motion tracking on a camera device, make sure:

The ANDROID_REQUEST_AVAILABLE_CAPABILITIES_MOTION_TRACKING capability is enabled.
The ANDROID_CONTROL_CAPTURE_INTENT_MOTION_TRACKING intent is supported and when included in a capture request limits the camera exposure time to a maximum of 20 milliseconds.
Lens calibration data from the following list is accurately reported in the static information and dynamic metadata fields:

ANDROID_LENS_POSE_ROTATION
ANDROID_LENS_POSE_TRANSLATION
ANDROID_LENS_INTRINSIC_CALIBRATION
ANDROID_LENS_RADIAL_DISTORTION
ANDROID_LENS_POSE_REFERENCE

Validation


Camera devices supporting the motion tracking feature must pass the camera CTS tests.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值