This simple sample project recognizes hands in realtime. ๐ It serves as a basic example for recognizing your own objects. Suitable for AR ๐ค. Written for the tutorial โCreate your own Object Recognizerโ.
Tech: iOS 11, ARKit, CoreML, iPhone 7 plus, Xcode 9.1, Swift 4.0
This demonstrates basic Object Recognition (for spread hand ๐, fist ๐, and no hands โ). It serves as a building block for object detection, localization, gesture-recognition, and hand tracking.
Disclaimer:
The sample model provided here was captured in 1 hour and is biased to one human handย ๐๐ผ. Itโs intended as a placeholder for your own models. (See Tutorial)
Hereโs an overview of the steps taken. (You can also view my commit history to see steps involved.)
- Build an Intuition by playing with Google CL's Teachable Machine.
- Build dataset.
- Create a Core ML Model using Microsoft's CustomVision.ai.
- Run the model in realtime with ARKit.
P.S. A few well selected images are sufficient for CustomVision.ai . For the sample model here, I did 3 rounds of data collection (adding 63, 38, 21 images per round). Alternating classes during data collection also appeared to work better than gathering all the class images at once.
MIT Open Source License. ๐ง Use as you wish. Have fun! ๐