基於 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 純本機運行,照片在分析結束後立刻被銷毀。