Text this: Error correction for foot clearance in real-time measurement