Closed FrankSpalteholz closed 3 years ago
I was able to implement the iris tracking module myself on top of your face-mesh example. If you are interested I can share the code. Basically i was just adding the tf-module and an IrisDetect-class based on the FaceMesh-class. The only issue I'm facing is world-scale. The calculated eye keypoints are shrinked down a bit and I'm still trying to find out where this scale-offset compared to the face-mesh-keypoints is coming from.
Thank you @FrankSpalteholz! Could you make a PR for the iris tracking?
Sure! Let me clean up my mess a bit and put in some notes and comments. It's also worthy to note that I stripped down the example project as much as possible so maybe pull it in an safe environment first. Again ... I'm super greatful for your rep!
Hey guys ... please check out this repo https://github.com/FrankSpalteholz/UnityMediapipeIris.git ... this is a stripped down version of your original one excluding all samples except the face-mesh scene, where i've added the iris-tracking. To be honest I don't know how much guidance you gonna need but let me shorty explain some of the small changes I did and what I've added:
Edit: I've successfully tested it under iOS (with an iPadPro running 45fps), Windows and OSX
@FrankSpalteholz how did u get the iris tracking TF.lite file
From here https://github.com/google/mediapipe/tree/master/mediapipe/models ... "iris_landmark.tflite". Best F
@FrankSpalteholz thanks ! :) may i also ask, how did u seperate the eye area from the face mesh, as the eye area is yellow in color
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hey guys,
first of all you rock! I was waiting for so long having an Unity-package providing TF AND Mediapipe-features. I already tried out several examples on the iPad and except some of them everything is compiling like a charm so excellent job and thank you again very much for providing this. Let me ask you if there is either a way where i can get the iris tracking feature implementend else well or if that's not possible with the current package doin this myself are you guys planning to do so in near future? I'm working on a realtime-gaze-tracker where this could lead to much better results (at least i hope) rather than using old-school-opencv approaches. But again ... awesome job!