This PR contains second example project for the AR lecture. The implementation is in the most simple form as the purpose is to give example to the basics.
Examples
Geometry — Creating (basic) custom geometries.
BezierPath Geometry — Creating custom geometry from a bezier path.
Plane Detection — Showcasing vertical and horizontal plane detection.
Visualizes vertical and horizontal planes in colors.
Vision Hand Tracking — Track hand joints using Vision (only index finger in the example).
Shows a simple 2D point on screen at the location of the recognized index finger.
Body Tracking — Tracking human body using ARKit.
Displays a sphere when one of the hand is raised above head.
Additional Notes
The CoordinatesAdapter is used to convert coordinates systems — from Vision to Screen. I would ignore the logic behind it as it's not important, it was taken from the ARWorld project. The main point is that the aspect ratio of the Vision's image is different from the one of the screen so we need to do some extra math to have precise conversion.
Apologies for having it all in one commit as I had this project outside of the repository and quite honestly felt lazy to separate it into logical commits...
This PR contains second example project for the AR lecture. The implementation is in the most simple form as the purpose is to give example to the basics.
Examples
Additional Notes
CoordinatesAdapter
is used to convert coordinates systems — from Vision to Screen. I would ignore the logic behind it as it's not important, it was taken from the ARWorld project. The main point is that the aspect ratio of the Vision's image is different from the one of the screen so we need to do some extra math to have precise conversion.