The City of Yarra has banned glasses with built-in cameras from its leisure centres, playgrounds and childcare centres to protect the community.