Analysis of Unclean Hand System Detection Using Template Matching Technique

Faradila Naim, Tuan Nur Amalia Tuan Arifien, Rosyati Hamid, Nurul Wahidah Arshad, Nurulfadzilah Hasan


The aim of this project is to audit the handwashing technique of hospital staff that may cause infection to the patients. This project is to detect unclean washed hands using image processing technique specifically template matching. The detection and recognition of palm in images is the key methodology of this paper. The prototype used for capturing hand images is a dark box with UV light and a camera. Target will need to apply Glogerm on their hands that imitate bacteria. Hence, when they wash their hands inappropriately, Glogerm can be seen in the captured images under the UV light as the unwanted stain on washed hands, the target handwashing technique needs to be improved. Templates of the missed area of washed hands are used to compare the correctness of hand washed techniques by the target. Data of 100 images were taken, results are; 100% accuracy of the hand image without Glogerm, 56.67% of the image that did not wash using water after applying the Glogerm and 45.45% accurate when user wash their hand by using water after applying Glogerm. The overall efficiency of the system in detecting the missed part is 51% accuracy As a summary, this project accurately detects stain percentage that represents the missed part when applying the template matching technique.


Hand Detection; Hand Washing Detection; Stain Detection; Image Processing; Template Matching;

Full Text:



Handwashing: Clean Hands Save Lives. [Online]. Available [Accessed : January 27, 2016]

K. Cox, A. Johnson, and S. Davis, “Wash Way Less Colds Flu,” 2016. [Online]. Available:

Kavita Ahuja and Preeti Tuli , “Object Recognition by Template Matching Using Correlations and Phase Angle Method”, International Journal of Advanced Research in Computer and Communication Engineering Vol.2, Issue 3, March 2013

Four departments from National Taiwan Ocean University, Grid-based Template Matching for People Counting, 30 June 2010

Nazil Perveen, Darshan Kumar and Ishan Bhardwaj, “An Overview on Template Matching Methodologies and Its Application”, International Journal of Advanced Research in Computer and Communication Engineering Vol.2, Issue 10, October-2013

Y. M. Fouda, “A Robust Template Matching Algorithm Based on Reducing Dimensions”, Journal of Signal and Information Processing, 6, 109-122, 2015

Mahmood A, and Khan S. “Correlation Coefficient Based Fast template Atching Through Partial Elimination” , IEEE Transaction on Image Processing, 21, 2099-2108, (2012)

F. Naim, R. Jaafar, N. W. Arshad, R. Hamid and M. N. Razali, "Unclean hand detection machine using vision sensor," 2013 Saudi International Electronics, Communications and Photonics Conference, Fira, 2013, pp. 1-4. doi: 10.1109/SIECPC.2013.6550750

Best Sanitizers Inc., “Hand Hygiene,” 2013. [Online]. Available:

Fouda, Y.M., “One- Dimensional Vector Based Template Matching”, International Journal of Computer Science and Information Technology, 6, 47-58, 2014.


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.

ISSN: 2180-1843

eISSN: 2289-8131