Automatically identify dog breeds from photos