Object Recognition Through Functional Modeling