0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

UnityとMediaPipeで目の開閉を取得

Posted at

上記のサイトからの続きです。

方針

MediaPipeで顔のランドマーク表示ができている状態で、
ランドマークの座標を取得して、目が閉じているかどうかを判定する。

例えば、上瞼と下瞼の座標を取得して、一定距離よりも近ければ、目を閉じていると言える。
ただし、Webカメラと顔の距離によって、その程度は変化するので、顔全体の大きさに対する変化割合を見る必要がある。

環境

MacOS 13.4.1
Unity 2022.3.62f2

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?