A trainee quantity surveyor who hid a mobile phone in the ceiling of the women's toilets where he worked to record female colleagues in a state of undress has avoided a prison sentence.
Joshua Drummond hid the camera phone in the suspended ceiling directly above a toilet cubicle, South Somerset Magistrates' Court, in Yeovil, heard.
After women workers had used the toilet, the 20-year-old returned and played back the footage for his own sexual gratification.
But his crime was discovered when one women happened to look up from the neighbouring cubicle and saw the small device.
She removed it and took it to her boss at building contractor DR Jones in Yeovil, and it was easily traced back to Drummond.
The police were called and they found a total of seven clips showing a number of women using the toilet over a three-week period.
At an earlier hearing, Drummond admitted seven charges of voyeurism, committed between February and March, this year.
The court heard that Drummond planted the mobile phone in the false ceiling in the ladies' bathroom on February 15. There was already a hole in the tiles but he accepted he had made it bigger, the court heard.
Drummond, from Cavalier Way, Yeovil, pleaded guilty to seven counts of voyeurism committed between February 15 and March 5.
Magistrates sentenced Drummond to a three-year community order and told him to attend a sex offenders' rehabilitation programme.