VCG via Getty Images The machine recognizes a man's face to give out toilet paper automatically at a toilet in the park of the Temple of Heaven in Beijing, China.

It may sound like a bum idea, but a park in China is using facial-recognition technology to dole out short strips of toilet paper in a high-tech experiment to wipe out thieves.

All the TP in restrooms at the Temple Of Heaven Park in Beijing is now locked and dispensed by six machines that rely on facial-recognition software to make sure no one takes more than their share, according to The New York Times.

The machine only hands out about two feet of tissue ― a crappy amount, some would argue. If that’s insufficient, you have to wait nine minutes to get more, according to TheVerge.com.

Some locals said they fear Chinese government officials will use data gleaned from the machines to flush out dissidents.

VCG via Getty Images

An official said the park is trying to make things easier by upgrading from one-ply to two-ply tissue, according to the BBC. In addition, people who require more than two feet of tissue can flag down a park employee.

“If we encounter guests who have diarrhea 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 said, according to the BBC.

Using expensive facial-recognition machines to meter toilet paper may seem extreme to protect a something of such low value, but an undercover investigation this month discovered thieves were stealing 30 rolls of toilet paper from park restrooms each day, according to ShanghaiList.com.

VCG via Getty Images

The technologically advanced TP dispensers were installed for a two-week trial period, according to TheBeijinger.com.