Claim Missing Document
Check
Articles

Found 2 Documents
Search
Journal : Syntax: Journal of Software Engineering, Computer Science and Information Technology

ANALISIS PERFORMA METODE YOLO DAN VIOLA-JONES PADA APLIKASI DETEKSI KANTUK Ritonga, Alven Safik; Muhandhis, Isnaini
Syntax : Journal of Software Engineering, Computer Science and Information Technology Vol 5, No 2 (2024): Desember 2024
Publisher : Universitas Dharmawangsa

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.46576/syntax.v5i2.5404

Abstract

Pendeteksian kantuk merupakan hal penting dalam menjaga keselamatan, terutama dalam konteks transportasi dan lingkungan kerja. Dalam upaya untuk mengembangkan aplikasi pendeteksi kantuk yang efektif, metode-metode berbasis visi komputer, seperti YOLO (You Only Look Once) dan Viola-Jones, telah menjadi fokus penelitian yang signifikan. Penelitian ini bertujuan untuk membandingkan performa kedua metode tersebut dalam aplikasi pendeteksi kantuk berbasis website. Pendekatan pemecahan masalah yang terstruktur digunakan untuk mengidentifikasi kelebihan dan kekurangan dari masing-masing metode. Evaluasi dilakukan menggunakan kriteria seperti akurasi deteksi, kecepatan pemrosesan, efisiensi sumber daya, dan robustness terhadap variasi kondisi lingkungan. Data yang digunakan dalam penelitian ini meliputi dataset video dan gambar yang mencakup berbagai kondisi pencahayaan dan posisi wajah. Kedua  metode YOLO dan Viola-Jones menggunakan dataset, algoritma untuk klasifikasi menggunakan CNN (Convolutional Neural Network) dan jumlah epoch  yang sama. training metode Viola-Jones lebih cepat, 13 menit 37 detik. Dibandingkan dengan metode Yolo membutuhkan waktu 400 menit. Perbandingan keakurasian kedua metode, nilai metrik Viola-Jones 0,9 lebih besar dibandingkan metode Yolo 0,75, berarti metode Viola-Jones memiliki ketepatan yang tinggi dalam mengklasifikasi kondisi “kantuk”. Nilai metrik Recall Viola-Jones 0,88 lebih besar dibandingkan metode Yolo 0,75. Nilai metrik F1-score Viola-Jones 0,88 lebih besar dibandingkan metode Yolo 0,70, hal ini menunjukkan performa model metode Viola-Jones cukup baik dalam mendeteksi kondisi "kantuk”. Kata Kunci: Deteksi Kantuk, Metode YOLO, Metode Viola-Jones, Visi Komputer, Performa Algoritma. ABSTRACT Drowsiness detection is a crucial aspect of ensuring safety, particularly in the contexts of transportation and work environments. In the effort to develop an effective drowsiness detection application, computer vision-based methods such as YOLO (You Only Look Once) and Viola-Jones have become significant research focuses. This study aims to compare the performance of these two methods in a web-based drowsiness detection application. A structured problem-solving approach is employed to identify the strengths and weaknesses of each method. The evaluation is conducted using criteria such as detection accuracy, processing speed, resource efficiency, and robustness to environmental condition variations. The data used in this study include video and image datasets covering various lighting conditions and facial positions. Both the YOLO and Viola-Jones methods utilize the same dataset, classification algorithm (Convolutional Neural Network or CNN), and number of epochs. The training time for the Viola-Jones method is faster, taking 13 minutes and 37 seconds, compared to YOLO, which requires 400 minutes. In terms of accuracy, Viola-Jones achieves a metric value of 0.9, which is higher than YOLO's 0.75, indicating that the Viola-Jones method is more precise in classifying “drowsiness” conditions. The Recall metric for Viola-Jones is 0.88, surpassing YOLO's 0.75. Similarly, the F1-score for Viola-Jones is 0.88, greater than YOLO's 0.70. These results demonstrate that the Viola-Jones method performs well in detecting “drowsiness” conditions.Keywords: Drowsiness Detection, YOLO Method, Viola-Jones Method, Computer Vision, Algorithm Performance.
EVALUASI KINERJA YOLO V8 DAN SSD DALAM DETEKSI REAL-TIME SAMPAH BOTOL PLASTIK BERBASIS DEEP LEARNING Ritonga, Alven Safik; Widhiyanta, Nurwahyudi; Kusnanti, Eka Alifia
Syntax : Journal of Software Engineering, Computer Science and Information Technology Vol 6, No 2 (2025): Desember 2025
Publisher : Universitas Dharmawangsa

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.46576/syntax.v6i2.8020

Abstract

Sampah botol plastik merupakan salah satu fraksi paling dominan dalam timbunan sampah kota dan berkontribusi besar terhadap pencemaran lingkungan. Laporan global memperkirakan jutaan ton plastik masuk ke ekosistem perairan setiap tahun dan jumlah ini terus meningkat. Deteksi otomatis botol plastik menggunakan object detection berbasis deep learning menjadi pendekatan yang menjanjikan untuk mendukung aplikasi smart waste management seperti smart bin dan reverse vending machine. Penelitian ini mengevaluasi dan membandingkan kinerja YOLOv8 dan Single Shot MultiBox Detector (SSD) untuk deteksi real-time sampah botol plastik. Dataset yang digunakan merupakan gabungan 4.827 citra eksternal dan 251 citra internal, yang kemudian diaugmentasi menjadi lebih dari 10.000 sampel dan dianotasi untuk satu kelas bottle. Model YOLOv8 dilatih di Google Colab dengan GPU T4, sedangkan SSD diuji pada laptop berbasis CPU dalam dua skenario: (1) SSD-COCO menggunakan model pretrained umum, dan (2) SSD-Kustom yang di-fine-tune menggunakan dataset botol plastik. Hasil eksperimen menunjukkan bahwa YOLOv8 mencapai mAP@0,5 ≈ 0,984 untuk kelas botol dengan kurva precision–recall yang stabil. SSD-COCO menghasilkan sekitar 5 FPS di CPU, namun hanya mampu mendeteksi botol pada 4,07% dari 18.755 frame uji. Sebaliknya, SSD-Kustom mempertahankan FPS yang sebanding tetapi mendeteksi botol pada 100% dari 2.154 frame dengan rata-rata ≈171 deteksi per detik, yang mengindikasikan sensitivitas tinggi namun disertai gejala over-detection. Secara keseluruhan, YOLOv8 memberikan keseimbangan terbaik antara akurasi dan stabilitas, sedangkan SSD-Kustom berpotensi menjadi alternatif pada perangkat CPU-only setelah optimasi lanjutan terhadap confidence threshold dan non-maximum suppression.Kata Kunci— Sampah botol plastik, deteksi objek, YOLOv8, SSD, deep learning, real-time.ABSTRACT Plastic bottle waste is one of the most dominant fractions of municipal solid waste and contributes significantly to environmental pollution. Global reports estimate that millions of tons of plastic are discharged into aquatic ecosystems every year, with a steadily increasing trend. Automatic detection of plastic bottles using deep learning–based one-stage object detectors is a promising approach to support smart waste management applications such as smart bins and reverse vending machine. This study evaluates and compares the performance of YOLOv8 and Single Shot MultiBox Detector (SSD) for real-time plastic bottle detection. The dataset combines 4,827 external images and 251 internally acquired images, which are then augmented to more than 10,000 samples and annotated for a single bottle class. YOLOv8 is trained on Google Colab with a T4 GPU, while SSD is evaluated in two scenarios on a CPU laptop: (1) SSD-COCO using a generic pretrained model, and (2) SSD-Custom fine-tuned on the plastic bottle dataset. Experimental results show that YOLOv8 achieves mAP@0.5 ≈ 0.984 for the bottle class with high precision–recall stability. SSD-COCO reaches about 5 FPS on CPU but detects bottles in only 4.07% of 18,755 tested frames. In contrast, SSD-Custom maintains similar FPS, but detects bottles in 100% of 2,154 frames with an average of ≈171 detections per second, indicating strong sensitivity but also over-detection. Overall, YOLOv8 provides the best balance of accuracy and stability, whereas SSD-Custom becomes a viable alternative for CPU-only deployment after further optimization of confidence threshold and non-maximum suppression.Keywords— Plastic bottle waste, object detection, YOLOv8, SSD, deep learning, real-time.