CFP last date
22 September 2025
Call for Paper
October Edition
IJCA solicits high quality original research papers for the upcoming October edition of the journal. The last date of research paper submission is 22 September 2025

Submit your paper
Know more
Random Articles
Reseach Article

An Integrated Mask R-CNN and Domain Aware RAG-Enabled LLM Framework for Livestock Disease Detection and Care Recommendation

by Iyinoluwa Moyosola Oyelade, Chukwuemeka Christian Ugwu, Ilobekemen Perpetual Oladoja, Tolulope Anthonia Ugwu, Racheal Shade Akinbo, Ibrahim Akindeji Makinde, Oyetayo Bolanle Faluyi
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 187 - Number 33
Year of Publication: 2025
Authors: Iyinoluwa Moyosola Oyelade, Chukwuemeka Christian Ugwu, Ilobekemen Perpetual Oladoja, Tolulope Anthonia Ugwu, Racheal Shade Akinbo, Ibrahim Akindeji Makinde, Oyetayo Bolanle Faluyi
10.5120/ijca2025925602

Iyinoluwa Moyosola Oyelade, Chukwuemeka Christian Ugwu, Ilobekemen Perpetual Oladoja, Tolulope Anthonia Ugwu, Racheal Shade Akinbo, Ibrahim Akindeji Makinde, Oyetayo Bolanle Faluyi . An Integrated Mask R-CNN and Domain Aware RAG-Enabled LLM Framework for Livestock Disease Detection and Care Recommendation. International Journal of Computer Applications. 187, 33 ( Aug 2025), 25-36. DOI=10.5120/ijca2025925602

@article{ 10.5120/ijca2025925602,
author = { Iyinoluwa Moyosola Oyelade, Chukwuemeka Christian Ugwu, Ilobekemen Perpetual Oladoja, Tolulope Anthonia Ugwu, Racheal Shade Akinbo, Ibrahim Akindeji Makinde, Oyetayo Bolanle Faluyi },
title = { An Integrated Mask R-CNN and Domain Aware RAG-Enabled LLM Framework for Livestock Disease Detection and Care Recommendation },
journal = { International Journal of Computer Applications },
issue_date = { Aug 2025 },
volume = { 187 },
number = { 33 },
month = { Aug },
year = { 2025 },
issn = { 0975-8887 },
pages = { 25-36 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume187/number33/an-integrated-mask-r-cnn-and-domain-aware-rag-enabled-llm-framework-for-livestock-disease-detection-and-care-recommendation/ },
doi = { 10.5120/ijca2025925602 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2025-08-20T21:35:37.037652+05:30
%A Iyinoluwa Moyosola Oyelade
%A Chukwuemeka Christian Ugwu
%A Ilobekemen Perpetual Oladoja
%A Tolulope Anthonia Ugwu
%A Racheal Shade Akinbo
%A Ibrahim Akindeji Makinde
%A Oyetayo Bolanle Faluyi
%T An Integrated Mask R-CNN and Domain Aware RAG-Enabled LLM Framework for Livestock Disease Detection and Care Recommendation
%J International Journal of Computer Applications
%@ 0975-8887
%V 187
%N 33
%P 25-36
%D 2025
%I Foundation of Computer Science (FCS), NY, USA
Abstract

Livestock diseases significantly impact agricultural productivity, food security, and rural livelihoods, especially in regions like Nigeria where livestock farming is vital. Traditional diagnostic methods are often inaccessible or delayed in resource-limited settings, leading to unchecked disease spread and economic losses. This paper proposes an innovative framework combining deep learning techniques with a care recommendation system to facilitate early and accurate detection of prevalent livestock diseases such as Foot and Mouth Disease (FMD), Peste des Petits Ruminants (PPR), Bovine Fasciolosis, and Tick-borne Diseases. Using a comprehensive dataset of over 20,000 labeled images collected from veterinary sources and farms, a Mask R-CNN based model is designed to identify species-specific disease symptoms in cattle, goats, and sheep. The system integrates with a cloud-based large language model leveraging retrieval augmented generation (RAG) to provide tailored, actionable care advice, including treatment, and preventive measures. This approach aims to empower farmers with timely diagnostics and management strategies to mitigate disease impact, thereby enhancing livestock health, productivity, and overall food security.

References
  1. Adejoh, V., Pam, V., Uzoigwe, N., Naphtali, R.,Yohanna, J., Pam, R. and Ombugadu, A. (2019). A survey of ticks and tick-borne parasites in commercial cattle at Lafia, Nasarawa State, Nigeria. Nigerian Journal of Parasitology, 40(2).
  2. Agbajelola, V. and Agbajelola, B. (2025). A Systematic Review and Meta-analysis on the Prevalence of Bovine Fascioliasis in Nigeria. Acta Parasit. 70(1), 57. https://doi.org/10.1007/s11686-025-00991-7
  3. Ahmad M., Khan M., Mustafa, E., Ajaz, R., Azam, Iqbal, M., Shah, S. and Umair, M. (2025). Evaluating The Diagnostic Efficacy of RT-PCR and Immunohistochemistry for Peste Des Petits Ruminants in Goats: Insights Into Age-Related Susceptibility In Endemic Regions Of Pakistan. 11(1), 9-21.
  4. Akash (2023). Cattle Disease Detection Using Machine Learning Techniques. International Research Journal of Modernization in Engineering Technology and Science, 5(5), https://www.DOI.org/10.56726/IRJMETS39343, e-ISSN: 2582-5208.
  5. Algezoli, O., Kamal, S., Raouf, Y., Mozdalifa, A., Ali, H., Aljameel, M., Selkhatim, S., Ahmed, S., Elsied, I., Nouri, T.and Abdalla, M. (2025). Sero-Prevalence of Peste des Petits Ruminants Virus Antibodies in Sudanese Sheep and Goats before and after Vaccination. Journal of Biosciences and Medicines, 13(1), 21-40.
  6. Casella E., Melissa C. Cantor, Megan M Woodrum Setser, Simone Silvestri and Joao H.C. Costa (2023). A Machine Learning and Optimization Framework for the Early Diagnosis of Bovine Respiratory Disease. IEEE Access DOI: 10.1109/ACCESS.2023.3291348
  7. Chollet, F. (2018). Deep Learning with Python. New York: Manning Publications Co.
  8. Fadul-Pacheco, L., Delgado, H. and Cabrera, V.(2021). Exploring machine learning algorithms for early prediction of clinical mastitis. International Dairy Journal, 119, 105051.
  9. Food and Agriculture Organization of the United Nations. (2021). The State of Food and Agriculture 2021: Making agrifood systems more resilient to shocks and stresses. Rome: Food and Agriculture Organization of the United Nations. https://www.fao.org/3/cb4476en/cb4476en.pdf
  10. Girmaw D. (2025). Livestock animal skin disease detection and classification using deep learning approaches. Biomedical Signal Processing and Control,102, 107331.
  11. Hamdy, A., Ahmed, B., Fayed, A. and Refaai, O. (2025). Determination of Peste Des Petits Ruminants Seroprevalence in Large Ruminants in Egypt with Analysis of Associated Risk Factors in Buffaloes, Egyptian Journal of Veterinary Sciences, 1-7.
  12. Kaur, D. and Virk, A. (2025). Smart neck collar: IoT-based disease detection and health monitoring for dairy cows. Discover Internet of Things, 5(1), 12.
  13. Krizhevsky, A., Sutskever, I. and Hinton, G. (2012). ImageNet classification with deep convolutional neural networks. NIPS. Retrieved June 25, 2018, from https://www.nvidia.cn/content/tesla/pdf/machine-learning/imagenet-classification-with-deep-convolutional-nn.pdf
  14. Lardy, R., Ruin, Q. and Veissier, I. (2023). Discriminating pathological, reproductive or stress conditions in cows using machine learning on sensor-based activity data. Computers and Electronics in Agriculture, 204, 107556.
  15. Magana, J., Gavojdian, D., Menahem, Y., Lazebnik, T., Zamansky, A. and Adams-Progar, A. (2023). Machine learning approaches to predict and detect early-onset of digital dermatitis in dairy cows using sensor data. Frontiers in Veterinary Science, 10, 1295430.
  16. Muhamediyeva, D., Safarova, L. and Ruzikulov, R. (2023). Expert systems for diagnostics of infectious diseases in cattle. In BIO Web of Conferences (Vol. 71, p. 01073). EDP Sciences.
  17. Nadeem, G. and Anis. M. (2024). Investigation of bovine disease and events through machine learning models. Pakistan Journal of Agricultural Research, 37(2), 102-114.
  18. Niazi, M., Khan, S., Nasir, K., Zahoor, S., Latif, A., Abbas, M., Ali, A., Azam, A. and Manzoor, U. (2025). Morphological and Molecular Characterization of Ticks Species Associated with Ruminants in Sargodha Division Pakistan. Scholars Academic Journal of Biosciences, 2, 217-229.
  19. Odeniran, P., Omolabi, K. and Ademola, I. (2020). Economic model of bovine fasciolosis in Nigeria:an update. Tropical Animal Health and Production 52, 3359–3363. https://doi.org/10.1007/s11250-020-02367
  20. Oyelade, I., Boyinbode, O., Adewale, O. and Ibam, E. (2024). Farmland Intrusion Detection using Internet of Things and Computer Vision Techniques. International Journal of Information Technology and Computer Science, 16, 32-44.
  21. Prosser, H., Bortoluzzi, E., Valeris-Chacin, R., Baker, E., and Scott, M. (2025). Application of artificial intelligence and machine learning in bovine respiratory disease prevention, diagnosis, and classification. American Journal of Veterinary Research, 86(1), 1-5.
  22. Yongliang Qiao, Yangyang Guo and Dongjian He (2023). Cattle body detection based on YOLOv5-ASFF for precision livestock farming, Computers and Electronics in Agriculture, Volume 204, January 2023, 107579, https://doi.org/10.1016/j.compag.2022.107579
  23. Sana Rehman, Bhanushikha Rathore and Mr.Roshan Lal (2023). Animal Disease Prediction using Machine Learning Techniques, International Journal for Research in Applied Science & Engineering Technology (IJRASET) ISSN: 2321-9653, Volume 11 Issue VI Jun 2023- Available at www.ijraset.com.
  24. Santos-Silva, S., Cruz, A., Da Silva, P., Bento, J., Almeida, D., Barradas, P. ... and Mesquita, J. (2025). Detection of biliary trematodes in sheep and goats from northern and central Portugal. Veterinarska stanica, 56(4), 1-14.
  25. Shahinfar, S., Khansefid, M., Haile-Mariam, M. and Pryce, J. (2021). Machine learning approaches for the prediction of lameness in dairy cows. Animal, 15(11), 100391.
  26. Steensels, M., Antler, A., Bahr, C., Berckmans, D., Maltz, E. and Halachmi, I. (2016). A decision-tree model to detect post-calving diseases based on rumination, activity, milk yield, BW and voluntary visits to the milking robot. animal, 10(9), 1493-1500.
  27. Wang, J., Wang, Z., Zhang, D. and Yan, J. (2017). Combining Knowledge with Deep Convolutional Neural Networks for Short Text Classification. Twenty-Sixth International Joint Conference on Artificial Intelligence, (pp. 2915-2921).
  28. Zhou, X., Xu, C., Wang, H., Xu, W., Zhao, Z., Chen, M. and Huang, B. (2022). The early prediction of common disorders in dairy cows monitored by automatic systems with machine learning algorithms. Animals, 12(10), 1251.
  29. Muhammad Saqib, S., Iqbal, M., Tahar Ben Othman, M., Shahazad, T., Yasin Ghadi, Y., Al-Amro, S., & Mazhar, T. (2024). Lumpy skin disease diagnosis in cattle: A deep learning approach optimized with RMSProp and MobileNetV2. Plos one, 19(8), e0302862.
  30. Senthilkumar, C., Vadivu, G., & Neethirajan, S. (2024). Early Detection of Lumpy Skin Disease in Cattle Using Deep Learning—A Comparative Analysis of Pretrained Models. Veterinary Sciences, 11(10), 510.
Index Terms

Computer Science
Information Sciences

Keywords

Livestock Farming Animal Disease Agriculture Mask-RCNN Domain-Aware Retrieval Augmented Generation (RAG)