A saliency-based approach to event recognition