Giter VIP home page Giter VIP logo

facelandmark_and_gazetracking's Introduction

468 Face Landmarks tutorial

1. Install requirements

~$ pip install -r -U requirements.txt

Tested on python=3.10.8

(Update 2022.12.02)

There are some OpenCV dependency issues while installing Albumentations. So, please follow bellow instructions:

pip install numpy==1.21.5
pip install tensorflow==2.8.1
pip install mediapipe==0.8.11
pip install opencv-python==4.6.0
pip install omegaconf 
pip install PyYAML

pip install -U albumentations --no-binary qudida,albumentations

For the iris example, download iris_landmark.tflite

~$ wget -P models https://github.com/google/mediapipe/raw/master/mediapipe/modules/iris_landmark/iris_landmark.tflite

2. Run the code

~$ python FaceMesh_with_rough_pupil.py  # Mediapipe face mesh & OpenCV usage eye pupil 

~$ python FaceMesh_with_iris.py # Mediapipe face mesh & iris 

Reference

[1] 468 Face Landmars, CVZONE /
[2] Detect 468 Face Landmarks in Real-time | OpenCV Python, youtube /
[3] MediaPipe Face Mesh /
[4] ARFaceAnchor, apple developer /
[5] Malla Facial /
[6] Real-time Facial Performance Capture with iPhone X /
[7-1] FaceMesh: Detecting Key Points on Faces in Real Time / 얼굴 매쉬 이미지만 취득하려다가 여기까지 왔네...
[7-2] ailia-models, github / 위 포스트의 실습코드인데, 여기 레포지토리에 기타 실행해보면 좋을 모델이 많이 있다
[[8] Face Mesh| 468 facial landmark detection | mediapipe, youtube /
[9] Attention Mesh: High-fidelity Face Mesh Prediction in Real-time / 논문 설명
[10] Face Mesh, ailia-models, github /

Pupil detection

[11] Gaze Tracking, github / iris 위치 추출을 위한 예시 참고
[12] Real-time Pupil Tracking from monocular Video, github / Google Mediapipe의 iris detection 인데 이건 PyTorch로 구현 됨
[13] MediaPipe Iris: 실시간 홍채추적 및 깊이측정 /
[14] How use Mediapipe API for Python Iris Depth? / 파이썬 버전으로 된게 없어 이것저것 찾아봄. 대체로 그냥 옵션 추가후 수동 빌드를 통해 해결한는 것 같다?
[15] mediapipeDemos, github / 위의 링크에서 찾았다. 드디어! 이거 참고해서 새로 만들어야지
[16] MediaPipe Iris: Detecting Key Points in the Eye, medium /

facelandmark_and_gazetracking's People

Contributors

doranlyong avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.