Implementasi Convolutional Neural Network (CNN) untuk Deteksi Visual Situs Judi Online

Authors

  • Gusti Ngurah Senja Ghautama Politeknik Negeri Bali
  • Agus Adi Putrawan Politeknik Negeri Bali
  • Made Pasek Agus Ariawan Politeknik Negeri Bali

DOI:

https://doi.org/10.46880/jmika.Vol10No2.pp554-564

Keywords:

Online Gambling, Visual Detection, Deep Learning, CNN, Image Classification

Abstract

Online gambling poses a serious cyber threat in Indonesia, causing financial, social, and psychological impacts on society. According to PPATK's 2025 annual report, the circulation of online gambling funds reached IDR 286.84 trillion throughout 2025, with 12.3 million depositors recorded, despite declining from the previous year due to government intervention. The rapid emergence of new domains renders blacklist-based blocking ineffective. URL and text-content detection methods are also vulnerable to obfuscation, whereas visual characteristics of web pages remain more consistent and harder to manipulate. This study implements a Convolutional Neural Network (CNN) for detecting online gambling sites based on visual analysis of web pages. The novelty lies in a custom CNN architecture with four convolutional blocks for binary visual classification of gambling pages, without relying on URL patterns or text content. The dataset consists of 2,188 web page screenshots collected via Selenium-based crawling, split 70:15:15 for training, validation, and testing. Preprocessing includes resizing images to 216x384 pixels and data augmentation. The CNN architecture employs four convolutional blocks (Conv2D, Batch Normalization, ReLU, and Max Pooling), followed by GlobalAveragePooling2D, Dense layers, and Dropout. Testing achieved 97.27% accuracy with a precision, recall, and F1-score of 0.97, demonstrating the strong potential of this visual CNN approach for automated online gambling site detection.

References

Alomar, K., Aysel, H. I., & Cai, X. (2023). Data Augmentation in Classification and Segmentation: A Survey and New Strategies. Journal of Imaging, 9(2). https://doi.org/10.3390/jimaging9020046

Aprelia Windarni, V., Ferdita Nugraha, A., Tri Atmaja Ramadhani, S., Anisa Istiqomah, D., Mahananing Puri, F., & Setiawan, A. (2023). Deteksi website phishing menggunakan teknik filter pada model machine learning. In Information System Journal (INFOS), 6(1).

Ashurov, A. Y., Al-Gaashani, M. S. A. M., Samee, N. A., Alkanhel, R., Atteia, G., Abdallah, H. A., & Saleh Ali Muthanna, M. (2024). Enhancing plant disease detection through deep learning: a depthwise CNN with squeeze and excitation integration and residual skip connections. Frontiers in Plant Science, 15. https://doi.org/10.3389/fpls.2024.1505857

Chen, L., Li, S., Bai, Q., Yang, J., Jiang, S., & Miao, Y. (2021). Review of image classification algorithms based on convolutional neural networks. In Remote Sensing (Vol. 13, Number 22). MDPI. https://doi.org/10.3390/rs13224712

Kemkomdigi. (2026). Kemkomdigi blokir 3,45 juta situs judi online. ANTARA News.

Mahmud, A. F., & Wirawan, S. (2024). Deteksi Phishing Website menggunakan Machine Learning Metode Klasifikasi Phishing Website Detection using Machine Learning Classification Method. (Vol. 13, Number 4). http://sistemasi.ftik.unisi.ac.id

PPATK. (2026). Catatan Capaian Strategis PPATK Tahun 2025. www.ppatk.go.id

Rangel, G., Cuevas-Tello, J. C., Nunez-Varela, J., Puente, C., & Silva-Trujillo, A. G. (2024). A Survey on Convolutional Neural Networks and Their Performance Limitations in Image Recognition Tasks. In Journal of Sensors (Vol. 2024). Hindawi Limited. https://doi.org/10.1155/2024/2797320

Rohmah, Y., & Khodijah, K. (2024). Resiko dan dampak sosial judi dan pinjaman online pada remaja. Dimensia: Jurnal Kajian Sosiologi, 13(1), 85–92. https://doi.org/10.21831/dimensia.v13i1.66871

Sains dan Teknologi, J., Jumadi, J., & Sartika, D. (2021). Pengolahan citra digital untuk identifikasi objek menggunakan metode hierarchical agglomerative clustering.

Simanjuntak, N., & Muhammad, A. H. (2025). Analisis Perbandingan Algoritma SVM dan CNN dalam Mendeteksi Website Judi Online Berdasarkan Konten Teks. Bulletin of Computer Science Research, 5(4), 361–371. https://doi.org/10.47065/bulletincsr.v5i4.586

Wen, L., Zhang, M., Wang, C., Guo, B., Ma, H., Xue, P., Ding, W., & Zheng, J. (2024). MEDAL: A Multimodality-Based Effective Data Augmentation Framework for Illegal Website Identification. Electronics (Switzerland), 13(11). https://doi.org/10.3390/electronics13112199

Wira Andika, A., Nurhakim, L., Andas, N. H., Denpasar, U. M., Baitul, M., & Sambas, Q. (2025). Penggunaan deep learning untuk memprediksi kinerja akademik dan memberi dukungan yang tepat bagi siswa using deep learning to predicte academic performance and provide appropriate support for students. Sibatik Journal, 4(7). https://doi.org/10.54443/sibatik.v4i7.3152

Yang, R., Zheng, K., Wu, B., Wu, C., & Wang, X. (2021). Phishing website detection based on deep convolutional neural network and random forest ensemble learning. Sensors, 21(24). https://doi.org/10.3390/s21248281

Yang, S., Xiao, W., Zhang, M., Guo, S., Zhao, J., & Shen, F. (2023). Image Data Augmentation for Deep Learning: A Survey. http://arxiv.org/abs/2204.08610

Yapis Jayapura, U. (2024). The legal and social impacts of online gambling in Indonesia: challenges in law enforcement.

Zeng, G. (2025). Invariance Properties and Evaluation Metrics Derived from the Confusion Matrix in Multiclass Classification. Mathematics, 13(16). https://doi.org/10.3390/math13162609

Zhao, X., Wang, L., Zhang, Y., Han, X., Deveci, M., & Parmar, M. (2024). A review of convolutional neural networks in computer vision. Artificial Intelligence Review, 57(4). https://doi.org/10.1007/s10462-024-10721-6

Published

2026-10-31

Issue

Section

METHOMIKA: Jurnal Manajemen Informatika & Komputersisasi Akuntansi