very cool, hard and exciting problem!
How are you handling the stability of the ultrasound sensor relative to the hand? Usually that's the shakiest/blurriest part.
honestly, haven't thought about it yet. I was thinking of calibrating it with a fixed hand gesture or indicating the user to press their palm against a flat surface, but yeah come to think of it, it might not be frequent enough.