It should not be a problem if you took the picture yourself and it was taken in a public place. However, if the picture is used for commercial purpose, then it might be an invasion of privacy, especially if the people in the pictures are celebrities.