Silicon Valley's biggest city is training AI to detect homeless encampments.