-
-
Your beauty journey starts here
-
Upload your selfie and inspiration photo and ready for a personalised makeup transformation
-
My Look - Before and After
-
Discover your perfect lipstick match
-
Explore the blush
-
My own hair
-
In the looks hair style
-
Feeling Bold !! Lets try a new hair colour
-
Matching Brows
-
Twinning
-
Final Comparison
-
My beauty Bag
Inspiration
Ever loved a makeup look but wondered whether it would actually suit you? A lipstick shade or hairstyle that looks stunning on someone else may look completely different on you.
We wanted to solve this everyday beauty dilemma. Our inspiration was to build a smarter way for people to experiment with beauty looks, discover products that suit them, and make confident purchasing decisions without spending money on trial and error.
What it does
Pretty Smart is an AI-powered beauty companion that lets users virtually explore makeup, hairstyles and colours before making a purchase or committing to a new look.
Key features include:
AI Makeup Recreation: Transfer makeup inspiration onto your own photo using YouCam Makeup Transfer.
Virtual Makeup Try-On: Experiment with lipstick and blush shades using YouCam APIs.
Hair & Brow Transformation: Explore different hairstyles, hair colours and complementary brow shades.
Before & After Comparison: Visualise your transformation and compare different looks.
Smart Picks & Splurge: Discover personalised product recommendations with product names and prices, offering both budget-friendly and premium choices.
Pretty Smart brings beauty experimentation and smarter shopping together in one experience.
How we built it
- Next.js 15 + TypeScript: one project for the web app and its small server.
- Five YouCam APIs: Makeup Transfer, Makeup Virtual Try-On (lip color, blush, eyebrows), AI Hairstyle Generator v2.1, AI Hair Color and AI Image Generator, plus the File API.
- MediaPipe Face Landmarker runs in the browser and finds the lips, cheeks and brows.
- CIEDE2000 (ΔE) is the standard "how different do these colors look to a human" formula. Every product is compared with the look on the same face.
- Hair and brow measurement without a segmentation model: the app compares the before and after pictures, and the pixels that changed are the hair.
- Final picture built in the browser: the "My look" image and the Twinning video (Canvas + MediaRecorder) need no extra API calls.
- Demo mode replays a recorded real session, so judges can try everything for free.
- Unit budget guard: every YouCam call is counted and capped.
Automated tests cover the matching logic and edge cases.
I designed the product, the flow and the wording, tested every step on real photos, and built it with an AI coding assistant.
Challenges we ran into
I needed a look photo I could share. My first test look was a friend's photo, but I didn't want to store a friend's face in a demo recording or show it publicly. So I generated the look photos with the YouCam AI Image Generator instead: six makeup looks, no real person. The app recognizes an AI-generated look and labels it "AI-generated" everywhere it appears, and the consent checkbox changes to match. For a real photo, I have to confirm it's mine or that I have permission to use it.
Try-on colors don't match the tube. A coral lipstick came out brick-red on my lips. So I stopped comparing with tube colors and compare face to face. Two price levels of the same shade measured ΔE 0.6 apart, while different shades were 11+ apart.
One average color can lie. Makeup Transfer once turned a matte red look into a two-tone metallic one, and a flat lipstick still scored 90%. Now the score also compares the light and dark parts of the lips.
Cheapest isn't always smartest. A cheaper berry scored close to an orange-red look, so the smart pick now skips shades with a clearly different hue.
YouCam's results are slightly brighter than the selfie. Pasting brows or blush from a try-on also pasted brighter skin. Now the app adds only the change each product made.
Blush and brows are subtle. Blush blends into skin, so I measure cheek color minus forehead color in the same photo. A brow tint at 65% strength was invisible on dark brows, so it now uses full strength.
Accomplishments that we're proud of
- An honest verdict for every lower-priced option: it celebrates the savings when the match is real and says so when the splurge is worth it.
- A full look covering lips, blush, hair and brows, all proven on my own face and combined into one picture and one cart.
- A lip profile that learns how colors shift on my lips, so my next look needs fewer try-ons. It's saved only in my browser.
- The Twinning ending: a fun, shareable reveal of me next to the look I loved.
- Privacy by design: the app doesn't store photos, the share card shows lip close-ups only, look photos need consent, and AI-generated photos are labeled.
- Privacy by design: no photos stored by the app, lip close-ups only on the share card, consent required for real look photos, and AI-generated looks (made with YouCam AI Image Generator) so the demo never shows a real person without permission.
What we learned
- On-face try-ons are only useful if you measure them. A realistic render isn't proof of a match until it's compared on the same face.
- Color science basics: ΔE thresholds, how finish (matte, satin, glossy) changes perception, and why blush must be measured relative to skin.
- How much the words matter: "save", "smart pick" and "made for me" make a lower-priced choice feel good instead of second-best.
- Budgeting API units like a real product: caching, failure handling and a demo mode.
- Generative AI is also a privacy tool: an AI-generated look let me demo the whole flow without using anyone else's face.
What's next for Pretty Looks Smart Picks
- Real retailer catalogs and live prices instead of the fictional demo catalog.
- More categories: eyeshadow, foundation and skin-tone matching with YouCam Skin AI.
- Live camera try-on on mobile.
- Saved looks and a beauty kitty that grows across shopping trips.
Built With
- ai-hair-color
- ai-hairstyle-generator
- ai-image-generator
- canvas
- color-science
- computer-vision
- makeup-transfer
- mediapipe
- mediarecorder
- next.js
- node.js
- perfect-corp
- react
- sharp
- typescript
- virtual-try-on
- vitest
- youcam-api