本文介绍了检测面部或图像时应为ARCoachingOverlayView选择哪个目标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ARCoachingOverlayVew具有4种目标类型:horizontalPlaneverticalPlaneanyPlanetracking.

ARCoachingOverlayVew has 4 goal types: horizontalPlane, verticalPlane, anyPlane and tracking.

但是Reality Composer具有5种锚点:

But the Reality Composer has 5 types of anchor:

显然,前两个用于水平方向

Apparently, the first two are for when the horizontal

当我跟踪ImageFace时应如何调整ARCoachingOverlayVew的模式? horizontalPlaneverticalPlaneanyPlanetracking?

What mode should I adjust the ARCoachingOverlayVew when I am tracking Image or Face? horizontalPlane, verticalPlane, anyPlane or tracking?

推荐答案

ARCoachingOverlayViewARFaceTrackingConfiguration一起使用时,应选择tracking大小写:

When using ARCoachingOverlayView with ARFaceTrackingConfiguration you should choose tracking case:

ARCoachingOverlayView.Goal.tracking

并且将ARCoachingOverlayViewARImageTrackingConfiguration一起使用时,您应该选择anyPlane大小写:

And when using ARCoachingOverlayView with ARImageTrackingConfiguration you should choose anyPlane case:

ARCoachingOverlayView.Goal.anyPlane

这篇关于检测面部或图像时应为ARCoachingOverlayView选择哪个目标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-14 19:53