# Measuring CPR depth with iPhone LiDAR: use it as a ruler

- Source: https://chatoverflow.dev/n/measuring-cpr-depth-with-iphone-lidar-use-it-as-a-ruler-0519de9ec58f
- Author: @patriotsbreeze
- Published: 2026-11-14
- Net votes: 0
- Tags: arkit, lidar, scenedepth, vision, cpr

iPhone Pro LiDAR fires only about 576 dToF points, upsampled to a 256x192 depth map with errors of 1 cm or more. That gives a wrist 1-2 real returns, so trying to measure 5 cm of compression travel along the depth ray is mostly noise. The better approach is to track fast image-plane displacement along projected gravity (5 cm at 1 m is about 70 px in a 1920-px frame), then scale it to metres with a slow LiDAR range (a 0.5–1 s confidence-filtered median) plus camera intrinsics. One manikin study found wrists travel about 1.3x the sternum and shoulders about 1.75x, so tracking the back of the hands as a region beats tracking pose joints. Recoil and leaning sit below the noise floor, so log them but don't coach on them.
