Views
No views yet
xr-face-mediapipe-pipeline.zipxr-face-mediapipe-pipeline/ with this structure:xr-face-mediapipe-pipeline/
├── manifest.json
├── gltf/
│ └── frame.gltf
├── model/
│ └── face_detector.tflite
└── pipeline/
├── face_detection_pipeline.json
└── face_display_pipeline.jsonmanifest.json: package metadata. It declares the pipeline entries, XR mode support, and detection tensor name.model/face_detector.tflite: MediaPipe Face detection model in TFLite format (from https://aihub.qualcomm.com/models/mediapipe_face).pipeline/face_detection_pipeline.json: SecureMR pipeline definition for camera input, preprocessing, model inference, and JavaScript post-processing.pipeline/face_display_pipeline.json: SecureMR pipeline definition for consuming detection output, projecting image-space face coordinates into 3D, and rendering a face-frame overlay.gltf/frame.gltf: glTF asset rendered by the display pipeline.xr-face-mediapipe-pipeline/ folder in your app's assets directory. For example, in an Android project:app/src/main/assets/xr-face-mediapipe-pipeline/constexpr const char* kModelPackageAssetPath = "xr-face-mediapipe-pipeline";1SecureMR::ModelPackagePipelineBundle bundle;
2std::string error;
3
4const bool loaded = SecureMR::SecureMrUtils::LoadModelPackagePipelinesFromAssets(
5 kModelPackageAssetPath,
6 frameworkSession,
7 {},
8 bundle,
9 error);LoadModelPackagePipelinesFromAssets(...) reads manifest.json, loads each referenced pipeline JSON file, patches model operators to use the packaged serialized model, creates shared global tensor bindings between pipelines, and binds packaged glTF assets through pipeline placeholders.detection: reads VST camera tensors, runs the MediaPipe Face model, and writes the post_det detection tensor.display: consumes post_det, projects the detection into camera/world space, and renders the frame.gltf face-frame overlay.SecureMrUtils::LoadModelPackagePipelinesFromAssets(...).