Image caption The machines were turned off on Monday when the BBC paid a visit to the toilets

A park in Beijing has installed toilet paper dispensers with facial recognition to stop visitors from taking too much loo roll, media reports say.

Machines at the Temple of Heaven park scan visitors' faces before dispensing a fixed length strip of paper.

The tourist attraction is reportedly frequented by visitors who take large amounts of loo roll home.

It has reignited debate over the lack of social graces among some Chinese.

Flushed with success

Park officials have installed six machines at its public bathrooms in a half-month trial, with staff on standby to explain the technology to visitors. The park has retained its existing loo roll dispensers.

The new machines, placed at the average heights for men and women, dispense strips of toilet paper measuring about 60 to 70cm (24 to 27.5 inches) to each person.

They will not dispense more paper to the same person until after nine minutes have passed.

"If we encounter guests who have diarrhoea or any other situation in which they urgently require toilet paper, then our staff on the ground will directly provide the toilet paper," a park spokesman told Beijing Wanbao.

Image caption Chinese signs on the machines ask visitors to take off their glasses and hats before scanning

The park also upgraded the toilet paper's quality from one-ply to two-ply.

When the BBC visited the toilets on Monday, the machines had been turned off. A staff member said they were not in use as there were not many visitors in the park that day.

Bag-stuffing

Earlier this month, Chinese media reported that visitors to the Temple of Heaven park's toilets were taking excessive amounts of toilet paper, some of whom were seen stuffing their bags.

The park has been aware of this problem for years, which began shortly after it started dispensing free toilet paper in 2007.

Image copyright AFP/Getty Images Image caption Besides its free supply of toilet paper, the park is also known for the Temple of Heaven complex

It has put up posters as well as broadcast messages on its public announcement system exhorting visitors to use less paper.

The trial appears to have had initial success - the park told Beijing Wanbao that the daily amount of toilet paper used in its toilets has gone down by 20%.

But it has also had teething problems. Reports said that the machines, which are supposed to scan a face in three seconds but in reality can take up to 30 seconds, had caused delays and confusion.

Beijing News said that two machines had also broken down during a recent visit over the weekend.

But the dispensers may now have become an attraction in their own right.

One cleaner told the BBC: "In the past there were a lot of cases of people taking toilet paper, with these new machines a lot of people have come by to take a look."

'Use paper economically'

The case has both amused and exasperated Chinese netizens, who have condemned the bog-standard behaviour of those raiding the park's toilet paper supply.

"Several low-class people have forced the rest of society to undertake a high-cost operation," said one user.

"This is so ironic, the paper in public toilets is meant to serve all in society, now we have to use technology to regulate it," said another.

Earlier this month, the Beijing Municipal Administration Center of Parks launched a campaign on Weibo called "Use Paper Economically, Spread Civility".

Residents were asked to take a pledge to "take appropriate amounts of toilet paper with no wastage" from public parks.