Implementation of Hough Transform and Artificial Neural Network for Eye Fatigue Detection in Mobile Phone Usage †
Abstract
1. Introduction
2. Eye Strain Detection Method
3. Hough Transformation
- Detection of the edge. The purpose of this step is to decrease the number of dots in the search space for the object. When the algorithm of Hough transformation discovers the point of the edge detector, The calculation is performed only at that particular point on the boundary. Edge detection in this study was performed using the Canny, Roberts Cross, and Sobel operators, with the purpose of maximizing the signal-to-noise ratio and minimizing error.
- The circle Hough transformation formed a circle in line with the edge with a radius of r.
- After the depiction of a circle aligned with the edge was completed, the area most frequently intersected by the circle was identified, and this area was assumed to be the midpoint of the detected image.
4. Perceptron
4.1. Perceptron Training Algorithms
4.1.1. Initialize All Weighted with Bias (Initial Value = 0)
4.1.2. For Each Training Sample, Do:
- ▪
- Set the activation input:xi=Si
- ▪
- Compute the net input:Yin = b + Σi xiwi
- ▪
- Apply the activation function:
- ▪
- Compare the output y with the target t:If y ≠ t, update the weights and bias:wi(new) = wi (old) + α × t × xib(new) = b(old) + α × t
- If y = t, no change in weight or bias:wi(new) = wi (old)b(new) = b(old)
5. The Design of the System
6. Detection Measures
7. Result and Discussion
7.1. Testing Hough Transformation
- Iris detection: five irises detected correctly, and two incorrect detections.
- Pupil detection: four pupils detected correctly, three incorrect detections, and two not detected. In tests with almost identical iris and pupil colors, the results found are as follows:
- Iris detection: seven irises detected correctly.
- Pupil detection: two pupils detected correctly, five incorrect detections, one not detected.
- Further testing was carried out with three different camera models (smartphone, SLR camera, and digital camera), producing the following results:
- Smartphone (Xiaomi mi 4, 13 MP):
- Irises detected, one not detected.
- Incorrect pupil detections, with two not detected.
- SLR camera (Nikon E5700, 16 MP):
- Irises detected, five pupils correctly detected, one incorrect detection, one not detected.
- Digital Camera (Kodak EasyShare Z981, 10 MP):
- Two irises detected, one incorrect detection, four not detected.
- Three incorrect pupil detections, and four not detected.
7.2. Testing Neural Network
Bipolar Conversion Process
7.3. Artificial Neural Network Training
7.4. Binary Conversion of Eye Images
7.5. Testing Results Analysis
7.5.1. The Test Results Show
7.5.2. Testing and Detection Results
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Palagolla, W.; Wickramarachchi, R. Effective Integration of ICT to Facilitate the Secondary Education in Sri Lanka. arXiv 2019, arXiv:1901.00181. [Google Scholar] [CrossRef]
- Riis, U. ICT Literacy: An Imperative of the Twenty-First Century. Found. Sci. 2017, 22, 575–583. [Google Scholar] [CrossRef]
- Buabbas, A.J.; Hasan, H.; Shehab, A.A. Parents’ attitudes toward school students’ overuse of smartphones and its detrimental health impacts: Qualitative study. JMIR Pediatr. Parent. 2021, 4, e24196. [Google Scholar] [CrossRef] [PubMed]
- Renuga Devi, S.; Gopalakrishnan, B.; Gayathri, K. Detection of Eye Strain using Retina Medical Images through CNN. In Proceedings of the 2021 Smart Technology, Communication and Robotics (STCR), Kuala Lumpur, Malaysia, 3–4 July 2021; pp. 1–5. [Google Scholar] [CrossRef]
- Srikrishna, M.; Nirmala, G. Realization of Human Eye Pupil Detection System using Canny Edge Detector and Circular Hough Transform Technique. In Proceedings of the 2023 2nd International Conference on Applied Artificial Intelligence and Computing (ICAAIC), Chennai, India, 16–17 March 2023; pp. 861–865. [Google Scholar] [CrossRef]
- Abdurahman; Sutarno; Passarella, R.; Prihanto, Y.; Gultom, R. System Design of Iris Ring Detection Using Circular Hough Algorithm for Iris Localization. In Proceedings of the Sriwijaya International Conference on Information Technology and Its Applications (SICONIAN 2019), Palembang, Indonesia, 13–14 November 2019. [Google Scholar] [CrossRef]
- Gokulavani, D.; Professor, E. A Performance Analysis of Different Detection Techniques of Human Eye Pupils. In Proceedings of the 2023 International Conference on Sustainable Computing and Smart Systems (ICSCSS), Chennai, India, 6–7 April 2023; pp. 824–827. [Google Scholar] [CrossRef]
- Tanazri, A.; Kusuma, P.; Setianingsih, C. Detection of Pterygium Disease Using Hough Transform and Forward Chaining. In Proceedings of the 2021 1st International Conference on Cyber Management and Engineering (CyMaEn), Jakarta, Indonesia, 6–7 March 2021; pp. 1–6. [Google Scholar] [CrossRef]
- Gupta, S.; Thakur, S.; Gupta, A. An enhancive Watershed transformation approach to segment Optic Disk from Smartphone Fundus Images. In Proceedings of the 2021 International Conference on Technological Advancements and Innovations (ICTAI), Pune, India, 22–23 October 2021; pp. 188–191. [Google Scholar] [CrossRef]
- Kaur, R.; Guleria, A. Digital Eye Strain Detection System Based on SVM. In Proceedings of the 2021 5th International Conference on Trends in Electronics and Informatics (ICOEI), Tirunelveli, India, 3–5 June 2021; pp. 1114–1121. [Google Scholar] [CrossRef]
- Yang, Y.; Wang, J.; Xue, Y. Iris boundary localization based on Hough transform and the quadratic circle data compensation. Int. J. Imaging Syst. Technol. 2021, 31, 1357–1365. [Google Scholar] [CrossRef]
- Chen, D.; Zheng, P.; Chen, Z.; Lai, R.; Luo, W.; Liu, H. Privacy-Preserving Hough Transform and Line Detection on Encrypted Cloud Images. In Proceedings of the 2021 IEEE 20th International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom), Shenyang, China, 22–24 October 2021; pp. 486–493. [Google Scholar] [CrossRef]
- Sutarno; Abdurahman; Passarella, R.; Prihanto, Y.; Gultom, R.A.G. Mathematical Implementation of Circle Hough Transformation Theorem Model Using C# For Calculation Attribute of Circle. In Proceedings of the Sriwijaya International Conference on Information Technology and Its Applications (SICONIAN 2019), Palembang, Indonesia, 13–14 November 2019. [Google Scholar] [CrossRef]
- Chai, J. Optimizing neural network training with genetic algorithms. Appl. Comput. Eng. 2024, 42, 220–224. [Google Scholar] [CrossRef]
- Rosenblatt, F. The Perceptron: A Probabilistic Model for Information Storage and Organization in the Brain. Psychol. Rev. 1958, 65, 386–408. [Google Scholar] [CrossRef] [PubMed]
- Minsky, M.; Papert, S. Perceptrons: An Introduction to Computational Geometry; MIT Press: Cambridge, MA, USA, 1969; ISBN 978-0262630221. [Google Scholar]
- Shamil, H.; Kindy, B.; Abbas, A. Detection of Iris Localization in Facial Images Using Haar Cascade Circular Hough Transform. J. Southwest Jiaotong Univ. 2020, 55, 4. [Google Scholar] [CrossRef]
- Tang, Q.; Wei, S.; He, X.; Zheng, X.; Tao, F.; Tu, P.; Gao, B. Lutein-rich beverage alleviates visual fatigue in the hyperglycemia model of Sprague–Dawley rats. Metabolites 2023, 13, 1110. [Google Scholar] [CrossRef] [PubMed]
- Wang, G.; Cui, Y. Meta-Analysis of Visual Fatigue Based on Visual Display Terminals. BMC Ophthalmol. 2024, 24, 489. [Google Scholar] [CrossRef] [PubMed]
- Mokhtar, M. Iris of Eye Dataset; Kaggle: 2020. Available online: https://www.kaggle.com/datasets/mohmedmokhtar/iris-of-eye-dataset (accessed on 2 May 2025).
Pattern | Image Input | Conversion Results | Description |
---|---|---|---|
1 | Tired | Detected | |
2 | Tired | Detected | |
3 | Tired | Detected | |
4 | Tired | Detected | |
5 | Tired | Detected | |
6 | Normal | Detected |
Image Input | Conversion Results | Description | Output |
---|---|---|---|
1 h of computer activity | normal | ||
Drive for 10 min | normal | ||
2 h of computer use | normal | ||
Computer use activity 5 h | Tired | ||
A 30 min drive and 3 h of computer use | Tired |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Sujjada, A.; Rahmatulloh, R.; Suganda; Maulana, A. Implementation of Hough Transform and Artificial Neural Network for Eye Fatigue Detection in Mobile Phone Usage. Eng. Proc. 2025, 107, 100. https://doi.org/10.3390/engproc2025107100
Sujjada A, Rahmatulloh R, Suganda, Maulana A. Implementation of Hough Transform and Artificial Neural Network for Eye Fatigue Detection in Mobile Phone Usage. Engineering Proceedings. 2025; 107(1):100. https://doi.org/10.3390/engproc2025107100
Chicago/Turabian StyleSujjada, Alun, Rizki Rahmatulloh, Suganda, and Andrean Maulana. 2025. "Implementation of Hough Transform and Artificial Neural Network for Eye Fatigue Detection in Mobile Phone Usage" Engineering Proceedings 107, no. 1: 100. https://doi.org/10.3390/engproc2025107100
APA StyleSujjada, A., Rahmatulloh, R., Suganda, & Maulana, A. (2025). Implementation of Hough Transform and Artificial Neural Network for Eye Fatigue Detection in Mobile Phone Usage. Engineering Proceedings, 107(1), 100. https://doi.org/10.3390/engproc2025107100