Enhancing semantic and geographic annotation of web images via logistic canonical correlation regression