Analysis of Illumination Invariant Method for Face Detection in Different Lighting Variations
DOI:
https://doi.org/10.30871/jaic.v10i3.12731Keywords:
CCTV,, Face Detection, Gamma Correction, Histogram Equalization, Illumination Invariant, IoTAbstract
Lighting quality is a crucial factor that affects the performance of camera-based face detection systems, especially in CCTV surveillance systems that operate in low or uneven lighting conditions. This study aims to analyze the performance of illumination-invariant preprocessing methods in improving the accuracy of human face detection under various lighting conditions. Three preprocessing approaches were compared, namely Histogram Equalization (HE), Gamma Correction (GC), and a hybrid method that combines both (GC+HE). The dataset used consists of 1415 human face images taken using a webcam with variations in five lighting conditions, four face directions, and three shooting distances. All images were processed using the Haar Cascade Classifier algorithm as the face detection method. Performance evaluation was conducted using accuracy, precision, recall, and confusion matrix analysis metrics. The test results showed that the hybrid method provided the best performance with a precision of 92.79%, accuracy of 87.49%, and recall of 89.61%, compared to the HE and GC methods used individually. This improvement indicates that the combination of lighting normalization and contrast enhancement can produce more stable and informative facial images for the detection process. The findings of this study indicate that the hybrid-based illumination invariant approach is very effective for application in real-time visual surveillance systems, especially in environments with limited lighting.
Downloads
References
[1] T. W. Yin and A. S. B. Shibghatullah, “Enhancement of Low-Light Image using Homomorphic Filtering, Unsharp Masking and Gamma Correction,” 2022. [Online]. Available: https://www.researchgate.net/publication/363304851
[2] S. Saluky, Y. Marine, and N. Bahiyah, “Penerapan Normalisasi Histogram untuk Peningkatan Kontras Pencahayaan pada Pengamatan Visual CCTV,” J. Teknol. dan Inform. Poltekharber, vol. 8, no. 3, 2023, [Online]. Available: http://ejournal.poltekharber.ac.id/index.php/informatika/article/view/4929
[3] S. S. Priya and R. I. Minu, “Augmenting Face Detection in Extremely Low-Light CCTV Footage Using the EDCE Enhancement Model,” Trait. du Signal, vol. 40, no. 6, pp. 2741–2750, 2023, doi: 10.18280/ts.400634.
[4] L. N. Soni and A. A. Waoo, “Face Detection Under Low-Light and Low-Resolution Conditions Using Contrast-Limited Adaptive Histogram Equalization and a Modified Convolutional Neural Network,” J. Neonatal Surg., vol. 14, no. 32s, pp. 2620–2631, 2025, doi: 10.63682/jns.v14i32S.7793.
[5] B. Sandhiya, S. Surya, and S. Pramod, “Crime Investigation System using CCTV Footage: A Novel Framework for Contrast Enhancement of Dark Images,” in 2024 4th International Conference on Pervasive Computing and Social Networking (ICPCSN), Salem, India: IEEE, 2024, pp. 462–467. doi: 10.1109/ICPCSN62568.2024.00078.
[6] X. Li, M. Liu, and Q. Ling, “Pixel-Wise Gamma Correction Mapping for Low-Light Image Enhancement,” IEEE Trans. Circuits Syst. Video Technol., vol. 34, no. 2, pp. 681–694, 2024, doi: 10.1109/TCSVT.2023.3286802.
[7] A. Yuliati, C. Machbub, and P. H. Rusmin, “Kajian Singkat Tentang: Pengendalian dan Penjejakan Objek Berbasis Visual,” Al-Jazari J. Ilm. Tek. Elektro, Inform. dan Tek. Mesin, vol. 3, no. 2, 2018, [Online]. Available: https://journal.umtas.ac.id/aljazari/article/view/341
[8] S. Tommandru and D. Sandanam, “Low-Illumination Image Contrast Enhancement Using Adaptive Gamma Correction and Deep Learning Model for Person Identification and Verification,” J. Electron. Imaging, vol. 32, no. 5, p. 53018, 2023, doi: 10.1117/1.JEI.32.5.053018.
[9] S. Mustakim, M. Kom, and S. Agustin, Pengolahan Citra Digital. Yogyakarta: Cendikia Mulia Mandiri, 2025.
[10] A. H. Alsaeedi, S. M. Hadi, and Y. Alazzawi, “Adaptive Gamma and Color Correction for Enhancing Low-Light Images,” Int. J. Intell. Eng. Syst., vol. 17, no. 1, pp. 105–113, 2024, [Online]. Available: https://inass.org/wp-content/uploads/2024/02/2024083115-1.pdf
[11] W. Setiawan, “Perbaikan Citra Menggunakan Anti-Aliasing (AA) untuk Mengetahui Akurasi Face Recognition pada Aplikasi Monitoring Ruangan Berbasis Webcam,” Universitas Islam Negeri Maulana Malik Ibrahim Malang, Malang, 2015. [Online]. Available: http://etheses.uin-malang.ac.id/8761/
[12] C. K. Kumar, G. Sethi, and K. Rawal, “Adapting to the Dark: A Novel Adaptive Low Light Illumination Correction Algorithm for Video Sequences in Wireless Communications,” Int. J. Emerg. Eng. Res., vol. 11, 2023, doi: 10.37391/ijeer.11ngwcn01.
[13] Y. Fan and [et al.], “Low-FaceNet: Face Recognition-Driven Low-Light Image Enhancement,” IEEE Trans. Instrum. Meas., vol. 73, pp. 1–13, 2024, doi: 10.1109/TIM.2024.3372230.
[14] B. S. B. Dewantara, M. M. Bachtiar, and S. E. Lantang, “Door Access Control based on Illumination Invariant Face Recognition in Embedded System,” in 2020 Electrical Power, Electronics, Communications, Controls and Informatics Seminar (EECCIS), IEEE, 2020, pp. 291–296. doi: 10.1109/EECCIS49483.2020.9263427.
[15] F. Muhammad, B. S. B. Dewantara, and R. Sigit, “Implementation of Illumination Invariant Face Recognition for Accessing User Record in Healthcare Kiosk,” in 2020 International Electronics Symposium (IES), IEEE, 2020. doi: 10.1109/IES50839.2020.9231644.
[16] Y. Bourdima, “Enhancing Campus Security: Face Detection and Automatic Recognition System for Guelma University,” University of Guelma, Guelma, Algeria, 2024. [Online]. Available: https://dspace.univ-guelma.dz/xmlui/handle/123456789/16476
[17] U. Saeed, K. Masood, and H. Dawood, “Illumination normalization techniques for makeup-invariant face recognition,” Comput. Electr. Eng., vol. 91, 2021, doi: 10.1016/j.compeleceng.2020.107048.
[18] S. K. Panda and S. K. Sahu, “Design of IoT-based real-time video surveillance system using Raspberry Pi and sensor network,” in Springer, 2020. [Online]. Available: https://link.springer.com/chapter/10.1007/978-981-33-6081-5_11
[19] Z. Balogh, M. Magdin, and G. Molnár, “Motion detection and face recognition using Raspberry Pi, as a part of the Internet of Things,” Acta Polytech. Hungarica, vol. 16, no. 3, pp. 167–185, 2019, [Online]. Available: http://epa.niif.hu/02400/02461/00088/pdf/EPA02461_acta_polytechnica_2019_03_167-185.pdf
[20] B. A. Sassani, A. David, and X. Li, “AgentPi: An IoT Enabled Motion CCTV Surveillance System,” in Proceedings of the IEEE Conference, 2019. [Online]. Available: https://ieeexplore.ieee.org/abstract/document/8890256/
[21] B. N. Rao, R. Sudheer, and M. A. Sadhanala, “Movable surveillance camera using IoT and Raspberry Pi,” in Proceedings of the IEEE Conference, 2020. [Online]. Available: https://ieeexplore.ieee.org/abstract/document/9225491/
[22] J. A. Mohammed, A. Paul, and A. Kumar, “Implementation of human detection on Raspberry Pi for smart surveillance,” in Proceedings of the IEEE Conference, 2020. [Online]. Available: https://ieeexplore.ieee.org/abstract/document/9298383/
[23] H. Meddeb, Z. Abdellaoui, and F. Houaidi, “Development of surveillance robot based on face recognition using Raspberry-PI and IoT,” Comput. Electr. Eng., vol. 107, 2023, [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0141933122002575
[24] T. Prathaban, W. Thean, and M. S. Sazali, “A vision-based home security system using OpenCV on Raspberry Pi 3,” in AIP Conference Proceedings, 2019. [Online]. Available: https://pubs.aip.org/aip/acp/article-abstract/2173/1/020013/746630
[25] R. Ullah, H. Hayat, and A. A. Siddiqui, “A real-time framework for human face detection and recognition in CCTV images,” J. Electr. Comput. Eng., vol. 2022, 2022, [Online]. Available: https://doi.org/10.1155/2022/3276704
[26] A. I. Awodeyi, O. A. Ibok, I. Omokaro, and J. U. Ekwemuka, “Effective preprocessing techniques for improved facial recognition under variable conditions,” Digit. Signal Process. Lett., 2025, [Online]. Available: https://www.sciencedirect.com/science/article/pii/S2773186325000155
[27] A. K. M. Baareh, “Facial Recognition and Discovery Using Convolution Deep Learning Neural Network,” J. Comput. Sci., vol. 20, no. 11, pp. 1559–1568, 2024, doi: 10.3844/jcssp.2024.1559.1568.
[28] S. Anila and N. Devarajan, “Preprocessing technique for face recognition applications under varying illumination conditions,” ResearchGate, 2012, [Online]. Available: https://www.researchgate.net/publication/284602698
[29] I. Chatisa, Y. A. Syahbana, and A. U. A. Wibowo, “Object Detection and Monitor System for Building Security Based on Internet of Things (IoT) Using Illumination Invariant Face Recognition,” Kinet. Game Technol. Inf. Syst. Comput. Network, Comput. Electron. Control, 2023, doi: 10.22219/kinetik.v8i1.1622.
[30] R. D. Putra, T. W. Purboyo, and L. A. Prasasti, “A Review of Image Enhancement Methods,” ResearchGate, 2019, [Online]. Available: https://www.researchgate.net/publication/335420759
[31] Y. Chang, C. Jung, P. Ke, H. Song, and J. Hwang, “Automatic Contrast-Limited Adaptive Histogram Equalization With Dual Gamma Correction,” IEEE Access, vol. 6, pp. 11782–11792, 2018, doi: 10.1109/ACCESS.2018.2797872.
[32] H. T. Ho, L. V Nguyen, T. H. T. Le, and O. J. Lee, “Face detection using eigenfaces: A comprehensive review,” IEEE Access, 2024, [Online]. Available: https://ieeexplore.ieee.org/abstract/document/10614584/
[33] S. A. Iliukhin, T. S. Chernov, and D. V Polevoy, “A method for spatially weighted image brightness normalization for face verification,” in Proceedings of SPIE 11041, Eleventh International Conference on Machine Vision (ICMV 2018), 2019, pp. 1–6. [Online]. Available: https://www.researchgate.net/publication/331806793_A_method_for_spatially_weighted_image_brightness_normalization_for_face_verification
[34] B. Nugroho and E. Y. Puspaningrum, “Performance of Contrast Adjustment in Face Recognition with Training Image under Various Lighting Conditions,” IJCONSIST Journals, vol. 3, no. 2, pp. 25–29, 2022, doi: 10.33005/ijconsist.v3i2.63.
[35] E. Y. Puspaningrum, B. Nugroho, and A. Istifariyanto, “Preprocessing with Symmetrical Face and Gamma Correction for Face Recognition under Varying Illumination with Robust Regression Classification,” Kursor J., vol. 9, no. 2, 2017, doi: 10.28961/kursor.v9i2.142.
[36] R. F. Hasani and M. Yusuf, “Penerapan Haar Cascade Classifier Berbasis Raspberry Pi untuk Sistem Keamanan Gerbang Otomatis di Wilayah Perumahan,” Spektral, vol. 5, no. 2, pp. 281–289, 2024, [Online]. Available: https://jurnal.pnj.ac.id/index.php/spektral/article/view/7566
[37] D. R. Rochmawati, “Deteksi Wajah dengan Metode Haar Cascade Menggunakan OpenCV,” J. Teknol. Komput. dan Inform., vol. 3, no. 1, 2024, doi: 10.59820/tekomin.v3i1.293.
[38] D. Kurnia, S. A. Putri, and E. A. Nugroho, “Implementasi Face Recognition untuk Sistem Absensi Karyawan dengan Pendeteksi Suhu Berbasis Raspberry,” Ramatekno J. Res. Technol., vol. 1, no. 2, 2021, doi: 10.61713/jrt.v1i2.18.
[39] M. Leszczynski, “Image Preprocessing for Illumination Invariant Face Verification,” J. Telecommun. Inf. Technol., vol. 42, no. 4, pp. 19–25, 2010, [Online]. Available: https://www.jtit.pl/jtit/article/view/1092
[40] S. Ashor and H. M. Ahmed, “Applying Gamma and Histogram Equalization Algorithms for Improving System-performance of Face Recognition-based CNN,” Iraqi J. Comput. Commun. Control Syst. Eng., 2022, [Online]. Available: https://iasj.rdd.edu.iq/journals/uploads/2024/12/12/732ef3f1f412f611c01967333a6c6fe1.pdf
[41] A. Salman, M. Hayaty, and I. N. Fajri, “Facial Images Improvement in the LBPH Algorithm Using the Histogram Equalization Method,” JUITA J. Inform., vol. 10, no. 2, pp. 217–223, 2022, [Online]. Available: https://jurnalnasional.ump.ac.id/index.php/JUITA/article/view/13223
[42] M. Veluchamy and B. Subramani, “Image Contrast and Color Enhancement using Adaptive Gamma Correction and Histogram Equalization,” Opt., vol. 183, pp. 329–337, 2019, [Online]. Available: https://dept-info.labri.fr/~achille/ti/Activites/Note-de-lecture/Articles/image_contrast_and_color_enhancement_using_adaptative_gamma_correction_and_histogram_equalization_2019.pdf
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Ivan Chatisa, Siti Syahidatul Helma, Ibnu Surya

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) ) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).








