gpt4 book ai didi

android - 如何避免 ARCore 中的 "FrameHitTest while not tracking. Returning empty list. error message"?

转载 作者:行者123 更新时间:2023-11-29 23:33:08 24 4
gpt4 key购买 nike

我正在使用 ARCore 和 Sceneform。当我的应用程序尝试跟踪图像时,我收到了很多错误消息。一切正常,除了我在长时间运行应用程序时表现不佳,我认为这可能与这些错误消息有关。

也许我需要以某种方式调节跟踪间隔?

以下是这些消息的截图:

I/native: plane_detection_manager.cc:204 Failed to get device pose.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
I/native: distribute.cc:92 No keypoints to prune.
I/native: plane_detection_manager.cc:204 Failed to get device pose.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
I/native: distribute.cc:92 No keypoints to prune.
I/native: plane_detection_manager.cc:204 Failed to get device pose.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
I/native: distribute.cc:92 No keypoints to prune.
I/native: image_target_detector.cc:187 Input query has too few keypoints.
E/native: planar_target_tracking_manager.cc:353 generic::unavailable: redwood::FAILED_PRECONDITION: VIO is not tracking
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
I/native: plane_detection_manager.cc:204 Failed to get device pose.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.
E/native: session.cc:1095 FrameHitTest while not tracking. Returning empty list.

我在以下配置下运行 sceneform 并使用增强图像数据库:

config.setUpdateMode(Config.UpdateMode.LATEST_CAMERA_IMAGE);
config.setFocusMode(Config.FocusMode.AUTO);

最佳答案

这不是错误,只是关于正在发生的事情的消息。ARCore 一直尝试跟踪,这就是它使用大量内存并且对 CPU 负担过重的原因。

他正在尝试寻找表面并继续尝试。

这可能是硬件问题。今天我使用 S9 和 Pixel 2 XL 来测试我的应用程序,但它有时会变热,而且在 Nexus 2 上它的性能很差。

如今 ARCore 的性能在很大程度上取决于您使用的设备

关于android - 如何避免 ARCore 中的 "FrameHitTest while not tracking. Returning empty list. error message"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52483551/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com