NEW: Subscribe to Hacking with Swift+ and accelerate your learning! >>

Is it possible to mesh-transform image in Swift?

Forums > Swift

I'm using Vision to do detect face landmark points. How can I mesh-transform the image using those landmark points to slim the face for instance. Searched all over the Internet for this. The closest thing I found was this. But it's outdated and uses OpenGL.

Any leads would be greatly appreciated.

Something like this (transformation should be adjustable with slider):

   

this video describes what I want to do

   

Hacking with Swift is sponsored by Paw

SPONSORED Use Paw to build, test and describe web APIs. Paw has a lightning fast native macOS interface to compose requests, collaborate in real-time on API specs, and generate client code for your applications. You can import and export API definitions.

Discover Paw for Mac

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

Not logged in

Log in
 

Link copied to your pasteboard.