FRANKLIN TOWNSHIP -- A Somerset County man is accused of capturing women on video as they used the bathroom in a Franklin Township corporate office building.

Teodoro Martinez, 26, of Edgewood Terrace in South Bound Brook, is charged with third-degree invasion of privacy for allegedly filming people without their consent, according to the complaint signed today. Bail was set at $25,000.

On Monday at 1:38 p.m., police responded to 400 Atrium Drive on a report of suspicious activity. The assistant manager turned over a small device wrapped in black electrical tape with a USB port, and gave police permission to view the contents, according to the affidavit Franklin Township police Detective Ordel Taylor filed in Superior Court in Somerville.

The device contained audio-visual recordings of a restroom, including footage of a woman using the bathroom and the individual who installed the device in the ceiling, Taylor wrote.

The assistant manager identified the installer as Martinez, an employee. Martinez told police that he installed the camera to record his boss’ mistreatment and eventually started recording women using the restroom, Taylor wrote in court papers. Police confiscated cameras and computer equipment from the suspect’s home, court papers say.

Google Maps400 Atrium Drive in Franklin Township, where a South Bound Brook man was arrested for allegedly videotaping women using the bathroom.