Source code for estimating scale of tracking data collected on smart phones and other smart devices.
This method works best with large, in and out motions. May need to find appropriate cutoff frequency based on the expected motions. The lower you can push it (given the motions) the better.
Numba will accelerate certain aspects of this code. If it’s not wanted, simply remove import and the @jit decorators in Util.py
With the iPhone plugged in, open it in iTunes. Go to apps, ‘Camera IMU’, selected folders of desired sequences, and ‘Save To’ destination of choice.
The tracking method is expected to output a CSV file as described in the read_external_poses
method in Util.py
.
ScaleSolve.py
has method process_sequence(path)
that accepts a path to any of these data directories with an additional tracking.csv
file.
GNU GENERAL PUBLIC LICENSE Version 3 (GPLv3)