Bio-inspired Active Vision for Obstacle Avoidance