Implementation of Template Matching Method for Door Lock Security System Using Raspberry Pi

Beni Widiawan, Syamsiar Kautsar, Fendik Purnomo, Bety Etikasari


In several locations, the security system is becoming a priority. One of the location is the laboratory. There are many valuable research tools and equipment in the laboratory, so to improve the security system. Generally, the access to entry the laboratory is equipped with a digital safety system. Computer Control System Laboratory at Information Technology Department of Jember State Polytechnic uses RFID-Card as access right for entrance to the laboratory. RFID-Card also functions as ID-Card (printed with photo and biodata) and packaged to fit in user clothes pocket. However, using RFID gives less of flexibility. The user must remove the ID-Card and attach the card to the RFID reader box. Therefore, in this study will design a door lock security system based on the image processing to replace the use of RFID. Later, the user simply positions themselves in the Pi Camera work area. Processed data from the camera, the matched with image data which stored in the database. The database contains a photo of laboratory members which listed on the employee ID-Card. Template matching method is used as image matching method which stored in Raspberry Pi database. If the image which captured by camera is matched with the image data in the database, the controller will give entry access to the user. Based on the experimental results, template matching method has a success rate of 96%.


door lock; pi camera; raspberry pi; security system; template matching;

Full Text:



Aksoy, M. S., Torkul, O., & Cedimoglu, I. H. (2004). An industrial visual inspection system that uses inductive learning. Journal of Intelligent Manufacturing, 15(4), 569-574.

Brunelli, R. (2009). Template matching techniques in computer vision: theory and practice. John Wiley & Sons.

Curetti, M., Bravo, S. G., Arri, G. S., & Mathe, L. (2013). Adjustable tracking algorithm with adaptive template matching. IEEE Latin America Transactions, 11(1), 34-39.

Hidayatno, A., Isnanto, R. R., & Kurniawan, D. (2006). Penentuan Wilayah Wajah Manusia pada Citra Berwarna Ber-dasarkan Warna Kulit Dengan Metode Template Matching. Majalah Ilmiah Teknologi Elektro, 5(2).

Huang, P., Gao, G., Qian, C., Yang, G., & Yang, Z. (2017). Fuzzy Linear Regression Discriminant Projection for Face Recognition. IEEE Access, 5, 4340-4349.

Kyriacou, T., Bugmann, G., & Lauria, S. (2005). Vision-based urban navigation procedures for verbally instructed robots. Robotics and Autonomous Systems, 51(1), 69-80.

Thiang, A. T. G., & Lim, R. (2001, May). Type of vehicle recognition using template matching method. In Proceedings of the International Conference on Electrical, Electronics, Communication, and Information (pp. 7-8).

Ttofis, C., Kyrkou, C., & Theocharides, T. (2016). A Low-Cost Real-Time Embedded Stereo Vision System for Accurate Disparity Estimation Based on Guided Image Filtering. IEEE Transactions on Computers, 65(9), 2678-2693.



  • There are currently no refbacks.

VOLT: Jurnal Ilmiah Pendidikan Teknik Elektro is licensed under a Creative Commons Attribution 4.0 International License

VOLT: Jurnal Ilmiah Pendidikan Teknik Elektro ISSN 2528-5688 (print) | ISSN 2528-5696 (online)
Published by Department of Electrical Engineering Vocational Education - Universitas Sultan Ageng Tirtayasa in collaboration with Asosiasi Dosen dan Guru Vokasi Indonesia (ADGVI) - Association of Indonesian Vocational Educators (AIVE)
Address : Jl. Ciwaru Raya No. 25, Sempu, Kota Serang, Banten 42117, Indonesia
E   :,,
Ph : +62 8566666090 / +62 81298509170