from photon to protocol.
We believe health technology must operate with radical transparency. Here is an exact, unvarnished account of how your image is prepared, evaluated, transformed into structured guidance, and subsequently purged from memory.
On-Device WebP Downscaling & Optical Pre-Check
Before any network request, your browser resizes high-resolution 10–15 MB camera captures to a maximum 1280px edge in WebP/JPEG (< 250 KB), strips EXIF location tags, and computes 96×96 luminance, specular shine, and YCbCr chromaticity metrics so hair/scalp and facial skin frames are never confused.
Evidence-Bounded Visual Extraction
Primary daylight scans run on Gemini 3.8 Flash for sub-second structured JSON extraction of directly visible surface cues (T-zone shine, visible redness, parting density, strand cuticle frizz). Low-confidence or ambiguous frames automatically escalate to Gemini 4 Argon for conservative secondary verification without inventing diagnoses.
Ordered AM Protect & PM Recovery Protocols
Verified visual cues map to physiological routine steps: acid-mantle cleansing (pH 4.7–5.5), humectant + 3:1:1 ceramide-cholesterol-fatty-acid barrier support, broad-spectrum UVA/UVB SPF 50+, low-tension scalp care, and whole-food protein (0.8–1.2 g/kg) and hydration targets.
Context-Locked Follow-Up & Escalation Guardrails
Every generated Care Plan links to a stateful Gemini 4 Argon assistant that respects your report's exact analysis focus, explains ingredient layering and climate adjustments, and immediately flags clinical red flags (changing lesions, scarring alopecia, acute swelling) for in-person medical evaluation.
Zero-Training Privacy & Instant Cache Retrieval
Identical photo hashes resolve from a short-lived in-memory SHA-256 report cache to prevent duplicate token spend. Uploaded photos are processed strictly in volatile memory, never used to train foundation models, and only saved to your personal report archive when you explicitly click Save.
Explicit limitations of consumer photo analysis
How CareLens AI calculates your educational Score /100
To keep monthly comparisons meaningful across different smartphone cameras, our pipeline weights four observable dimensions alongside lighting quality:
1. Facial Skin Barrier Index (0–100)
Evaluates diffuse vs. specular shine across the forehead and nasal bridge, cheek texture uniformity, visible flaking, and localized redness tone. High scores reflect balanced hydration and calm barrier tone; lower scores trigger simplified ceramide-first routines in the AI Skin Analysis and 3-Step Skin Routine Finder.
2. Hair & Scalp Density Index (0–100)
Examines frontal temple geometry, center parting width, crown density under overhead light, and strand cuticle frizz or clumping. Users tracking temple or vertex changes can cross-reference their scan with our Norwood Scale Hairline Guide and Hair & Scalp Care Plan.
3. Facial Proportion & Symmetry Mapping
When using the AI Face Shape Detector, the vision model estimates the relative ratios of forehead width, cheekbone span, jawline contour, and vertical face length to suggest flattering haircuts, partings, beard styles, and eyewear frames.
4. Evidence & Governance Verification
All routine recommendations link back to public dermatological and nutritional literature in our Scientific Evidence Library and are governed by our Editorial Standards and Trust Center.