Iranian authorities are installing cameras in public places to detect and punish women who do not wear headscarves, as the police announced yesterday, Saturday.

After they are identified, those who violate the dress code will receive “warnings with text messages about the consequences”, the police note in its announcement.

The move is to “prevent resistance against the hijab law,” police added in the statement, which was carried by the judiciary-affiliated Mizan news agency and other state news agencies, noting that the resistance of this kind of tarnishes the spiritual image of Iran and causes insecurity.

A growing number of women in Iran are refusing to wear the headscarf following the death in September of 22-year-old Iranian-Kurdish Mahsha Amini after she was arrested by morality police for violating the hijab regulation. Security forces violently suppressed protests after her death.

However, despite risking arrest for flouting the mandatory dress code, women are still widely seen without headscarves in malls, restaurants, shops and streets in the country, and videos of women walking around without hijabs defying the morality police have flooded social media.