Text this: A three-dimensional pattern recognition localization system based on a Bayesian graphical model