Implementation of the YOLOv8 Method for Restaurant Table Condition and Customer Activity Detection
Penerapan Metode YOLOv8 untuk Deteksi Kondisi Meja dan Aktivitas Pengunjung pada Rumah Makan
DOI:
https://doi.org/10.21070/ups.12347Keywords:
Computer Vision, Object Detection, Real Time, Restaurant, YOLOv8Abstract
The culinary industry continues to grow, increasing the need for fast and efficient service. Manual table-condition monitoring in restaurants can delay customer service. This study implements and compares YOLOv8n, YOLOv8s, and YOLOv8m for real-time detection of table occupancy and conditions. The dataset consists of 500 images captured using a webcam at Soto Madura Pojok Terminal Restaurant and annotated into three classes: Empty Table, Occupied Table, and Dirty Table. The dataset was divided into 300 training images, 96 validation images, and 104 testing images based on recording sessions. The models were trained using 640 × 640 pixel images, a batch size of 16, and a maximum of 150 epochs with early stopping. Evaluation used Precision, Recall, mAP@50, and mAP@50–95. YOLOv8m achieved the best performance, with 95.82% Precision, 94.95% Recall, 97.95% mAP@50, and 94.22% mAP@50–95. The model was implemented in a dashboard to display table conditions and restaurant occupancy status.
References
M. dan Minuman, “Statistik Penyediaan BADAN PUSAT STATISTIK BPS-STATISTICS INDONESIA,” 2023.
N. Purnomo, W. Gata, M. R. Kusuma, R. M. Dinata, and M. B. Husna, “IMPLEMENTASI YOU ONLY LOOK ONCE v8 DALAM DETEKSI MAKANAN WARUNG TEGAL UNTUK SISTEM PERHITUNGAN HARGA OTOMATIS,” 2025.
M. Faris Afif, R. Eri Werdani, D. Administrasi Bisnis, and U. Diponegoro, “PENGARUH KUALITAS PELAYANAN, KUALITAS PRODUK, HARGA TERHADAP KEPUASAN KONSUMEN,” 2022. [Online]. Available: https://ejournal3.undip.ac.id/index.php/jiab
W. Indah Kusumawati, H. Pratikno, and Y. Pradeska Admaja, “Sistem Penghitung Jumlah Pengunjung Restoran Menggunakan Kamera Berbasis Single Shot Detector (SSD),” Journal of Technology and Informatics (JoTI), vol. 3, no. 1, pp. 19–26, Oct. 2021, doi: 10.37802/joti.v3i1.197.
I. Zamarli, H. Kurniawan, and W. Darwin, “Implementasi Algoritma YOLOv8 untuk Mendeteksi Objek Manusia Secara Real-Time Menggunakan IP Camera di Pekarangan Rumah,” Jurnal Penelitian Nusantara, vol. 1, pp. 432–441, 2025, doi: 10.59435/menulis.v1i10.706.
H. Achmad, A. Pramudwiatmoko, M. Satrio Gumilang, B. Al Karim, and H. Wiyono, “Analisis Kinerja Model Deteksi Objek Yolo, Ssd, dan Faster R-Cnn pada Citra Penglihatan Malam untuk Pengenalan Tindak Kejahatan,” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 12, no. 1, pp. 145–152, Feb. 2025, doi: 10.25126/jtiik.2025128409.
D. S. Ariansyah and D. S. Ariansyah, “PENDETEKSI KATA DALAM BAHASA ISYARAT MENGGUNAKAN ALGORITMA YOLO VERSI 8,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 12, no. 3, Aug. 2024, doi: 10.23960/jitet.v12i3.4904.
I. Topan Adib Amrulloh et al., “EVALUASI AUGMENTASI DATA PADA DETEKSI PENYAKIT DAUN TEBU DENGAN YOLOV8,” 2024.
Z. Li, Y. Zhu, S. Sui, Y. Zhao, P. Liu, and X. Li, “Real-time detection and counting of wheat ears based on improved YOLOv7,” Comput. Electron. Agric., vol. 218, Mar. 2024, doi: 10.1016/j.compag.2024.108670.
A. Hidayah, S. Zuhriyah, B. E. W. Asrul, Yuyun, and E. Prakasa, “Integration of YOLOv5 Algorithm and OpenCV in Innovative Smart Parking Management Approach,” Jurnal RESTI, vol. 8, no. 3, pp. 413–422, Jun. 2024, doi: 10.29207/resti.v8i3.5728.
A. Kerem Güler and A. Musa, “Real-Time Table Occupancy Detection in Restaurants Using Object Detection and Computer Vision Techniques,” Journal of Artificial Intelligence and Data Science (JAIDA), vol. 5, no. 1, pp. 12–27, 2025, [Online]. Available: https://dergipark.org.tr/pub/jaida
A. R. Amanullah, D. Rudhistiar, and N. Vendyansyah, “IMPLEMENTASI SISTEM DETEKSI PELANGGAN DAN MAKANAN MENGGUNAKAN METODE YOLO PADA RESTORAN BERSAMA JAYA,” 2025.
F. M. Talaat and H. ZainEldin, “An improved fire detection approach based on YOLO-v8 for smart cities,” Neural Comput. Appl., vol. 35, no. 28, pp. 20939–20954, Oct. 2023, doi: 10.1007/s00521-023-08809-1.
M. A. Fahrezi and E. P. Widiyanto, “Implementasi YOLOv8 Dalam Penghitung Masuk Dan Keluar Manusia Pada Gedung,” Jurnal Teknik Informatika dan Sistem Informasi, vol. 11, no. 3, 2024, [Online]. Available: http://jurnal.mdp.ac.id
L. Susanti, N. K. Daulay, and B. Intan, “Sistem Absensi Mahasiswa Berbasis Pengenalan Wajah Menggunakan Algoritma YOLOv5,” JURIKOM (Jurnal Riset Komputer), vol. 10, no. 2, p. 640, Apr. 2023, doi: 10.30865/jurikom.v10i2.6032.
D. G. Manurung et al., “Deteksi Dan Klasifikasi Hama Potato Beetle Pada Tanaman Kentang Menggunakan YOLOV8,” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 11, no. 4, pp. 723–734, Aug. 2024, doi: 10.25126/jtiik.1148092.
N. Sujana, M. Malik Mutoffar, and A. Azzam Haryanto, “ANALISIS KINERJA YOLOV8 OPTIMALISASI ROBOFLOW UNTUK DETEKSI EKSPRESI WAJAH EMOSIONAL DENGAN MACHINE LEARNING,” vol. 06, 2024.
L. Suroiyah, Y. Rahmawati, and R. Dijaya, “FACEMASK DETECTION USING YOLO V5,” Jurnal Teknik Informatika (Jutif), vol. 4, no. 6, pp. 1277–1286, Dec. 2023, doi: 10.52436/1.jutif.2023.4.6.1043.
B. Ma et al., “Using an improved lightweight YOLOv8 model for real-time detection of multi-stage apple fruit in complex orchard environments,” Artificial Intelligence in Agriculture, vol. 11, pp. 70–82, Mar. 2024, doi: 10.1016/j.aiia.2024.02.001.
D. Nimma et al., “Object detection in real-time video surveillance using attention based transformer-YOLOv8 model,” Alexandria Engineering Journal, vol. 118, pp. 482–495, Apr. 2025, doi: 10.1016/j.aej.2025.01.032.
N. Akbar and A. Rahman, “Pengaruh Image Size pada Penghitung Jumlah Orang Dalam Ruangan Menggunakan Metode YOLOv8,” Jurnal Algoritme, vol. 5, no. 2, pp. 176–187, Apr. 2025, doi: 10.35957/algoritme.v5i2.9035.
Downloads
Additional Files
Posted
Categories
License
Copyright (c) 2026 UMSIDA Preprints Server

This work is licensed under a Creative Commons Attribution 4.0 International License.