Improving robot visual skills by means of a bio-inspired model