Real-time facial expression app built on a local AI decision model on a Mac
The author of a Japanese Zenn article built an app that shows facial expressions from a webcam as percentages in real time. It uses Liquid AI d1[1], a decision model[2] that runs locally on a Mac, so no cloud API is involved.
Each webcam frame is sent to the model, which returns a probability for each of five options: neutral, smile, surprised, angry and troubled. The author reports about 0.1 seconds per judgment, roughly 10 frames per second, and memory use of about 5 GB. No extra training or tuning was done.
On the author's own face, the angry and troubled probabilities often swapped places, with values around 46% and 47%. The author sees this ambiguity as human-like and not a serious error, and plans to pass both values directly to the emotion parameters of a Live2D avatar.
Sources
-
JPZenn JA
ローカルAI (Liquid AI d1) × Webカメラでリアルタイム表情判定アプリが簡単に作れた 〜意思決定モデルの可能性について〜





