Skip to main content
Log in

Anomaly detection based on sparse coding with two kinds of dictionaries

  • Original Paper
  • Published:
Signal, Image and Video Processing Aims and scope Submit manuscript

Abstract

In this paper, we propose a novel method to detect anomaly from videos based on sparse reconstruction. Different from the traditional methods, two kinds of dictionaries are employed for anomaly detection with one representing the global dictionary and the other indicating the online one. The global dictionary is first trained on training samples, and then used for the local online dictionary learning and anomaly detection. A novel updating scheme is proposed in the local online dictionary learning for an accurate anomaly detection. Experiments on the public databases show that our method can effectively detect abnormal events in complex scenes.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

References

  1. Kim, J., Grauman, K.: A space-time MRF for detecting abnormal activities with incremental updates. In: 2009 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR 2009), pp. 2921–2928, 20–25 June 2009, Miami, Florida, USA (2009)

  2. Kratz, L., Nishino, K.: Anomaly detection in extremely crowded scenes using spatio-temporal motion pattern models. In: 2009 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR 2009), pp. 1446–1453, 20–25 June 2009, Miami, Florida, USA (2009)

  3. Mehran, R., Oyama, A., Shah, M.: Abnormal crowd behavior detection using social force model. In: 2009 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR 2009), pp. 935–942, 20–25 June 2009, Miami, Florida, USA (2009)

  4. Li, S., Yang, Y., Liu, C.: Anomaly detection based on two global grid motion templates. Signal Process. Image Commun. (2017)

  5. Li, S., Liu, C., Yang, Y.: Anomaly detection based on maximum a posteriori. Pattern Recognit. Lett. (2017)

  6. Cong, Y., Yuan, J., Liu, J.: Sparse reconstruction cost for abnormal event detection. In: The 24th IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2011, pp. 3449–3456, 20–25 June 2011, Colorado Springs, CO, USA (2011)

  7. Xu, J., Denman, S., Sridharan, S., Fookes, C., Rana, R.: Dynamic texture reconstruction from sparse codes for unusual event detection in crowded scenes. In: Proceedings of the 2011 Joint ACM Workshop on Modeling and Representing Events , J-MRE ’11, pp. 25–30 (2011)

  8. Adler, A., Elad, M., Hel-Or, Y., Rivlin, E.: Sparse coding with anomaly detection. In: IEEE International Workshop on in Machine Learning for Signal Processing (MLSP), 2013, pp. 1–6 (2013)

  9. Mo, X., Monga, V., Bala, R., Fan, Z.: Adaptive sparse representations for video anomaly detection. IEEE Trans. Circuits Syst. Video Technol. 24(4), 631 (2014)

    Article  Google Scholar 

  10. Sakurada, M., Yairi, T.: Anomaly detection using autoencoders with nonlinear dimensionality reduction. In: Proceedings of the MLSDA 2014 2nd Workshop on Machine Learning for Sensory Data Analysis, Gold Coast, Australia, QLD, Australia, December 2, 2014 , p. 4. (2014). https://doi.org/10.1145/2689746.2689747. http://doi.acm.org/10.1145/2689746.2689747

  11. Esen, E., Arabaci, M.A., Soysal, M.: Fight detection in surveillance videos. In: International Workshop on Content-Based Multimedia Indexing , pp. 131–135 (2013)

  12. Vishwakarma, V., Mandal, C., Sural, S.: Automatic detection of human fall in video. In: Pattern Recognition and Machine Intelligence, Second International Conference, PReMI 2007, pp. 616–623, Kolkata, India, December 18–22, 2007, Proceedings (2007)

  13. Fu, Z., Hu, W., Tan, T.: Similarity based vehicle trajectory clustering and anomaly detection. In: IEEE International Conference on Image Processing , pp. II–602–5 (2005)

  14. Basharat, A., Gritai, A., Shah, M.: Learning object motion patterns for anomaly detection and improved object detection. In: 2008 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR 2008), 24–26 June 2008, Anchorage, Alaska, USA (2008)

  15. Zhao, B., Li, F., Xing, E.P.: Online detection of unusual events in videos via dynamic sparse coding. In: The 24th IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2011, pp. 3313–3320, 20–25 June 2011, Colorado Springs, CO, USA (2011)

  16. Lu, C., Shi, J., Jia, J.: Abnormal event detection at 150 FPS in MATLAB. In: IEEE International Conference on Computer Vision, ICCV 2013, Sydney, Australia, December 1–8, 2013, pp. 2720–2727 (2013)

  17. Sabokrou, M., Fathy, M., Hoseini, M., Klette, R.: Real-time anomaly detection and localization in crowded scenes. In: Computer Vision and Pattern Recognition Workshops , pp. 56–62 (2016)

  18. Medel, J.R., Savakis, A.E.: Anomaly detection in video using predictive convolutional long short-term memory networks. CoRR (2016). http://arxiv.org/abs/1612.00390 [abs/1612.00390 ]

  19. Chong, Y.S., Tay, Y.H.: CoRR (2015). arxiv:1505.00523

  20. Bertini, M., Bimbo, A.D., Seidenari, L.: Multi-scale and real-time non-parametric approach for anomaly detection and localization. Comput. Vision Image Underst. 116(3), 320 (2012)

    Article  Google Scholar 

  21. Dalal, N., Triggs, B.: Histograms of oriented gradients for human detection. In: IEEE Computer Society Conference on Computer Vision and Pattern Recognition, 2005. CVPR 2005, vol. 1 (2005), pp. 886 –893. https://doi.org/10.1109/CVPR.2005.177

  22. Mairal, J., Bach, F.R., Ponce, J., Sapiro, G.: Anomaly detection in crowded scenes. In: Proceedings of the 26th Annual International Conference on Machine Learning, ICML 2009, Montreal, Quebec, Canada, June 14–18, 2009 , pp. 689–696 (2009)

  23. UMN, http://mha.cs.umn.edu/proj_events.shtml

  24. Wright, J., Yang, A., Ganesh, A., Sastry, S., Ma, Y.: Robust face recognition via sparse representation. IEEE Trans. Pattern Anal. Mach. Intell. 31(2), 210 (2009). https://doi.org/10.1109/TPAMI.2008.79

    Article  Google Scholar 

  25. Mahadevan, V., Li, W., Bhalodia, V., Vasconcelos, N.: Anomaly detection in crowded scenes. In: The Twenty-Third IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2010, San Francisco, CA, USA, 13–18 June 2010, pp. 1975–1981 (2010)

  26. Adam, A., Rivlin, E., Shimshoni, I., Reinitz, D.: Robust real-time unusual event detection using multiple fixed-location monitors. IEEE Trans. Pattern Anal. Mach. Intell. 30(3), 555 (2008)

    Article  Google Scholar 

  27. Antic, B., Ommer, B.: Video parsing for abnormality detection. In: IEEE International Conference on Computer Vision, ICCV 2011, Barcelona, Spain, November 6–13, 2011, pp. 2415–2422 (2011)

Download references

Acknowledgements

This work was supported by the Natural Science Foundation of China (NSFC), No. 61402049.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shifeng Li.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Li, S., Liu, C. & Yang, Y. Anomaly detection based on sparse coding with two kinds of dictionaries. SIViP 12, 983–989 (2018). https://doi.org/10.1007/s11760-018-1243-7

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11760-018-1243-7

Keywords

Navigation