Predicts tags for images based on existing tags and library patterns