Show HN: FaceLandmarks – ARKit Face Mesh Vertex Tool Hey everyone. FaceLandmarks.com is a little project I put together last weekend, while working with Apple's ARKit for iOS face tracking. For those not familiar, since iOS 11 and A9 processor was released, all iPhones (i.e. iPhone 6s and newer) support augmented reality capabilities. When tracking a face using the front camera and the ARKit framework, a face mesh is generated using exactly 1,220 vertices that are mapped to specific points on the face. These vertices are accessible through ARFaceGeometry, ARFaceAnchor, and ARSCNFaceGeometry within ARKit, and provide a foundation for developers to do facial tracking for common use cases like: social media filters, accessibility, avatars, virtual try on, etc. While the ARKit's tech is impressive and has a smooth DX, the most frustrating part for me was identifying the vertex indexes for specific points on the face mesh model. Apple does not provide a comprehensive mapping of these vertices, besides a handful of major face landmarks. Vertex 0 is on the center upper lip, for example, but there is seemingly little rhyme or reason for the vertex mapping. While devs could download the vertex mapping, open up with a 3d rendering software, and identify vertex indexes (which is what I originally did), I decided to make a simple web app which simplifies this process. FaceLandmarks.com uses Three.js to render a model of the face mesh, with clickable vertices so you can zoom, pan, and easily identify its vertex. In the future, I hope to continue adding semantic labels for each vertex (there are about 2 dozen so far) for searchability. It was a fun afternoon project and hope it may be helpful to others in this niche case. Enjoy! https://ift.tt/Bo51j93 March 30, 2024 at 11:18PM
Show HN: FaceLandmarks – ARKit Face Mesh Vertex Tool https://ift.tt/qLIEMD1
Related Articles
Show HN: Install CLI Apps via Plain HTTP – No Docker, No Binaries, Just Curl https://ift.tt/simwtQBShow HN: Install CLI Apps via Plain HTTP – No Docker, No Binaries, Jus… Read More
Show HN: Dish – A simple HTTP and TCP endpoint monitoring tool (written in Go) https://ift.tt/90zBL38Show HN: Dish – A simple HTTP and TCP endpoint monitoring tool (writte… Read More
Show HN: ProKZee – An Open-Source Network Security Tool Written in Go https://ift.tt/xQ6jZbAShow HN: ProKZee – An Open-Source Network Security Tool Written in Go … Read More
Show HN: Zotero-MCP – Connect Your Research Library with Your AI Assistant https://ift.tt/8Dufo3iShow HN: Zotero-MCP – Connect Your Research Library with Your AI Assis… Read More
Show HN: Start working in AI research by using these project ideas from ICLR2025 https://ift.tt/QvPzwAZShow HN: Start working in AI research by using these project ideas fro… Read More
Show HN: Flow.diy – a super duper simple flowchart maker https://ift.tt/piTaYWFShow HN: Flow.diy – a super duper simple flowchart maker https://www.f… Read More
Show HN: The $300K DevinAI Secret is Now Open Source https://ift.tt/ZNAzRVFShow HN: The $300K DevinAI Secret is Now Open Source You’ve probably h… Read More
Show HN: Daily Jailbreak – Prompt Engineer's Wordle https://ift.tt/5pJb83HShow HN: Daily Jailbreak – Prompt Engineer's Wordle I created a daily … Read More
0 Comments: