San Francisco has become the first US city to ban the use of facial-recognition software by city agencies and the police.
The city's Board of Supervisors that voted in favour of the ban said the technology puts people’s safety at risk and hinders efforts to fight crime.
It, however, carves out an exception for the city's international airport and port.
The legislation also calls for approval from city administrators before introducing new surveillance technology.
Experts say the move could also spur other local governments to take similar action.

US Epstein files release highlights Clinton, makes scant reference to Trump
Bangladesh holds state funeral for slain youth leader amid tight security
US hits ISIS in Syria with large retaliatory strikes, officials say
Pakistan court hands Imran Khan, wife 17-year jail terms in another graft case
Seven elephants killed in India train accident
Israeli attack on school shelter in Gaza City kills 5 Palestinians
Nine injured in attack in Taipei, media reports
Putin offers no compromise on Ukraine, says EU 'robbery' failed
