Abstract
Augmenting virtual agents in real crowd videos is an important task for different applications from simulations of social environments to modeling abnormalities in crowd behavior. We propose a framework for this task, namely for augmenting virtual agents in real crowd videos. We utilize pedestrian detection and tracking algorithms to automatically locate the pedestrians in video frames and project them into our simulated environment, where the navigable area of the simulated environment is available as a navigation mesh. We represent the real pedestrians in the video as simple three-dimensional (3D) models in our simulation environment. 3D models representing real agents and the augmented virtual agents are simulated using local path planning coupled with a collision avoidance algorithm. The virtual agents augmented into the real video move plausibly without colliding with static and dynamic obstacles, including other virtual agents and the real pedestrians.
Similar content being viewed by others
References
Lerner, A., Chrysanthou, Y., Lischinski, D.: Crowds by example. Comput. Gr. Forum 26(3), 655–664 (2007)
Charalambous, P., Karamouzas, I., Guy, S.J., Chrysanthou, Y.: A data-driven framework for visual crowd analysis. Comput. Gr. Forum 33(7), 41–50 (2014)
Musse, S.R., Jung, C.R., Jacques, J., Braun, A.: Using computer vision to simulate the motion of virtual agents. Comput. Anim. Virtual Worlds 18(2), 83–93 (2007)
Kim, S., Bera, A., Best, A., Chabra, R., Manocha, D.: Interactive and adaptive data-driven crowd simulation. In: Proceedings of IEEE Virtual Reality, ser. VR’16, pp. 29–38 (2016)
Narahara, T., Kobayashi, Y.: Crowd mapper: projection-based interactive pedestrian agents for collective design in architecture. In: Proceedings of the eCAADe 33rd Annual Conference. Education and Research in Computer Aided Architectural Design in Europe (eCAADe), pp. 191–200 (2015)
Bulbul, A., Dahyot, R.: Populating virtual cities using social media. Comput. Anim. Virtual Worlds 28(5), e1742 (2017)
Turkay, C., Koc, E., Balcisoy, S.: Integrating information theory in agent-based crowd simulation behavior models. Comput. J. 54(11), 1800–1820 (2011)
Thalmann, N.M., Thalmann, D.: Animating virtual actors in real environments. Multimed. Syst. 5(2), 113–125 (1997)
Zheng, F., Li, H.: ARCrowd-a tangible interface for interactive crowd simulation. In: Proceedings of the 16th International Conference on Intelligent User Interfaces. ACM, pp. 427–430 (2011)
Obaid, M., Damian, I., Kistler, F., Endrass, B., Wagner, J., André, E.: Cultural behaviors of virtual agents in an augmented reality environment. In: Proceedings of the International Conference on Intelligent Virtual Agents. Springer, pp. 412–418 (2012)
Fernández, C., Baiget, P., Roca, F.X., Gonzàlez, J.: Augmenting video surveillance footage with virtual agents for incremental event evaluation. Pattern Recognit. Lett. 32(6), 878–889 (2011)
Baiget, P., Fernández, C., Roca, X., Gonzàlez, J.: Generation of augmented video sequences combining behavioral animation and multi-object tracking. Comput. Anim. Virtual Worlds 20(4), 473–489 (2009)
Bera, A., Randhavane, T., Prinja, R., Manocha, D.: Sociosense: robot navigation amongst pedestrians with social and psychological constraints. arXiv:1706.01102 (2017)
Van den Berg, J., Lin, M., Manocha, D.: Reciprocal velocity obstacles for real-time multi-agent navigation. In: Proceedings of the IEEE International Conference on Robotics and Automation, ser. ICRA’08. IEEE, pp. 1928–1935 (2008)
Zhang, G., Qin, X., An, X., Chen, W., Bao, H.: As-consistent-as-possible compositing of virtual objects and video sequences. Comput. Anim. Virtual Worlds 17(3–4), 305–314 (2006)
Unity Technologies, Inc., Unity manual: navigation and pathfinding. [Online]. https://docs.unity3d.com/Manual/Navigation.html
Pelechano, N., Fuentes, C.: Hierarchical path-finding for navigation meshes (HNA*). Comput. Gr. 59, 68–78 (2016)
Olivier, A.-H., Bruneau, J., Kulpa, R., Pettré, J.: Walking with virtual people: evaluation of locomotion interfaces in dynamic environments. IEEE Trans. Vis. Comput. Gr. 24(7), 2251–2263 (2018)
Dalal, N., Triggs, B.: Histograms of oriented gradients for human detection. In: Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, ser. CVPR’05, IEEE, vol. 1, pp. 886–893 (2005)
Zivkovic, Z., van der Heijden, F.: Efficient adaptive density estimation per image pixel for the task of background subtraction. Pattern Recognit. Lett. 27(7), 773–780 (2006)
Leal-Taixé, L., Milan, A., Reid, I., Roth, S., Schindler, K.: MOTChallenge 2015: towards a benchmark for multi-target tracking. arXiv:1504.01942 [cs] (2015)
Takahashi, K.: Shadowdrawer (2015). [Online]. Available: https://github.com/keijiro/ShadowDrawer
García-Martín, Á., Sánchez-Matilla, R., Martínez, J.M.: Hierarchical detection of persons in groups. Signal Image Video Process. 11(7), 1181–1188 (2017)
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Electronic supplementary material
Below is the link to the electronic supplementary material.
Supplementary material 2 (mp4 107983 KB)
Rights and permissions
About this article
Cite this article
Doğan, Y., Demirci, S., Güdükbay, U. et al. Augmentation of virtual agents in real crowd videos. SIViP 13, 643–650 (2019). https://doi.org/10.1007/s11760-018-1392-8
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11760-018-1392-8