Skip to main content
Version: Next

PoseTracker Architecture

What is PoseTracker?

PoseTracker configures Frame data such as the device's camera image and pose information, and then passes it to VLSDK's internal logic modules.

Frame Data

Frame data refers to the device information retrieved for each frame. The information that PoseTracker must pass to VLSDK's internal modules is as follows:

DataTypeDescriptionNote
textureTextureCamera preview of the current frame
localPositionVector3Camera position of the current frame calculated by the device
localRotationQuaternionCamera rotation of the current frame calculated by the device
intrinsicARIntrinsicCamera intrinsic parameters provided by the device
projection matrixMatrix4x4Projection matrix for content rendering
display matrixMatrix4x4Rotation matrix that rotates the original camera preview to the correct orientation
yuvBufferUnityYuvCpuImageYUV image buffer data of the camera preview. This field is used when useFaceBlurring is enabled on iOS and Android devices.Optional

The format of frame data varies depending on the framework being used. When using ARFoundation, it is provided in the form of ARCameraFrameEventArgs, and when using ARDataset, it is provided in the form of FrameData. These different formats must be converted into a unified ARFrame format so that PoseTracker can utilize them.

alt text