GOVERNMENT officials in a Chinese city have said sorry for "shaming" people for wearing pyjamas in public.
The images were taken in Suzhou in Anhui province and show seven people wearing their nightwear, condemning it as "uncivilised behaviour".
The officials justified the scheme to “expose uncivilised behaviours and improve citizens’ quality”.
This was especially important because the region was entering a national “civilised city” competition.
The online images, which were caught on CCTV, included information such as the man or woman’s name and ID card number.
Many of China’s 170 million CCTV cameras are linked to artificial intelligence — enabling them to recognise exactly who and what they are videoing.
Other "bad behaviour" exposed included "lying [on a bench] in an uncivilised manner", and dishing out advertising flyers.
The pyjama pictures caused anger online.
Some residents questioned what was wrong with wearing pyjamas in public.
But while others said the government had breached residents' privacy.
Officials later "sincerely apologised", adding: "We wanted to put an end to uncivilised behaviour, but of course we should protect residents' privacy."
In future, the images would be blurred, officials said.