Complimenting somebody's appearance can sometimes be a tricky subject in English. It's fine to compliment someone's clothing even if you don't know them, but compliments about a person's body should usually be saved until you know the person much better.