Buffalo Price Estimation Using YOLOv8 And Image Thresholding

Authors

  • Amelia Informatics, Universitas Sulawesi Barat, Indonesia
  • Wawan Firgiawan Informatics, Universitas Sulawesi Barat, Indonesia
  • Sulfayanti Informatics, Universitas Sulawesi Barat, Indonesia

DOI:

https://doi.org/10.52436/1.jutif.2026.7.1.4749

Keywords:

Buffalo detection, Buffalo price estimation, Image thresholding, YOLOv8

Abstract

The skin color pattern of buffaloes can determine their market price, especially for traditional ceremonial purposes that involve buffaloes. Currently, the pricing of buffaloes is still done subjectively by sellers or buyers, resulting in inconsistencies in price determination. This study proposes the development of a system to estimate the price of buffaloes based on their type and the percentage of light and dark skin, specifically for the Saleko buffalo type. The algorithm used to recognize buffalo types is YOLOv8, which was trained to detect four classes: Lotongboko, Saleko, Bonga, and Other types. The model was trained over 100 epochs using the Adam optimizer and hyperparameters. A thresholding method was applied to identify the percentage of black and white on the Saleko buffalo images that were successfully detected by YOLOv8. If the light skin percentage exceeds 80%, the buffalo is estimated to be worth 800 million rupiah. Otherwise, the Saleko buffalo is estimated at 300 million rupiah. The YOLOv8 training achieved a highest mAP value of 97.8%, with steadily decreasing loss and increasing metrics at each iteration, indicating a successful training process with strong detection performance. The price estimation model achieved an accuracy of 76.3% based on 55 tested images. Estimation errors were caused by low image resolution and poor lighting quality. This study provides insights into the application of technology for buffalo price estimation through digital image processing.

Downloads

Download data is not yet available.

References

Busrayana., Aslina. , Asnawi, and S. Nurani. Sirajuddin, “Identifikasi Karakteristik Ternak Dalam Penentuan Harga Jual Kerbau Di Desa Sumbang Kecamatan Curio Kabupaten Enrekang (Identification of Livestock Characteristics for Selling Price Determination of Buffaloes in Sumbang Village, Curio Sub district, Enrekang District),” Jurnal Ilmu dan Teknologi Peternakan, vol. 5, pp. 32–37, Jul. 2016, doi: https://doi.org/10.20956/jitp.v5i1.128.

D. Narasani, M. Y. Saleh, and R. Fajarina, “Faktor-Faktor Yang Menentukan Harga Jual Kerbau Di Kabupaten Toraja Utara,” JOURNAL OF ACCOUNTING, FINANCE AND SHARIA ACCOUNTING, pp. 691–708, Aug. 2023, doi: 10.56326/access.v1i2.2038.

M. A. A. Suryaalim and A. Fausiah, “Analisis Hirarki Proses Pada Penetapan Harga Kerbau Di Kabupaten Mamasa Provinsi Sulawesi Barat,” Agrovital : Jurnal Ilmu Pertanian, vol. 7, no. 2, 2022, doi: http://dx.doi.org/10.35329/agrovital.v7i2.3561.

J. R. Butu, I. Nurtanio, and A. W. Paundu, “Identification of Different Types of Buffalo Using YOLO Algorithm Based on Computer Vision,” 3rd International Conference on Intelligent Cybernetics Technology and Applications, ICICyTA 2023, pp. 159–164, 2023, doi: 10.1109/ICICyTA60173.2023.10428773.

B. Dave, M. Mori, A. Bathani, and P. Goel, “Wild Animal Detection using YOLOv8,” in Procedia Computer Science, Elsevier B.V., 2023, pp. 100–111. doi: 10.1016/j.procs.2023.12.065.

L. Chen, G. Li, S. Zhang, W. Mao, and M. Zhang, “YOLO-SAG: An improved wildlife object detection algorithm based on YOLOv8n,” Ecol Inform, vol. 83, Nov. 2024, doi: 10.1016/j.ecoinf.2024.102791.

V. M. Araújo et al., “AI-powered cow detection in complex farm environments,” Smart Agricultural Technology, vol. 10, p. 100770, Mar. 2025, doi: 10.1016/j.atech.2025.100770.

A. Setiyadi, E. Utami, and Dhani. Ariatmanto, “Analisa Kemampuan Algoritma YOLOv8 Dalam Deteksi Objek Manusia Dengan Metode Modifikasi Arsitektur,” Jurnal Sains Komputer & Informatika (J-SAKTI, vol. 7, no. 2, pp. 891–901, 2023, doi: http://dx.doi.org/10.30645/j-sakti.v7i2.694.

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.

D. I. Mulyana and R. Ferdiansyah Putra, “Optimasi Deteksi Objek Dengan Segmentasi dan Data Augmentasi Pada Hewan Siput Beracun Menggunakan Algoritma You Only Look Once(YOLO),” Jurnal JTIK ( Teknologi Informasi dan Komunikasi), vol. 8, no. 1, pp. 93–103, Jan. 2024, doi: 10.35870/jti.

B. Meilita and W. Yustanti, “Sistem Deteksi Penyakit Kulit Kucing Menggunakan Algoritma You Only Look Once (YOLO) v8,” JEISBI(Journal of Emerging Information Systems and Business Intelligence), vol. 05, pp. 178–188, 2024, doi: https://doi.org/10.26740/jeisbi.v5i2.60656.

E. U. Armin, A. Purnama Edra, F. I. Alifin, I. Sadidan, I. P. Sary, and U. Latifa, “Performa Model YOLOv8 untuk Deteksi Kondisi Mengantuk pada pengendara mobil,” BRAHMANA: Jurnal Penerapan Kecerdasan Buatan, vol. 5, no. 1, pp. 67–76, Dec. 2023, doi: https://doi.org/10.30645/brahmana.v5i1.279.

Y. P. Iswoyo, Wulanningrum Resty, and Setiawan Ahmad Bagus, “Identifikasi Jenis Burung Menggunakan Yolo8 Berbasis Web Streamlit,” SEMNAS INOTEK (Seminar Nasional Inovasi Teknologi), vol. 8, pp. 8–15, Aug. 2024, doi: https://doi.org/10.29407/inotek.v8i1.4902.

M. I. Maulana and Noviana Rina, “Training Custom Model Deteksi Udang menggunakan YOLOv8,” Jurnal Ilmiah KOMPUTASI, vol. 22, pp. 555–514, Dec. 2023, doi: https://doi.org/10.32409/jikstik.22.4.3526.

W. Firgiawan, Sulfayanti, Nurhalisa, N. Inayah, N. Iriansyah, and Mahmuddin, “Improved Tomato Classification in Industrial Environment Using YOLOv8 and Data Augmentation Techniques,” in International Conference on Internet of Things and Intelligence Systems (IoTaIS), Bali,Indonesia: IEEE, Nov. 2024, pp. 231–236. doi: 10.1109/IoTaIS64014.2024.10799424.

E. B. David, L. Soegiono, and A. Davianti, “Kerbau Toraja: Harga dan Keberlanjutan,” Perspektif Akuntansi, vol. 5, no. 2, pp. 083–103, Jul. 2022, doi: 10.24246/persi.v5i2.p083-103.

I. Mohammad Saleh and A. Asnawi, “Identifikasi Karakteristik Kerbau Belang Yang Menentukan Harga Jual Tertinggi Di Pasar Hewan Bolu Kabupaten Toraja Utara,” Jurnal Ilmu dan Industri Peternakan, vol. 1, pp. 105–190, Jun. 2014, doi: https://doi.org/10.24252/jiip.v1i2.1541.

A. Mannan, N. Amandha, A. Dwiputra Yuga, and A. Fahrul Fakhrurrazy, “Analisis Penjualan Tedong dan Hubungannya dengan Kebudayaan Lokal di Pasar Bolu 1*,” vol. 1, no. 2, pp. 19–30, 2024.

F. Rachmawati and D. Widhyaestoeti, “Deteksi Jumlah Kendaraan di Jalur SSA Kota Bogor Menggunakan Algoritma Deep Learning YOLO,” Bandung, 2020. [Online]. Available: http://pkm.uika-bogor.ac.id/index.php/prosiding/index

T. Wu and Y. Dong, “YOLO-SE: Improved YOLOv8 for Remote Sensing Object Detection and Recognition,” Applied Sciences (Switzerland), vol. 13, no. 24, pp. 2–21, Dec. 2023, doi: 10.3390/app132412977.

A. S. Riyadi, I. P. Wardhani, M. S. Wulandari, and S. Widayati, “Perbandingan Metode ResNet, YoloV3, dan TinyYoloV3 pada Deteksi Citra dengan Pemrograman Python,” PETIR (Jurnal Pengkajian dan Penerapan Teknik Informatika), vol. 15, no. 1, pp. 135–144, Jan. 2022, doi: 10.33322/petir.v15i1.1302.

. Yuniarno , Eko Mulyanto,. dan Zaini, Ahmad Khairunnas, “Pembuatan Modul Deteksi Objek Manusia Menggunakan Metode YOLO untuk Mobile Robot,” JURNAL TEKNIK ITS (Institut Teknologi Sepuluh Nopember), vol. 10, 2021, doi: 10.12962/j23373539.v10i1.61622.

K. A. Baihaqi and Y. Cahyana, “Application of Convolution Neural Network Algorithm for Rice Type Detection Using Yolo v3,” SYSTEMATICS, vol. 3, no. 2, pp. 272–280, Aug. 2021, doi: https://doi.org/10.35706/sys.v3i2.5874.

Q. Aini, N. Lutfiani, H. Kusumah, and M. S. Zahran, “Deteksi Dan Pengenalan Objek Dengan Model Machine Learning: Model Yolo,” CESS (Journal of Computer Engineering System and Science), vol. 6, no. 2, pp. 2502–714, Jul. 2021, doi: https://doi.org/10.24114/cess.v6i2.25840.

Yanto, F. Aziz, and Irmawati, “Yolo-V8 Peningkatan Algoritma Untuk Deteksi Pemakaian Masker Wajah,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 7, pp. 1437–1444, Jun. 2023, doi: https://doi.org/10.36040/jati.v7i3.7047.

R. Fauzi, B. Purnama, and B. Erfianto, “Transfer Learning pada Estimasi Pose Hewan Menggunakan YoloV8 dan Fine-Tuning,” e-Proceeding of Engineering, vol. 11, p. 5026, Aug. 2024, [Online]. Available: https://openlibrarypublications.telkomuniversity.ac.id/index.php/engineering/article/view/24108

P. Hidayatullah, N. Syakrani, M. R. Sholahuddin, T. Gelar, and R. Tubagus, “YOLOv8 to YOLO11: A Comprehensive Architecture In-depth Comparative Review A PREPRINT,” Bandung, Jan. 2025. doi: https://doi.org/10.48550/arXiv.2501.13400.

A. N. Sugandi and B. Hartono, “Implementasi Pengolahan Citra pada Quadcopter untuk Deteksi Manusia Menggunakan Algoritma YOLO,” Prosiding The 13th Industrial Research Workshop and National Seminar Bandung, pp. 183–188, Jul. 2022, [Online]. Available: https://jurnal.polban.ac.id/proceeding/article/view/4186

K. S. Witanto, N. A. Sanjaya ER, A. E. Karyawati, I. G. A. G. A. Kadyanan, I. K. G. Suhartana, and L. G. Astuti, “Implementasi LSTM Pada Analisis Sentimen Review Film Menggunakan Adam Dan RMSprop Optimizer,” JELIKU (Jurnal Elektronik Ilmu Komputer Udayana), vol. 10, no. 4, p. 351, Jun. 2022, doi: 10.24843/jlk.2022.v10.i04.p05.

B. Irawan, N. Andono, and R. Suko Basuki, “Optimization of Yolov5 Hyperparameter Using Adam Optimizer in Vehicle Object Detection,” Journal of Applied Intelligent System, vol. 9, no. 1, pp. 40–50, 2024, doi: https://doi.org/10.62411/jais.v9i1.924.

Ultralytics, “Ultralytics YOLO Hyperparameter Tuning Guide,” Ultralytics. Accessed: May 13, 2025. [Online]. Available: https://docs.ultralytics.com/guides/hyperparameter-tuning/#what-are-the-licensing-options-available-for-ultralytics-yolo

S. Palete, “Retribusi Pemotongan Hewan Sebagai Salah Satu Sumber Pendapatan Daerah: Studi Kasus Upacara Adat Rambu Solo’ Di Tana Toraja,” Accounting, Accountability and Organization System (AAOS) Journal E-ISSN, vol. 4, no. 2, pp. 165–180, Mar. 2023, doi: https://doi.org/10.47354/aaos.v4i2.50.

J. Jumadi and D. Sartika, “Pengolahan Citra Digital Untuk Identifikasi Objek Menggunakan Metode Hierarchical Agglomerative Clustering,” Jurnal Sains dan Teknologi, vol. 10, pp. 148–156, 2021, doi: https://doi.org/10.23887/jstundiksha.v10i2.33636.

S. Bhahri and rachmat, “Transformasi Citra Biner Menggunakan Metode Thresholding Dan Otsu Thresholding,” JURNAL SISTEM INFORMASI DAN TEKNOLOGI INFORMASI, vol. 7, no. 2, pp. 195–203, Oct. 2018, doi: https://doi.org/10.36774/jusiti.v7i2.25.

D. Lasmaria Simangunsong and Wanayumini, “Segementasi Citra Pada Citra Asli Buah Jeruk Berdasarkan Nilai Thresholding,” Journal of Science and Social Research, vol. 8, no. 1, pp. 751–756, 2025, doi: https://doi.org/10.54314/jssr.v8i1.249.

Additional Files

Published

2026-02-15

How to Cite

[1]
A. Amelia, W. . Firgiawan, and S. Sulfayanti, “Buffalo Price Estimation Using YOLOv8 And Image Thresholding”, J. Tek. Inform. (JUTIF), vol. 7, no. 1, pp. 93–109, Feb. 2026.