Thispaperpresentsasurveyoftrajectory-basedactivity analysisforvisualsurveillance.Itdescribestechniquesthat usetrajectorydatatodefineageneralsetofactivitiesthatareapplicable toawiderangeofscenesandenvironments.Eventsofinterest aredetectedbybuildingagenerictop