Removed old object recognition code