Object Recognition Using a Dynamic Learning Approach