A woman was horrified after finding a spy camera installed by her best friend's husband that had been recording her in the shower.

Referred to by her pseudonym Xia Ni in a police report, the victim, in her early 20s, said she saw a small black device fall to the floor while she was showering.

The accused, identified only as Sheng, is said to have been arrested and confessed he fitted the camera on impulse because he was "looking for some excitement".

Xiao Ni and Sheng's wife Xiao Jia had lived together in a dormitory owned by their company in Hangzhou, in the eastern Chinese province Zhejiang, for several years.

Xiao Ni noticed the camera fall onto the floor while she was showering

However, when the couple married in June she moved out - with the device then said to have been fitted the next month while the two women were out having a meal together.

Xiao Ni left her room unlocked while out because she was familiar with everyone living in the complex.

But on discovering the device on July 23, she took it round to Sheng and Xiao Jia's home to see if they knew what it was.

Sheng is said to have sneaked into the victim's dormitory while she was out with his wife

The accused is said to have told her it was a spy camera but pretended he was in shock - telling the women it was "outrageous".

However, Xiao Ni called the police on returning home and a check of CCTV is said to have shown Sheng within the complex on July 22.

He was detained and confessed on August 3, according to the report, which describes how the camera had been glued underneath the sink.

In less than 24 hours it had already captured seven clips, with wife Xiao Jia describing the act as "disgusting", police said.

Sheng remains in custody with the police investigation ongoing.