RE: https://vt.social/@lina/116562210481202674 It's kind of crazy how *simple* t...

@lina@vt.social

RE: vt.social/@lina/11656221048120

It's kind of crazy how *simple* the private FaceKit API is. It's just a pure C API that uses NSDictionary for arguments and configuration. Three functions (init, get semantics, and process).

You give it a CVImageBuffer and face rects and it gives you all the tracking data.

There's even a Lite version of the API that I think can do face detection internally (otherwise you need to do it yourself by using something like Vision.framework).

I haven't tried it yet because ARKit doesn't use it, and I don't know for sure if it's equivalent or more limited.

But yeah... Apple should just open this up. There's no reason to tie the awesome face tracking model to the ARKit behemoth and iDevices only! The raw FaceKit API works with any video input, you could feed it a recording or static photos if you wanted.