1. A method for detecting activation of a virtual sensor in a scene, wherein the virtual sensor comprises data representing a geometric form, data representing a position in the scene and data representing one or several trigger conditions, the method comprising: capturing a first data representation of the scene; and determining whether one or several of the virtual sensor trigger conditions is/are fulfilled based on an analysis of the captured first data representation in an area corresponding to the geometric form and position of the virtual sensor.