• Login
    View Item 
    •   USU-IR Home
    • Faculty of Agriculture
    • Department of Agricultural Engineering and Biosystem
    • Undergraduate Theses
    • View Item
    •   USU-IR Home
    • Faculty of Agriculture
    • Department of Agricultural Engineering and Biosystem
    • Undergraduate Theses
    • View Item
    JavaScript is disabled for your browser. Some features of this site may not work without it.

    Penerapan image processing untuk mengetahui tingkat kematangan buah kopi menggunakan algoritma k-nearest neighbor (knn)

    Application of Image Processing to Determine The Level Of Ripeness Of Coffee Beans Using The K-NEAREST NEIGHBOR (KNN) Algorithm

    Thumbnail
    View/Open
    Cover (1.837Mb)
    Fulltext (2.659Mb)
    Date
    2025
    Author
    Umam, Rio Imammul
    Advisor(s)
    Harahap, Lukman Adlin
    Metadata
    Show full item record
    Abstract
    Indonesia, as one of the world’s largest coffee producers, requires a more objective method for selecting coffee cherries, since manual assessment is still subjective and inefficient. This study develops an automatic classification system for coffee ripeness using image processing with the HSV color model and the KNearest Neighbor (KNN) algorithm. A total of 300 coffee cherry images (unripe, half-ripe, ripe) were processed through HSV feature extraction, and classification with KNN (K=3) under three data split scenarios: 90:10, 80:20, and 70:30. Evaluation metrics included accuracy, precision, recall, and F1-score. The best performance was achieved at the 90:10 split with 90% accuracy, while 80:20 and 70:30 produced 83.33% and 81.11%. The half-ripe class was classified most consistently, while errors occurred more frequently in the ripe class. This study demonstrates that combining HSV and KNN is effective for classifying coffee ripeness and has potential to replace manual methods to improve harvest quality.
    URI
    https://repositori.usu.ac.id/handle/123456789/109646
    Collections
    • Undergraduate Theses [1054]

    Repositori Institusi Universitas Sumatera Utara - 2025

    Universitas Sumatera Utara

    Perpustakaan

    Resource Guide

    Katalog Perpustakaan

    Journal Elektronik Berlangganan

    Buku Elektronik Berlangganan

    DSpace software copyright © 2002-2016  DuraSpace
    Contact Us | Send Feedback
    Theme by 
    Atmire NV
     

     

    Browse

    All of USU-IRCommunities & CollectionsBy Issue DateTitlesAuthorsAdvisorsKeywordsTypesBy Submit DateThis CollectionBy Issue DateTitlesAuthorsAdvisorsKeywordsTypesBy Submit Date

    My Account

    LoginRegister

    Repositori Institusi Universitas Sumatera Utara - 2025

    Universitas Sumatera Utara

    Perpustakaan

    Resource Guide

    Katalog Perpustakaan

    Journal Elektronik Berlangganan

    Buku Elektronik Berlangganan

    DSpace software copyright © 2002-2016  DuraSpace
    Contact Us | Send Feedback
    Theme by 
    Atmire NV