There was a startup in Berlin called 42 Reports that was built around this idea but for tracking people in shops and malls, word is it bombed owing to the technology just not being accurate enough, i think now they've pivoted and scraped an exit.
Isn't this why beacons and iBeacon are supposed to be the next big thing in retail? I've got a friend who just got hired to do sales in Asia for a beacon company. Apparently, they're blowing up (or trying to)?