I'd go with a forehead rest and camera to register facial features position to control for head movement, and just use a vacuum tube/trimmer with some type of length sensor in order to sample length at every 2mm of the scalp, then recreate it at a later time.