Learning contours for automatic annotations of mountains pictures on a smartphone