Using object affordances to improve object recognition