Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.61 KB

README.md

File metadata and controls

37 lines (21 loc) · 1.61 KB

Pedestrian Status

Pedestrian Status is a step detection app written with Swift. It does so by analysing the acceleration of its user while he/she is holding his/her iPhone.

Pedestrian Status Screenshot

Description

Pedestrian Status uses the step detection algorithm acquired from this research(PDF via RG).

The above researches algorithm provides three statuses: static, slow walking or fast walking. If it’s a slow walking pattern, the step count will be incremented by 1. If it’s fast walking, then it will be incremented by 2.

It’s known that Pedestrian status is not without it’s flaws. Currently, the iPhone running Pedestrian Status should be hold at the waistline level and parallel to the floor. Like below:

Walking Style

Also sharply moving the hand will result in additionally detected steps as it will be detected as acceleration enough to be classified as a step.

Pedestrian Status is a proof-of-concept. Therefore such shortcomings as explained above are present. In a future version, it will probably be much more agile.

Usage

Just download the project and run it on an iPhone.

An iPad will also work but it’s more appropriate to move with an iPhone.

Requirements

  • Xcode 9 beta 1 or higher
  • Swift 4.0
  • ARC

Future Work

  • recording sensor data
  • dynamic acceleration threshold calculation
  • recognising unnecessary hand movements