Human Behavior Tracking with Vision Heatmap Toward Smart Building System


  • Arko Djajadi Swiss German University, BSD City, Indonesia.
  • Putra Utama Jaya Swiss German University, BSD City, Indonesia.
  • Riza Muhida Swiss German University, BSD City, Indonesia.


Vision, Heatmap, Thresholding, Gradation,


Vision system has broad applications in diverse areas. One of such areas is the increasing interest of systematic monitoring of human movements in certain space, in restricted areas or even in open space such as on the shop floor or even on a certain path. Non-vision methods suffer from many inherent weaknesses, but vision methods demand more resources. The focus of this research is to produce a heatmap system that shows human traffic behavior using camera vision with real-time image processing on a low-cost miniPC or laptop in a typical smart building, where relevant parameters are closely monitored. A static background image is used as the base image and is compared with current video frames to give information about changes that happen in the specified area. These changes are processed further to obtain the path of human movement. Changes that happen in the path will change the RGB value of the path. The change of RGB values translates into color gradation. The color gradation result is added to the static reference background image to produce a real-time heatmap with changing cumulative color gradation. Busy areas will produce a brighter heatmap. The heatmap system is processed successfully both on a miniPC (Raspberry Pi 2 Model B, Cubie, Odroid) and on a laptop. The system also would add vision analytic values to a simple surveillance or CCTV system with low cost.


Heatmap, (last accessed Dec 14, 2016).

OpenCV, (last accessed Dec 14, 2016).

Raspberry Pi, (last accessed Dec 14, 2016).

Webcam, (last accessed Dec 14, 2016).

A. Djajadi, F. Laoda, R. Rusyadi, T. Prajogo, M. Sinaga, "A Model Vision on Sorting System Application Using Robotic Manipulator", TELKOMNIKA J., Vol. 8 No. 2, Augustus 2010, pp.137 – 148

A. Djajadi, R. Rusyadi, T. Handoko, M. Sinaga, J. Grueneberg, "Analysis, Design and Implementation of an Embedded Realtime Sound Source Localization System Based on Beamforming Theory", TELKOMNIKA J., Vol. 7, No. 3, 2009 pp. 151-160.

A. Djajadi, M. Wijanarko, "Ambient Environmental Quality Monitoring Using IoT Sensor Network", Internetworking Indonesia Journal Vol.8. No.1, 2016.




How to Cite

Djajadi, A., Jaya, P. U., & Muhida, R. (2017). Human Behavior Tracking with Vision Heatmap Toward Smart Building System. Journal of Telecommunication, Electronic and Computer Engineering (JTEC), 9(2-8), 159–163. Retrieved from