(NBC) San Francisco supervisors voted to pass a surveillance oversight legislation Tuesday that includes a ban on the use of facial recognition technology by police and other city departments.

The city has become the first in the U.S. to outlaw the tech at a time when it is becoming a part of daily life, from international airports to home security cameras.

Departments will need to get board approval to continue using or acquiring technology.

Note: Read our discussion guidelines before commenting.