Most emotion detection APIs tell you "happy" or "sad." Our facial expression analysis API scores 48 distinct emotions at once from Joy and Anger to Nostalgia, Contemplation and Entrancement in real time. Turn on your webcam and watch the page react to your emotional fingerprint.
No signup to try · Runs in your browser · Backed by IIM Ahmedabad & 100X.VC
Enable your camera to see detected emotions in real-time.
Every reading you saw above is assembled from 48 independent dimensions scored in parallel, and the strand below carries every one of them. Move your cursor to turn it.
A face is never just one feeling. Single-label detection throws away the joy, the warmth, the hint of nostalgia you read instantly. We built a model that doesn't.
A person can feel Joy and Anxiety, Admiration and Awkwardness. We score every emotion independently no forced choice.
The difference between Contempt and Concentration is a few facial muscles. Coarse labels miss it; a 48-dimension readout captures it.
Odd lighting, angles, occlusions even cartoons and paintings. The model is built to generalize beyond clean lab photos.
For every image, the API returns an independent probability score for each of 48 emotions a full distribution, not a winner. A 0.45 on Nostalgia tells a different story than a 0.02. That distribution is the insight.
Forcing one emotion discards information. The probability spread lets you set your own thresholds, track blends, and feed nuanced signal into downstream models or analytics.
A single frame tells you what a face looks like. A stream of frames tells you what just happened the instant a punchline lands, a patient winces, or a viewer checks out. The streaming endpoint scores every frame, so you get 48 traces over time instead of one number. Watch a twelve-second clip play out below or drag the playhead yourself.
Why this matters: every downstream use case ad pre-testing, adaptive tutoring, clinical monitoring, empathic agents lives in the deltas. The API gives you the raw traces; your product decides what a spike means.
Every dimension the model measures, arranged from calm and low-arousal to intense and high-arousal. Hover any chip for a definition.
One request travels through four stages. Each stage exists for a reason and the whole trip is fast enough to run on a live webcam stream.
A detector locates every face in the frame off-angle, partially lit, or half-turned. No face, no charge: the request short-circuits before inference.
Landmarks anchor the crop so tilt, distance and camera angle stop mattering. The model compares expressions, never framing.
A transformer vision backbone reads the whole face at once. It learns that tension around the eyes means one thing next to a relaxed mouth and another next to a clenched jaw relations, not regions.
Forty-eight independent output heads fire in parallel one per emotion dimension. No softmax forcing a winner: every score stands on its own, so blends survive.
A proprietary training corpus deliberately weighted toward rare expressions Entrancement, Empathic Pain, Aesthetic Appreciation so the model learns them instead of ignoring them.
Each head is trained and calibrated separately. A 0.45 on Nostalgia means the same thing today as it did last month scores you can threshold and trend against.
The full pipeline is optimized for streaming the same model that scores a batch of stills keeps pace with a webcam feed over WebSocket.
Frames are scored and released. Nothing about the pipeline requires retaining imagery retention is your policy decision, not our architecture's.
Drop in any local image JPG or PNG straight from your device.
Point the model at any hosted image and get scores back instantly.
Stream from your camera and watch your emotional fingerprint update in real time.
Foundation models can do zero-shot emotion recognition but they flatten the truth. Our 48-dimension granularity, real-time speed and regulatory-ready architecture unlock the verticals where "good enough" isn't an option.
The strongest clinical signal for pain in those who can't self-report, including neonates, dementia patients, and the critically ill. Continuous monitoring replaces intermittent, subjective spot-checks.
Falls under the EU AI Act medical exceptionEmotion-aware virtual coaches for older adults, with a companion that initiates contact when it detects stress or anxiety instead of waiting to be asked.
Screening support for adolescents in telehealth and clinical settings, with guardian consent only and never in schools.
Sensitive · consent + clinical oversight requiredPain and distress dimensions dominate, providing the signals clinicians need when a patient can't self-report.
Because general vision-language models can't touch them whether it's the 48-dimension granularity a clinical pain scale needs, regulatory clearance for a medical device, or custom models for veterinary care. This is where we win.
Send an image, get 48 scores back. REST for batches, streaming for live webcam and video.
import requests resp = requests.post( "https://api.sharedpro.co/v1/expression/face", headers={"Authorization": "Bearer YOUR_API_KEY"}, json={"image_url": "https://example.com/face.jpg"}, ) # -> {"emotions": [{"name": "Joy", "score": 0.86}, ...]} # 48 dims for e in resp.json()["emotions"][:5]: print(f'{e["name"]:<14}{e["score"]:.2f}')
These scores reflect how an average human observer would likely describe an expression. They are not a direct readout of what someone is feeling emotional experience is private, multimodal and context-dependent. Use the API to augment human judgment, not replace it, and always with the consent of the people being analyzed especially in sensitive verticals like clinical pain assessment or youth mental health.
If your product depended on Hume AI's face model, Sharedpro is the closest drop-in for facial expression analysis the same 48-dimension emotion taxonomy, independent per-dimension scores, REST for batches plus streaming for live video, and a free tier to validate the swap before you commit.
For each image, an independent confidence score for all 48 emotion dimensions a full probability distribution, not a single label. You decide how to rank, threshold, or combine them.
JPG and PNG images, supplied as a file upload, a hosted URL, or a live webcam stream. REST handles single images and batches; the streaming endpoint handles real-time webcam and video.
No. The scores reflect how an average observer would describe an expression, not a person's private emotional experience. See Responsible use augment human judgment, with consent.
Inference is optimized for real-time use fast enough to score a live webcam frame-by-frame, not just process batches offline.
Yes. Hume AI sunset its Expression Measurement API on June 14, 2026, ending new jobs and API access. Sharedpro's face model outputs the same 48-dimension emotion taxonomy with independent per-dimension scores, over REST (batch) and streaming (real-time), with a free tier to test the migration. See migrating from Hume.
Process only media you have the right to analyze, with the consent of the people in it. Use signed/expiring URLs for hosted files, and avoid storing raw imagery longer than your use case requires.
Turn on your camera, or grab an API key and ship emotional intelligence into your product this week.