17-A M.R.S. § 511 (2007)
§ 511. Violation of privacy

1. A person is guilty of violation of privacy if, except in the execution of a public duty or as authorized by law, that person intentionally:

A. Commits a civil trespass on property with the intent to overhear or observe any person in a private place;

B. Installs or uses in a private place without the consent of the person or persons entitled to privacy in that place, any device for observing, photographing, recording, amplifying or broadcasting sounds or events in that place;

C. Installs or uses outside a private place without the consent of the person or persons entitled to privacy therein, any device for hearing, recording, amplifying or broadcasting sounds originating in that place that would not ordinarily be audible or comprehensible outside that place; or

D. Engages in visual surveillance in a public place by means of mechanical or electronic equipment with the intent to observe or photograph, or record, amplify or broadcast an image of any portion of the body of another person present in that place when that portion of the body is in fact concealed from public view under clothing and a reasonable person would expect it to be safe from surveillance.

1-A. It is a defense to a prosecution under subsection 1, paragraph D that the person subject to surveillance had in fact attained 14 years of age and had consented to the visual surveillance.

2. As used in this section, "private place" means a place where one may reasonably expect to be safe from surveillance, including, but not limited to, changing or dressing rooms, bathrooms and similar places, but excluding a place to which the public or a substantial group has access.

3. Violation of privacy is a Class D crime.