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
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
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