Cargando…
Lightweight mobile network for real-time violence recognition
Most existing violence recognition methods have complex network structures and high cost of computation and cannot meet the requirements of large-scale deployment. The purpose of this paper is to reduce the complexity of the model to realize the application of violence recognition on mobile intellig...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9621415/ https://www.ncbi.nlm.nih.gov/pubmed/36315496 http://dx.doi.org/10.1371/journal.pone.0276939 |
_version_ | 1784821545114271744 |
---|---|
author | Zhang, Youshan Li, Yong Guo, Shaozhe |
author_facet | Zhang, Youshan Li, Yong Guo, Shaozhe |
author_sort | Zhang, Youshan |
collection | PubMed |
description | Most existing violence recognition methods have complex network structures and high cost of computation and cannot meet the requirements of large-scale deployment. The purpose of this paper is to reduce the complexity of the model to realize the application of violence recognition on mobile intelligent terminals. To solve this problem, we propose MobileNet-TSM, a lightweight network, which uses MobileNet-V2 as main structure. By incorporating temporal shift modules (TSM), which can exchange information between frames, the capability of extracting dynamic characteristics between consecutive frames is strengthened. Extensive experiments are conducted to prove the validity of this method. Our proposed model has only 8.49MB parameters and 175.86MB estimated total size. Compared with the existing methods, this method greatly reduced the model size, at the cost of an accuracy gap of about 3%. The proposed model has achieved accuracy of 97.959%, 97.5% and 87.75% on three public datasets (Crowd Violence, Hockey Fights, and RWF-2000), respectively. Based on this, we also build a real-time violence recognition application on the Android terminal. The source code and trained models are available on https://github.com/1840210289/MobileNet-TSM.git. |
format | Online Article Text |
id | pubmed-9621415 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-96214152022-11-01 Lightweight mobile network for real-time violence recognition Zhang, Youshan Li, Yong Guo, Shaozhe PLoS One Research Article Most existing violence recognition methods have complex network structures and high cost of computation and cannot meet the requirements of large-scale deployment. The purpose of this paper is to reduce the complexity of the model to realize the application of violence recognition on mobile intelligent terminals. To solve this problem, we propose MobileNet-TSM, a lightweight network, which uses MobileNet-V2 as main structure. By incorporating temporal shift modules (TSM), which can exchange information between frames, the capability of extracting dynamic characteristics between consecutive frames is strengthened. Extensive experiments are conducted to prove the validity of this method. Our proposed model has only 8.49MB parameters and 175.86MB estimated total size. Compared with the existing methods, this method greatly reduced the model size, at the cost of an accuracy gap of about 3%. The proposed model has achieved accuracy of 97.959%, 97.5% and 87.75% on three public datasets (Crowd Violence, Hockey Fights, and RWF-2000), respectively. Based on this, we also build a real-time violence recognition application on the Android terminal. The source code and trained models are available on https://github.com/1840210289/MobileNet-TSM.git. Public Library of Science 2022-10-31 /pmc/articles/PMC9621415/ /pubmed/36315496 http://dx.doi.org/10.1371/journal.pone.0276939 Text en © 2022 Zhang et al https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. |
spellingShingle | Research Article Zhang, Youshan Li, Yong Guo, Shaozhe Lightweight mobile network for real-time violence recognition |
title | Lightweight mobile network for real-time violence recognition |
title_full | Lightweight mobile network for real-time violence recognition |
title_fullStr | Lightweight mobile network for real-time violence recognition |
title_full_unstemmed | Lightweight mobile network for real-time violence recognition |
title_short | Lightweight mobile network for real-time violence recognition |
title_sort | lightweight mobile network for real-time violence recognition |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9621415/ https://www.ncbi.nlm.nih.gov/pubmed/36315496 http://dx.doi.org/10.1371/journal.pone.0276939 |
work_keys_str_mv | AT zhangyoushan lightweightmobilenetworkforrealtimeviolencerecognition AT liyong lightweightmobilenetworkforrealtimeviolencerecognition AT guoshaozhe lightweightmobilenetworkforrealtimeviolencerecognition |