I remember when college classes and other places prohibited audio recordings, but as miniaturization has advanced, the ability to record without anyone knowing has changed things. The ability to photograph without it being obvious will have the same result. Whether it is ethical to do it is another question.