Semantically-driven Automatic Creation of Training Sets for Object Recognition