Skip to content

k-angama/MotionTracking

Repository files navigation

MotionTracking

This application refers to the article, Introduction to Apple WatchKit with Core Motion — Tracking Jumping Jacks by Eric Hsiao. It collect in a csv file the movement and location data of the Apple Watch, that will allow the creation of ML models so that your Apple Watch recognizes movements using the Core ML framework.

The Application uses CoreMotion and LocationManager to collect the data and saves it to a file that is transferred to the iPhone using WatchConnectivity, then, you can export the data to a csv file from the iPhone.

Screenshots

Apple Watch

iPhone

Features

Apple Watch

  • Change sample interval
  • Change timer of tracking
  • Add or remove the location position to csv

iPhone

  • Export of csv files
  • Delete of csv files
  • Delete multiple files at once
  • Choice of data to export (Timestamp, gravity, rotation, acceleration, coordinate, altitude)
  • Export multiple files in zip format

ToDo

  • Create group files
  • Organize your csv files to export to Create ML

Requirements

  • iOS 14.0+
  • wachtOS 8.0+
  • Xcode 13.2.1

Build

Project uses CocoaPods for dependencies management. To build the project you need to download dependencies:

pod install

Author

k.angama, karim.angama@gmail.com

License

MotionTracking is available under the MIT license. See the LICENSE file for more info.

About

The Application uses CoreMotion and LocationManager to collect the data and saves it to a file that is transferred to the iPhone using WatchConnectivity

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published