By automatic video-based age and gender detection, people in the view of the camera can be classified into several demographical groups. With the combination of digital signage, it allows right advertising content be shown to the right audience in real time.