基于 face-api.js — 7大微表情深度神经网络分类

AI 面部表情与 情绪识别分析器

上传一张人像照片,AI 即可深度解析您的面部表情,精准输出快乐、悲伤、愤怒、惊讶等7大情绪的细致百分比评分,完全免费。

100% 隐私保护 · 本地分析 浏览器本地极速运算 无需注册登录

上传人像照片

最佳检测建议:正对镜头、光线明亮充足、表情自然流露。

或拖拽文件至此处 · 支持 JPG, PNG, WebP

100% In-Browser AI. Photos never leave your device.

AI 识别面部表情的科学依据

从像素特征到情绪感知的三个步骤。

1

1. 肌肉运动单元扫描

高密定位眉毛、眼角、唇周微小动作单元 (Action Units)。

2

2. FACS 面部动作编码

对照保罗·艾克曼博士的微表情理论模型进行模式比对。

3

3. 情绪概率分布计算

输出 7 种人类普适情绪的科学概率百分比。

为什么要测试面部微表情?

面部微妙的神态往往先于言语传递内心真实态度。

挑选最吸睛头像

挑选最显亲和力与自信风范的社交网络或职业头像。

表演与镜头感训练

直观评估自己面对镜头时表达的情感是否准确。

隐私安全零风险

照片不离开本地设备,利用 WebAssembly 在浏览器完成所有运算。

The 7 Basic Emotions — Explained

😊

喜悦 / 微笑 (Happy)

洋溢着快乐、温暖与积极感染力。检测到苹果肌上提与唇角上扬。

😢

悲伤 / 忧郁 (Sad)

流露出沉思、内敛或淡淡忧伤。嘴角微垂,眉心带有轻微牵拉。

😠

愤怒 / 专注 (Angry)

带有强烈的坚定、笃定或威严气场。眉头紧聚,眼神聚焦度高。

😲

惊讶 / 惊喜 (Surprised)

流露好奇与意料之外的惊喜感。眼部适度睁大,眉骨抬高。

😨

紧张 / 警惕 (Fearful)

表现出警觉、谨慎与专注防备。唇肌略微紧绷。

🤢

排斥 / 挑剔 (Disgusted)

展现出抗拒或审慎的微表情。鼻唇沟处有轻微收缩迹象。

😐

平静 / 自然 (Neutral)

沉稳内敛,面部肌肉放松协调,呈现平和客观的大气风度。

What Our AI Emotion Detector Measures & How It Works

Human facial expressions are produced by coordinated contractions of subcutaneous muscles around the eyebrows, eyelids, nose bridge, cheeks, and lips — documented in psychology as the Facial Action Coding System (FACS). Our AI Emotion Detector runs a two-stage neural pipeline inside your browser using face-api.js (TensorFlow.js with WebGL/WebAssembly): first, SSD MobileNet v1 locates the face and maps 68 facial landmarks to align the eyes and mouth horizontally; second, a depthwise separable convolutional expression network evaluates muscle tension patterns across the aligned face crop.

Rather than outputting a single rigid label, the model computes a softmax probability distribution across all 7 universal emotions: Happy (cheek raiser + lip corner puller), Sad (inner brow raiser + lip corner depressor), Angry (brow lowerer + lid tightener), Surprised (outer brow raiser + jaw drop), Fearful (brow raiser + upper lid raiser + lip stretcher), Disgusted (nose wrinkler + upper lip raiser), and Neutral (relaxed baseline musculature). This lets you inspect both your dominant expression and subtle secondary undertones in any portrait.

Tips for the Best Expression Analysis Result

  • Keep Brows & Mouth Clearly Visible: Heavy bangs covering the eyebrows or hands near the chin hide key action units that distinguish surprise, anger, and sadness.
  • Avoid Extreme Side Profiles: The 68-landmark alignment works best when both eyes and both corners of the mouth are visible to the camera.
  • Use Even Front Illumination: Strong shadows across the eyes can be misread by the convolutional layers as furrowed brows or squinting.
  • Compare Genuine vs. Posed Smiles: A genuine Duchenne smile engages both the mouth corners and the orbicularis oculi muscles around the eyes, producing a higher Happy confidence score.

Honest Accuracy & Limitations

Computer vision reads outward facial muscle geometry in a single still frame, not a person's internal emotional state or psychological mood. Resting facial structure, cultural expression norms, camera angle, and lighting contrast can cause a relaxed face to register mild Sad or Angry undertones. All results are provided strictly for informational entertainment, photography feedback, and self-discovery — not psychological or clinical assessment.

100% In-Browser Privacy — Verify It Yourself

Every expression scan runs locally on your device using WebAssembly and WebGL. Verify it yourself: open your browser DevTools (F12), open the Network tab, upload a photo, and see that no image request is ever sent to any server.

Try Our Other Free AI Face Tools

常见问题解答

关于 AI 面部情绪识别的常见问题。

测试能识别哪些情绪?

支持识别心理学中经典的 7 种人类基本情绪:喜悦、悲伤、愤怒、惊讶、恐惧、厌恶和平静。

能识别复杂的多重情绪吗?

可以。系统会生成全部 7 种情绪的细致百分比图谱,展现潜在的情感层次。

我的照片会被上传吗?

绝不会。AI 纯本地运行,照片在分析结束后立刻被销毁。