Real-time tracking of single people and groups simultaneously by contextual graph-based reasoning dealing complex occlusions