Abstract
With the development of society and economy, the importance of crowd behavior analysis is increasing. However, the system often requires a large amount of computing resources, which is often difficult to meet for personal computers in traditional client/server architecture (C/S architecture). So based on the existing local analysis system [5], we construct a crowd behavior analysis system based on browser/server architecture (B/S architecture). Then we optimize many aspects of this B/S system to improve its communication capability and stability under high load. Finally, the acceleration work of the CGAN-based crowd counting module is carried out. The generator of CGAN (Conditional Generative Adversarial Network) was optimized such as residual layer pruning, upsampling optimization, and instance normalization layer removing, and then deployed and INT8 quantized in TensorRT. After these optimizations, the inferring speed on the NVIDIA platform is increased to 541.6% of the original network with almost no loss of inference accuracy.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Gao, Y.: Intensive crowd counting algorithm based on conditional generative adversarial network (2018)
Goodfellow, I., et al.: Generative adversarial nets. In: Advances in Neural Information Processing Systems, pp. 2672–2680 (2014)
He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778 (2016)
Isola, P., Zhu, J.Y., Zhou, T., Efros, A.A.: Image-to-image translation with conditional adversarial networks. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1125–1134 (2017)
Li, J.: Crowd analysis research for complex video surveillance scenes (2016)
Migacz, S.: 8-bit inference with TensorRT (2017). http://on-demand.gputechconf.com/gtc/2017/presentation/s7310-8-bit-inference-with-tensorrt.pdf
TehnoKV: Fusing batch normalization and convolution in runtime (2018). https://tehnokv.com/posts/fusing-batchnorm-and-conv
Ulyanov, D., Vedaldi, A., Lempitsky, V.: Instance normalization: the missing ingredient for fast stylization. arXiv preprint arXiv:1607.08022 (2016)
Zhang, Y., Zhou, D., Chen, S., Gao, S., Ma, Y.: Single-image crowd counting via multi-column convolutional neural network. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 589–597 (2016)
Zhu, J.Y., Park, T., Isola, P., Efros, A.A.: Unpaired image-to-image translation using cycle-consistent adversarial networks. In: Proceedings of the IEEE International Conference On Computer Vision, pp. 2223–2232 (2017)
Acknowledgement
This work was supported in part by National Natural Science Foundation of China (NSFC, Grant No. 61771303 and 61671289), Science and Technology Commission of Shanghai Municipality (STCSM, Grant Nos. 17DZ1205602, 18DZ1200102, 18DZ2270700), and SJTUYitu/Thinkforce Joint laboratory for visual computing and application. Director is funded by National Engineering Laboratory for Public Safety Risk Perception and Control by Big Data PSRPC.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
He, Y., Guo, J., Ji, X., Yang, H. (2020). Design and Optimization of Crowd Behavior Analysis System Based on B/S Software Architecture. In: Zhai, G., Zhou, J., Yang, H., An, P., Yang, X. (eds) Digital TV and Wireless Multimedia Communication. IFTC 2019. Communications in Computer and Information Science, vol 1181. Springer, Singapore. https://doi.org/10.1007/978-981-15-3341-9_28
Download citation
DOI: https://doi.org/10.1007/978-981-15-3341-9_28
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-3340-2
Online ISBN: 978-981-15-3341-9
eBook Packages: Computer ScienceComputer Science (R0)