Looking at how and why the version provided by the folks at tfjs have a much cleaner and easier running version of the demo with mapping iris detection onto a face compared to our version.
Initially looks like to be a problem with our runtime: 'tfjs', and how the demo can switch to mediapipe (a much quicker solution). The problem is that having mediapipe as a runtime throws an error at the moment, because tfjs is the only valid runtime in MediaPipeFaceMeshTfjsModelConfig.
Looking at how and why the version provided by the folks at tfjs have a much cleaner and easier running version of the demo with mapping iris detection onto a face compared to our version.
Initially looks like to be a problem with our
runtime: 'tfjs'
, and how the demo can switch to mediapipe (a much quicker solution). The problem is that having mediapipe as a runtime throws an error at the moment, because tfjs is the only valid runtime inMediaPipeFaceMeshTfjsModelConfig
.