ARCore SDK for Android v1.24.0
New APIs and capabilities
- Added new Raw Depth API that provides a depth image without image-space filtering.
- All devices that support the existing Depth API in ARCore supported devices now also support the new Raw Depth API.
- Java: Developer guide,
Frame#acquireRawDepthImage()
,Frame#acquireRawDepthConfidenceImage()
,Config.DepthMode.RAW_DEPTH_ONLY
. - C: Developer guide,
ArFrame_acquireRawDepthImage()
,ArFrame_acquireRawDepthConfidenceImage()
,AR_DEPTH_MODE_RAW_DEPTH_ONLY
.
- Added new Custom Data Track Recording/Playback API, augmentations of the recording and playback features that allow developers to record and playback data to and from custom specified tracks, packaged as MP4 recordings.
- Added new trackable type
DepthPoint
that provides a calculated depth pose with each frame by hit testing. These values are sampled from the latest depth image, which yields more accurate results on non-planar or low-texture areas in the environment.
Deprecations
None
Other changes
- Java: Added new raw_depth_java sample app.
- Java: Updated hello_ar_java to use
DepthPoint
hit results fromFrame#hitTest()
when placing assets. - C: Updated hello_ar_c to use
ArDepthPoint
hit results fromArFrame_hitTest()
when placing assets.
Bug fixes
- Fixed memory leaks in hello_ar_c when rendering a plane that was subsumed and when attempting to render a plane that was not being tracked.