Extreme Value Theory-Based Methods for Visual Recognition