Abstract
In this chapter we propose a novel method to analyze trajectories in surveillance scenarios by means of Context-Free Grammars (CFGs). Given a training corpus of trajectories associated to a set of actions, a preliminary processing phase is carried out to characterize the paths as sequences of symbols. This representation turns the numerical representation of the coordinates into a syntactical description of the activity structure, which is successively adopted to identify different behaviors through the CFG models. Such a modeling is the basis for the classification and matching of new trajectories versus the learned templates and it is carried out through a parsing engine that enables the online recognition of human activities. An additional module is provided to recover parsing errors (i.e., insertion, deletion, or substitution of symbols) and update the activity models previously learned. The proposed system has been validated in indoor, in an assisted living context, demonstrating good capabilities in recognizing activity patterns in different configurations, and in particular in presence of noise in the acquired trajectories, or in case of concatenated and nested actions.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Adriaans PW, Vervoort M (2002) The emile 4.1 grammar induction toolbox. In: International colloquium on grammatical inference, Springer-Verlag GmbH, pp 293–295
Berndt D, Clifford J (1994) Using dynamic time warping to find patterns in time series. In: Workshop on knowledge discovery and databases, pp 229–248
Bilmes J (1998) A gentle tutorial of the em algorithm and its application to parameter estimation for gaussian mixture and hidden markov models. Technical Report
Daldoss M, Piotto N, Conci N, De Natale FGB (2010) Learning and matching human activities using regular expressions. In: IEEE international conference on image processing, pp 4681–4684
Das G, Gunopulos D, Mannila H (1997) Finding similar time series. In: Proceedings of the European symposium on principles of data mining and knowledge discovery, Springer-Verlag GmbH, pp 88–100
Duong TV, Bui H, Phung DQ, Venkatesh S (2005) Activity recognition and abnormality detection with the switching hidden semi-markov model. In: IEEE international conference on computer vision and pattern recognition, vol 1, pp 838–845
Earley J (1970) An efficient context-free parsing algorithm. Commun ACM 13(2):94–102
Hamid R, Maddi S, Johnson A, Bobick A, Essa I, Isbell C (2009) A novel sequence representation for unsupervised analysis of human activities. J Artif Intell 173(14):1221–1244
Ivanov YA, Bobick A (2000) Recognition of visual activities and interactions by stochastic parsing. IEEE Trans Pattern Anal Mach Intell 22(8):852–872
Joo SW, Chellappa R (2006) Attribute grammar-based event recognition and anomaly detection. In: IEEE international conference on computer vision and pattern recognition workshop, pp 107–107
Knuth DE (1968) Semantics of context-free languages. Theory Comput Syst 2(2):127–145
Laxton B, Lim J, Kriegman D (2007) Leveraging temporal, contextual and ordering constraints for recognizing complex activities in video. In: IEEE international conference on computer vision and pattern recognition, pp 1–8
Morris B, Trivedi M (2008) A survey of vision-based trajectory learning and analysis for surveillance. IEEE Trans Circuits Syst Video Technol 18(8):1114–1127
Minnen D, Essa I, Starner T (2003) Expectation grammars: leveraging high-level expectations for activity recognition. In: IEEE international conference on computer vision and pattern recognition, vol 2, pp 626–632
Moore D, Essa I (2001) Recognizing multitasked activities using stochastic context-free grammar. In: Proceedings of AAAI conference
Nguyen NT, Phung DQ, Venkatesh S, Bui H (2005) Learning and detecting activities from movement trajectories using the hierarchical hidden markov models. In: IEEE international conference on computer vision and pattern recognition, vol. 2, pp 955–960
Piciarelli C, Micheloni C, Foresti G (2008) Trajectory-based anomalous event detection. IEEE Trans Circuits Syst Video Technol 18(11):1544–1554
Piotto N, Conci N, De Natale F (2009) Syntactic matching of trajectories for ambient intelligence applications. IEEE Trans Multimedia 11(7):1266–1275
Prati A, Calderara S, Cucchiara R (2008) Using circular statistics for trajectory shape analysis. In: IEEE international conference on computer vision and pattern recognition, pp 1–8
Stauffer C, Grimson W (2000) Learning patterns of activity using real-time tracking. IEEE Trans Pattern Anal Mach Intell 22(8):747–757
Zhang Z, Tan T, Huang K (2011) An extended grammar system for learning and recognizing complex visual events. IEEE Trans Pattern Anal Mach Intell 33(2):240–255
Acknowledgments
The research has been developed under the project ACube funded by the Provincia Autonoma di Trento (Italy).
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer Science+Business Media New York
About this chapter
Cite this chapter
Daldoss, M., Piotto, N., Conci, N., De Natale, F.G.B. (2013). Activity Detection Using Regular Expressions. In: Adami, N., Cavallaro, A., Leonardi, R., Migliorati, P. (eds) Analysis, Retrieval and Delivery of Multimedia Content. Lecture Notes in Electrical Engineering, vol 158. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-3831-1_6
Download citation
DOI: https://doi.org/10.1007/978-1-4614-3831-1_6
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4614-3830-4
Online ISBN: 978-1-4614-3831-1
eBook Packages: EngineeringEngineering (R0)