我正在处理 arcore 中的增强图像示例,我能够检测到图像但图像没有被跟踪并且对象没有被放置。我指的是来自 codelabs 的增强图像示例。我已经更改了图像(手工制作的图像),其 arcoreimg 得分为 100,并且还对代码进行了以下更改。它不断被检测到,但没有被跟踪。
config.setUpdateMode(Config.UpdateMode.LATEST_CAMERA_IMAGE);
config.setFocusMode(Config.FocusMode.AUTO);
最佳答案
For successive detection and tracking of Augmented Images in ARCore follow these basic rules:
global anchor
图像以增加跟踪的稳定性。Do not use the image's pose and size estimates until the image's tracking state is tracking
..png
和 .jpeg
.但是,请避免对 .jpeg
进行大量压缩。 .Polka dot
)和稀疏特征的图像。关于android - 增强图像被检测到但未被跟踪,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60150619/