Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 May;65(3):638-651.
doi: 10.5187/jast.2023.e41. Epub 2023 May 31.

Estimating vegetation index for outdoor free-range pig production using YOLO

Affiliations

Estimating vegetation index for outdoor free-range pig production using YOLO

Sang-Hyon Oh et al. J Anim Sci Technol. 2023 May.

Abstract

The objective of this study was to quantitatively estimate the level of grazing area damage in outdoor free-range pig production using a Unmanned Aerial Vehicles (UAV) with an RGB image sensor. Ten corn field images were captured by a UAV over approximately two weeks, during which gestating sows were allowed to graze freely on the corn field measuring 100 × 50 m2. The images were corrected to a bird's-eye view, and then divided into 32 segments and sequentially inputted into the YOLOv4 detector to detect the corn images according to their condition. The 43 raw training images selected randomly out of 320 segmented images were flipped to create 86 images, and then these images were further augmented by rotating them in 5-degree increments to create a total of 6,192 images. The increased 6,192 images are further augmented by applying three random color transformations to each image, resulting in 24,768 datasets. The occupancy rate of corn in the field was estimated efficiently using You Only Look Once (YOLO). As of the first day of observation (day 2), it was evident that almost all the corn had disappeared by the ninth day. When grazing 20 sows in a 50 × 100 m2 cornfield (250 m2/sow), it appears that the animals should be rotated to other grazing areas to protect the cover crop after at least five days. In agricultural technology, most of the research using machine and deep learning is related to the detection of fruits and pests, and research on other application fields is needed. In addition, large-scale image data collected by experts in the field are required as training data to apply deep learning. If the data required for deep learning is insufficient, a large number of data augmentation is required.

Keywords: Image analysis; Outdoor; Pig; Production; Vegetation index.

PubMed Disclaimer

Conflict of interest statement

No potential conflict of interest relevant to this article was reported.

Figures

Fig. 1.
Fig. 1.. The YOLO detection system.
Fig. 2.
Fig. 2.. Original images used for the analysis.
Fig. 3.
Fig. 3.. Example of image correction.
Fig. 4.
Fig. 4.. 4×8 split images.
Fig. 5.
Fig. 5.. Raw training images.
Fig. 6.
Fig. 6.. Data augmentation.
Fig. 7.
Fig. 7.. YOLO detection.
Fig. 8.
Fig. 8.. Number of Anchors vs. Mean IoU.
Fig. 9.
Fig. 9.. Recall results after training.
Fig. 10.
Fig. 10.. System configuration.
Fig. 11.
Fig. 11.. The degree of occupancy of corn by date.

Similar articles

Cited by

References

    1. Jang JC, Oh SH. Management factors affecting gestating sows’ welfare in group housing systems — a review. Anim Biosci. 2022;35:1817–26. doi: 10.5713/ab.22.0289. - DOI - PMC - PubMed
    1. Choi W, Nassif N, Whitley N, Oh SH. Comparison of temperature and humidity in three types of outdoor farrowing huts. Appl Eng Agric. 2014;30:241–7. doi: 10.13031/aea.30.10014. - DOI
    1. Park HS, Min B, Oh SH. Research trends in outdoor pig production — a review. Asian-Australas J Anim Sci. 2017;30:1207–14. doi: 10.5713/ajas.17.0330. - DOI - PMC - PubMed
    1. Park HS, Oh SH. Seasonal variation in growth of Berkshire pigs in alternative production systems. Asian-Australas J Anim Sci. 2017;30:749–54. doi: 10.5713/ajas.16.0587. - DOI - PMC - PubMed
    1. NRCS [Natural Resources Conservation Service] North Carolina technical note: conservation planning guidelines for outdoor swine operations [Internet] 2007. https://efotg.sc.egov.usda.gov/references/Delete/2008-7-12/OSOTECHNOTE.pdf [cited 2023 Feb 7]