I’m seldom taking photos where those things are likely to happen but I wouldn’t be happy about it.
Many cell phones can take still photos, video clips and can even record sound. If you are careful no one should know that you are taking a picture.