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.

Trump appoints envoy to Greenland, stirs backlash
Passenger bus crash in Indonesia kills at least 16 people
Japan prepares to restart world's biggest nuclear plant
Remaining 130 abducted Nigerian students have been released, official says
Failed homemade bombs thrown before Bondi shooting, police tell court
Malaysia court denies ex-PM Najib's bid to serve jail sentence at home
Australian PM booed as Bondi Beach attack victims honoured
Kremlin: Revised US proposals don't improve peace outlook
