Model-based vision