Multi-scale f-formation discovery for group detection