Problem Framing: Prove the Fit, Not Just the Look
What an AR try-on must do, where it breaks first, and the realism scope this design commits to.
What the interviewer is really testing
An AR clothing try-on looks like a graphics problem, but most of its hard parts are distributed systems and data problems wearing a camera. The phone must track a moving person at 30 frames per second, draw a garment that bends with the body, estimate whether it fits, store favorites, hand the shopper to checkout, and do all of this without sending the person's face or body to a data center on every frame. A strong answer shows where each computation runs, which budget each stage must respect, and which privacy rules shape the data model.
The product in one paragraph
A shopper opens a product page for a shirt or a pair of trousers and taps Try On. The app either uses a body profile the shopper already created (height, chest, waist, hip, inseam) or runs a short guided body scan. The live camera feed shows the chosen garment draped over the shopper. The shopper switches size and color, sees a fit verdict (Fits, Snug or Loose), saves the look, shares a snapshot, or adds the chosen size to the cart. Web visitors whose browser has no AR support, or whose SKU has no 3D asset, get a server-rendered still image of the garment on a body model instead.
Where it breaks first
Four failure modes shape the whole design.
- Tracking jitter. A skeleton that shakes by 2 cm makes every garment look like it is floating. Shoppers forgive a hem that is a little too long far more easily than a collar that trembles.
- Garment realism. Full particle-based cloth simulation for every garment is too heavy for a mid-range phone while the camera and the pose model are also running. The design must choose which effects are real and which are approximated.
- Sizing trust. If the app recommends a medium that comes back as a return, the feature destroys margin and the shopper stops believing it. Size claims must be tied to measured garment specifications in centimeters, not to an opaque confidence score.
- Body data. Body shape and photos are personal data. Under GDPR Article 9 and the Illinois Biometric Information Privacy Act (BIPA), collecting them without a documented legal basis and a published retention rule is a legal failure, not a bug that a patch can fix later.
What this design commits to
We do not promise physically exact cloth. We promise three things.
First, the garment tracks the shoulders, chest, waist and hips within a few centimeters at a steady 30 frames per second on a phone released in the last four years.
Second, the size verdict comes from the brand's published garment measurements per size, compared with the shopper's measurements, and the app shows the reason for the verdict.
Third, no raw camera frame and no body photo leaves the device during live try-on. The only body-derived data sent to the server is a small measurement vector, and only when the shopper saves a profile. A snapshot leaves the device only when the shopper taps Save or Share.
Web visitors on devices without AR get a server-rendered still image. It is slower, asynchronous and cached, and it is the only path where a server touches a body image at all.
Vocabulary used in this answer
Virtual try-on (VTON) covers both live AR overlays and generated still images. Pose or body tracking produces landmarks: 33 points in the MediaPipe Pose and ML Kit Pose models, and a 91-joint skeleton in Apple's ARKit body tracking. A garment asset is a 3D mesh with materials, rigged to a skeleton, shipped as glTF 2.0 for Android and web and as USDZ for iOS AR Quick Look. Fit is the relation between one body measurement and the garment's measured ease (extra room built into the cut) for each size.
What a strong first five minutes sounds like
State the split before you draw boxes: tracking and rendering on the device, catalog, orders and profiles in the cloud, and a server-side queue used only for the still-image fallback. Name the two numbers you will defend: a 33 ms frame budget at 30 fps and a biometric retention limit measured in days. A candidate who opens with the privacy boundary and the frame budget sounds like someone who has shipped a camera feature before.
Key Highlights
- •Tracking and drape run on the phone at 30 fps; the server only sees measurements, SKUs and optional snapshots
- •A garment that jitters is worse than one that is a few centimeters off in length
- •Size verdicts come from published garment measurements per size, never from an opaque score
Section Rescue Kit
Buzzwords to use:
Safe statements:
- "Before I draw components, I want to name which parts run on the phone and which run in the cloud, because that decision drives privacy and latency more than anything else."
- "I will treat this as an approximation problem: the garment must look right and fit plausibly, and I will not promise exact cloth physics."