Let’s talk

Virtual Nail Polish Try-On

  • #E-Commerce
  • #Segmentation

A real-time AR nail detection module for a polish brand's try-on app. Shoppers point the camera at their hands and see any shade, finish or design on all ten nails before they buy.

  • Computer Vision
Live nail polish try-on on a phone camera, next to the shade library

Impact

The client is a direct-to-consumer nail polish brand selling online and through partner salons in the US. Its first try-on app, built on a licensed AR SDK, lost the nail on darker skin and the color shook whenever a hand moved. About 14% of online orders came back, mostly as "not the shade I expected".

We built the computer vision module behind the new try-on: a model under 5 MB that finds every nail, masks it and keeps the color locked on while the hands move. It runs fully on-device on iOS and Android, in live camera mode and on uploaded photos.

Services we provided

Training Data Collection and Labeling

Computer Vision Model Training

Real-Time Nail Tracking

On-Device Model Optimization

UI/UX Design

Mobile SDK and Photo Mode

E-Commerce and Salon Integration

Tech Stack

Pytorch

Tensorflow

Open CV

Python

Live try-on with a shade rail, nail shape picker and add to cart button
Photo mode: uploaded hand photo with polish applied, brightness and blur sliders

Challenges and Solutions

🧐 Challenges

  • Nails are small, low-contrast targets whose outline changes with every finger bend, and the old model saw 61% detection on the two darkest skin tone groups.
  • Re-detecting the nail on every frame made the painted edge shimmer, which users read as cheap.
  • Everything had to run on the phone with no images sent to a server, which meant a model of a few megabytes and about 20 ms per pass.

💡 Solutions

  • One lightweight backbone with three heads: a per-nail segmentation mask, five keypoints per nail and a nail shape classifier.
  • A new dataset of roughly 41,000 hand photos and 210,000 labeled nails across six skin tone groups, 14 hand poses and five lighting setups.
  • Tracking seeded from the previous positions plus a short temporal filter cut edge jitter from about 3.1 px to 0.4 px RMS.
  • A 4.6 MB INT8 TensorFlow Lite model that renders 180+ shades in six finishes and twelve design templates.
  • Photo upload mode with brightness and background blur, using the same model as the live preview.
  • Every preview carries a SKU: one tap adds the shade to the cart or attaches it to a salon booking.

Business value

  • 96% per-nail detection accuracy across six skin tone groups, 94% on the two darkest.
  • Returns down to about 6% from 14% in the first two quarters after launch.
  • <0.1s nail tracking latency and 30 FPS sustained on mid-range Android phones.
  • Median of 9 shades tried per session instead of 2, and 3.8 minutes in the app instead of 1.4.
  • ~2.3x add-to-cart rate from the try-on screen vs the product page.
  • ~1,900 salon bookings with a pre-selected color in six months.

User flow

1. The shopper points the camera at a hand or uploads a photo of bare nails.
2. The model finds every hand and marks each of the ten nails.
3. A pixel mask per nail stops at the cuticle, so polish never spills onto skin.
4. Keypoints carry over between frames and keep the color locked on at 30 FPS.
5. The chosen shade, finish and design are painted with lighting sampled from the scene.
6. The shopper compares shades, saves the look, adds it to the cart or books a salon visit.

This website uses cookies

We use cookies to personalize content and advertising, provide social networking features, and analyze our traffic. We also share information about your use of our website with our social media, advertising and analytics partners, who may combine it with other information you have provided to them or collected from your use of their services. You agree to our cookies if you continue to use our website.

Okay, I understand