AURÉLLETHE JEWELRY STUDIO← Back to the live studio

DEMO & IMPLEMENTATION GUIDE

Your own jewelry try-on system.

This is an independently built demonstration of the shopping-to-camera experience you described: choose jewelry, permit camera access, see jewelry follow detected facial features, combine pieces, and save a look. The application uses Google's MediaPipe vision models. It does not call Mirrar, use Mirrar assets, or reproduce its proprietary technology.

Scope: real landmark inference and illustrative 3D jewelry rendering, with a labeled 2D fallback. This is a prototype for evaluating the interaction and fitting approach, not a claim of production parity with an established commercial try-on service.

1. Walk through the demo

  1. Open the studio on HTTPS or localhost. Select either of the two pieces in each category. The initial selection is Solstice hoops.
  2. Choose Enable camera and approve your browser's camera request. Audio is never requested. Camera frames remain on the device.
  3. Wait for the face and pose models to download. A loading failure presents a retryable message. Camera permission, missing-camera and camera-in-use errors have separate messages.
  4. Face the camera in even light. Keep your hair behind your ears. For necklaces, include both shoulders and the upper chest.
  5. Turn gently and move nearer or farther away. Jewelry anchors follow the detected face. Turn on Show tracking guides to see facial landmarks and labeled anchors.
  6. Choose a necklace, nose piece or headpiece to layer with the earrings. Remove any selected piece using its own Remove button in Your look, tap its selected product card again, or choose Remove all. One selection is retained per category. Change finish, scale or vertical placement independently for each category.
  7. Use Save your look to download a still image without tracking guides. This does not send a photo to a server. Turn off the camera when finished.
  8. If no camera is available, use the sample-model button. Choose among four portraits: one licensed photo and three AI-generated studio models. The app runs landmark detection on the selected still photo. This mode is explicitly labeled as a still photo, not a live simulation.

2. Tracking coverage: detected versus estimated

RegionDemo implementationImportant limitation
Face478 landmarks from Face Landmarker, confidence thresholds and temporal smoothing.One face only; poor light, blur and occlusion can interrupt detection.
EyesDetected eye contours and iris landmarks appear in guides. Eye corners establish the face's orientation.No gaze measurement or eye-jewelry product is implemented.
NoseNostril-side anchors position a stud or ring. The same nostril stays selected during turns; far-side visibility is gated.Does not identify a real piercing or reconstruct nasal cartilage.
HeadEye geometry provides roll. Nose offset gives an approximate yaw cue. Forehead landmarks anchor headpieces.Pitch is derived from the facial transformation matrix, and yaw/roll from landmark geometry. Full calibrated six-degree-of-freedom fitting remains unverified.
EarsFace contour anchors, optionally blended with visible pose ear landmarks.Estimated attachment points, not dedicated ear/lobe/piercing tracking. Hair occlusion is not segmented.
NeckChin plus detected shoulders estimate necklace center, scale and shoulder-line rotation.No neck surface reconstruction. Necklace drape is approximate and hides when shoulder confidence is insufficient.

The corrected visibility logic hides the far earring on the same screen side as the head turn, using landmark depth as a second cue and hysteresis to reduce flicker. An explicit face-oval cutout prevents earrings drawing onto the cheek. This is a conservative visibility heuristic and a 2D face mask, not full 3D depth or hair segmentation. A hand covering the jewelry or hair crossing an earring is not correctly rendered in front of it.

3. How the system works

Product selection → camera frame → local vision worker → normalized landmarks → smoothed anchors → jewelry overlay.

The core source is separated into collection rendering, tracking geometry, the vision worker, application state and interface styling. Three.js 0.180.0 is bundled locally under its MIT license. No backend, account system, analytics, product database or checkout is required for this demonstration.

4. Turning this into a professional product

The next phase should focus on fitting and asset quality before expanding the storefront. A convincing shopper experience depends on accurate attachment points, correct real-world scale and believable occlusion as much as on landmark detection.

WorkstreamProduction deliverableAcceptance evidence
Product assetsMeasured GLB/glTF models with correct metal and gemstone materials, paired earring origins, attachment metadata and optimized variants.Jeweler-approved comparison against the physical product, dimensions and photographs.
3D rendererWebGL rendering, camera projection, depth-aware face occluder, lighting estimation and stable head transforms.Accurate orientation during controlled yaw, pitch and roll sequences.
Ear fittingDedicated ear/lobe landmarks or a custom model, with piercing calibration and confidence gating.Attachment error measured on annotated, consented test footage.
Neck fittingNeck/upper-body geometry and necklace-specific drape constraints.Fits across collarbone shapes, necklace lengths and shoulder poses.
OcclusionHair, face and hand segmentation combined with depth ordering.Earrings disappear correctly behind hair and hands; far-side objects remain hidden.
CommerceReal SKU and variant mapping, approved asset delivery, catalog management and host-store cart handoff.Selected variant and displayed asset match, with correct store navigation.
Device qualityAdaptive model/render quality, cross-browser fallbacks and measured performance budgets.Test results on target Android, iPhone, tablet and desktop hardware.

5. Product asset contract

For each real product, record a stable product ID, category, variant ID, model URL, dimensions in millimeters, attachment origin, orientation, scale convention, left/right pairing, supported finishes and thumbnail. Store approved fitting adjustments per asset instead of embedding catalog-specific values throughout the tracking code.

For a 2D pilot, transparent cutouts can replace the parametric artwork, but they still flatten during rotation. Production 3D assets should preserve consistent units, have geometry centered around the attachment point, and include optimized textures. Transparent or refractive gemstones require careful rendering and device-budget decisions.

Start with a small representative set: a stud, a hoop, a long drop earring, a short pendant and a collar necklace. Approve these against real products before digitizing a large collection.

6. Integrating with your own website

The store's product page should open the fitting room with its product and variant selected. For an embedded experience, configure the iframe's camera permission and the host's Permissions Policy. Camera access requires a secure context and user permission. Do not assume that a camera works inside every in-app browser.

Keep commerce data separate from the tracking layer. The fitting room should accept a validated product selection and return the chosen product/variant to the storefront. Any cross-window messages must validate their origin and payload. A customer can then continue using the store's existing cart and checkout.

The Hostinger export contains no account restriction. Whoever can visit your deployed domain can open this static demo. The earlier Sites publication has its own access policy and is independent of the ZIP. A commercial catalog and checkout remain separate work. Local photo downloads are the only persistence in this demo; selections are not saved between visits.

7. Testing and release gates

Validation of this delivery: source syntax, local asset references and automated geometry/worker contract checks are recorded with the project. Physical-camera accuracy and real iPhone/Android performance have not been verified. Desktop Chromium phone-size viewport checks and model-photo inference were performed. Those checks are required before calling this production-ready. WebMCP selection, read-back and intentional invalid-product rejection have now been verified in the browser. Sample-photo inference and product-detail controls were also inspected.

8. Suggested implementation sequence

  1. Interaction prototype — this demo: validate camera flow, category selection, layering and placement controls.
  2. Measured 3D pilot: implement a small real catalog, calibrated anchors and a 3D rendering pipeline.
  3. Fitting and occlusion: develop ear and neck-specific tracking and evaluate it on a consented test set.
  4. Store integration: connect catalog, variants, storefront entry points and analytics that exclude camera data.
  5. Production hardening: complete device coverage, fallbacks, quality gates, privacy review and monitored rollout.

Time and budget should be estimated after choosing the target devices, acceptable fitting error, catalog size and asset source. Dedicated computer-vision work and 3D asset production are significant workstreams, not just website styling.

Hostinger release: 14 September 2026

This package includes eight GLB models and the eight supplied PNG references. It uses static HTML/CSS/JavaScript and needs HTTPS, but no Node.js hosting or API key. Each product detail dialog links to its model and source reference. The mobile mirror remains visible while browsing, and the fit panel includes session-local per-ear anchor refinement. Comparison and removal controls were exercised in the browser. The supplied render references establish front shapes, not hidden construction or measured scale.

Reference study and product-detail update

Read the detailed Meta and Cartier inspection, verified asset observations, and product-fidelity requirements.

Sources and credits

The supplied YouTube page could not be retrieved, so no video-specific features or performance claims are attributed to it.

← Try the jewelry studio