Format of Camera and Pose XML Sequence File

The data folder in the File Driver sample contains a sequence (XML) file which encodes camera frame and pose information. The following table describes the structure of the XML sequence file:

Tags Attribute(s) Description
Sequence version The version number for the sequence file. The current version is 1.1.
Playback count The total number of frames /poses contained in the sequence file.
loop The number of times the sequence will be played. Use -1 to specify an infinite playback loop.
fps Camera fps
format Camera frame format (e.g. YUYV)
Intrinsics**   w Camera frame width
h Camera frame height
fx Focal length x
fy Focal length y
px Principal point x
py Principal point y
rd Radial distortion values, r0 ~ r7 separated by ','
Elements --- The top level container for <Element> tag(s).
Element timestamp The top level container for grouping frame and pose for the specified timestamp value.
Frame filename The frame filename. All camera frames (files) are stored in FileDriver/data/Camera/
intrinsics The per frame intrinsics (if available). Per frame intrinsics contain a comma separated width, height, principal point x, principal point y, focal length x, focal length y and r0 ~ r7.
Pose x Translation values
r0 3*3 rotation values
trackableStatus Corresponds to TrackableResult::STATUS exposed by Vuforia DeviceTracker
trackableStatusInfo Corresponds to TrackableResult::STATUS_INFO exposed by Vuforia DeviceTracker

**All the attributes listed are global and can be overriden by per frame intrinsics

Note: Attribute values that are not available (e.g., radial distortion, extrinsics, pose rotation and per frame intrinsic) should be set to 0.0f

Example: Sequence file

  . .. ….