Canny edge detection and k closest neighbor classification-based signature-based door lock authentication
This work introduces a secure door lock authentication system using handwritten signature verification. Canny edge detection is used for feature extraction and K-nearest neighbors (KNN) algorithm for classification. The aim of this work is to solve the vulnerabilities of the conventional door lock mechanisms such as mechanical locks, electrical OTP based locks and biometrics modalities such as fingerprint, face and speech recognition. Face recognition can be done on an unaware person, fingerprints over time or via physical activity can be worn out, voice cloning can impair speech recognition. We argue that signature based biometric system is better in terms of security as the reference signature pattern is known only to the authorized user and the system, making the fraud considerably more difficult. The proposed methodology is divided into five stages, data collection from more than 100 people, image preprocessing to a normalized 60×120 pixel grayscale image, feature extraction based on the Canny edge detection (Gaussian filtering, gradient calculation, edge density and histogram of edge orientations), training of the KNN classifier and hardware implementation based on an ESP WROOM 32 microcontroller, relay module and solenoid lock. The performance of the system was tested for several values of k (1, 3 and 5). Experimental results show that the suggested method may successfully authenticate authorized users and deny illegitimate access. The best accuracy of 92% was achieved at k = 3. At k = 1 the accuracy was 85% because of higher noise sensitivity and overfitting while at k = 5 the accuracy was 89% because of misclassification owing to distant neighbors. The average time between signature capture and door actuation was about 1.5 seconds. The main contribution of this research is a powerful, non-intrusive and highly secured authentication mechanism which overcomes the basic security vulnerabilities of the existing door lock systems. This work has important applications in areas of finance, banking, industrial facilities and institutional security, being a feasible alternative to the current biometric and electronic door lock systems.
Authors
- Ameer Ahamed Z
- Mude Sreenivasulu
- Reddy Govindappagari Hemalatha
- Ghouse Ahamed Z
Institutions
- Sri Siddhartha Academy of Higher Education (IN)
- Kishkinda University (IN)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-30
- DOI
- https://doi.org/10.21203/rs.3.rs-10457012/v1
- Primary Topic
- Biometric Identification and Security
- Type
- preprint