iOS ARKit Face Tracking Vertices   9 comments

I’m currently working on a project that involves face tracking, and as a first prototype am using the built-in features in the ARKit library, Apple’s augmented reality API for iOS.

Using a device with a front-facing TrueDepth camera, an augmented reality session can be started to return quite a bit of information about faces it is tracking in an ARFaceAnchor object. One of these details is the face geometry itself, contained in the aptly named ARFaceGeometry object. For those who care about face shape landmarks, the 1220 individual vertices (points) can provide a wealth of information. However, there is little to no published information on which vertex corresponds to what point on the face.

While keeping in mind that this means these vertices could easily change in future versions of ARKit, I’ve taken the liberty of labeling points in case it is helpful for a future developer.

Update: A few people have asked how I generated this map. Details below.

Click on for more pictures and a little code…

Posted 18 Dec 2019 by John McManigle in Technical

Iceland and England 2019   Leave a comment

This May, I was lucky enough to get one more trip across the Pond to visit with Leah and celebrate her birthday. We spent a few days driving across Iceland, where we did some whale and puffin watching, hiked and did a bit of ice climbing on the Sólheimajökull glacier, visited the Reynisfjara Black Sand Beach, wondered at the ice “diamonds” in the Jökulsárlón glacier lagoon, and stopped for a dip in the Blue Lagoon. Then we flew back to England, where I spent a couple of days in London meeting Leah’s classmates and friends, and a couple of days in Oxford, where I taught her to punt and introduced her to the joys of Summer Eights!

Click for more, including pictures!

Posted 2 Jun 2019 by John McManigle in Adventure, Travel

Greece Adventure 2019: Athens   1 comment

On our last day in Greece, Leah and I tried to see all we could see in Athens. We started with a tour of central ancient Athens, including the Temple of Olympian Zeus, a colossal monument to the king of the ancient Greek gods; the Acropolis, the sanctuary of the ancient city; the Ancient Agora, which was its cultural center; and the Temple of Hephaestus, one of the best preserved temples dedicated to the god of metallurgy.

Click for more pictures!

Posted 6 Apr 2019 by John McManigle in Adventure, Travel

Greece Adventure 2019: Milos   1 comment

Fresh from our adventures in Santorini, we flew to Milos, a smaller Aegean island with a population of about 5000, and gorgeous beaches. We checked into our lovely windmill and (after a brief adventure figuring out driving manual transmission) headed out to explore the island!

Click for more, including pictures!

Posted 3 Apr 2019 by John McManigle in Adventure, Travel

Greece Adventure 2019: Santorini   1 comment

Leah has always had a penchant for clear blue water and romantic island life, so while she’s been away doing her master’s in London, we decided to meet up for a week in Greece. Our first stop was Santorini, known for its beautiful ocean views. We arrived on March 30, and checked in to Hotel Sunny Villas built into the side of a cliff in Imerovigli, famous for its beautiful sunsets.

Click for more, including pictures!

Posted 1 Apr 2019 by John McManigle in Adventure, Travel

Operation Airdrop: Hurricane Florence   Leave a comment

Although Durham was inland enough that Hurricane Florence was felt mostly as a few days of heavy rain, it was devastating to southeastern North Carolina and the Outer Banks. Although the storm surge and winds were in line with other Carolina hurricanes, its lingering path across the eastern portion of the state dropped 35 inches of rain in some places. This caused severe flooding and power outages, closed thousands of roads, and disrupted the transport of food and supplies to the eastern swath of the state.

Operation Airdrop is a nonprofit organization formed in the aftermath of Hurricane Harvey in 2017 to deliver supplies to inaccessible areas after natural disasters. I was lucky enough to be able to fit one Airdrop mission between a week of neuroanesthesia and a week of night call. Erin, a combined internal medicine / pediatrics resident, and I delivered a batch of food, bottled water, batteries, bug spray, and childcare supplies to Columbus County, North Carolina. It was rewarding to have the opportunity to help out in this small way, and the story got picked up by the Duke Anesthesia newsletter.

 

Posted 22 Sep 2018 by John McManigle in Flying

Key West and Miami   Leave a comment

In our continuing hunt for getaways involving sandy beaches — especially important as Leah gets ready to head off to London — Leah and I took a few September days to enjoy some sun in Key West and Miami. We spent the weekend in Key West, staying in a cute AirBnB just off the lively Duval Street. I showed Leah a few traditional Key West highlights: the southernmost point in the continental United States, the nightly sunset celebration in Mallory Square, and of course a few encounters with the wandering chickens. We also enjoyed the regional delicacies of Key Lime Pie on a stick and drinks in coconuts.

On Monday, we drove back up to Miami, where we stayed at the Grand Beach Hotel Surfside. Here, Leah introduced me to the Ocean Drive club scene at the Clevelander, and we enjoyed some relaxing beach time. Unfortunately, our trip was cut short by the impending Hurricane Florence. We were able to catch an earlier flight back to North Carolina to avoid the storm, and can’t wait for our next sandy beach adventure.

Click for a few more pictures!

Posted 13 Sep 2018 by John McManigle in Adventure, Travel

Quick Escape from Durham   Leave a comment

After an overnight labor and delivery anesthesia shift, sometimes you just need to dip your toes in the Ocracoke water before heading back home to get some sleep.

Posted 20 Jul 2018 by John McManigle in Flying

South Africa Adventures   Leave a comment

This September, Ingrid and Ian of Oxford Law fame got married at a cherry orchard outside of Johannesburg, South Africa. I scheduled vacation for the grand event and was able to fly over a few days early to see some animals in Greater Kruger National Park. After a long journey including three flights and a day-long layover in Frankfurt, I arrived Monday at the Ku Sungula lodge in the Balule Nature Reserve, near the town of Hoedspruit. I set out on daily morning and evening safari drives before meeting up with Sonya and Andrew on Thursday and enjoying some further exploration and the wedding festivities with them. The variety and quantity of animals were astounding!

Click for more…

Posted 1 Oct 2017 by John McManigle in Adventure, Travel

Fly-in Barbecue   Leave a comment

One of my constant favorite local landing spots is Carthage, North Carolina, where the Pik-n-Pig barbecue place sits on an otherwise sleepy little airstrip. On a sunny afternoon, though, planes fly in from all over to get a tasty lunch, and locals drive in to watch planes takes off and land while they eat. This weekend, my parents visited, and we went with my sister to grab some barbecue! The opportunity to get a few pictures was too perfect…

Posted 9 Sep 2017 by John McManigle in Flying