나는 rajawali vuforia에서 발견 된 마커의 수를 얻으려고합니다.발견 된 마커를 계산하는 방법 rajawali vuforia?
우리는 방법이 동안 :
1 protected void foundFrameMarker(final int markerId, Vector3 position,Quaternion orientation) {} // this method is called when found any marker until the marker disappeared
2 public void noFrameMarkersFound() {} // this method is called when no markers appeared or found
어떻게 발견 마커의 수를 얻기 위해 이러한 방법을 사용하기를? 또는 카운트를받는 다른 방법이 있습니까?
두 번째는 좋은 여부 될 수있다. Vuforia는 매 프레임마다 탐지 된 마커/타겟의 정확한 상태를 업데이트하므로 모든 프레임에서이를 수행 할 수있는 정확한 방법이 있습니다. 이로 인해 발생할 가능성이없는 성능 문제가있는 경우 타협을 시작할 수 있습니다. – yakobom