A Method for Enhancing Image Samples of Farmed Animals Based on SAM Image Segmentation

The detection and recognition of farm animals using computer vision-related technologies is an important part of achieving smart agriculture. However, acquiring and annotating a large number of farm animal images is a very challenging task. Therefore, this paper proposes a sample augmentation method based on image segmentation. First, a small dataset of real farm scene images is collected using drones, and the Segment Anything Model (SAM) image segmentation technique is employed to extract source target images of farm animals from these images. The source target images are then subjected to conventional augmentation techniques such as flipping, scaling, and adding noise. Next, the augmented source target images are randomly pasted onto new farm background images to generate new image samples. The augmented and original image datasets were trained and tested on YOLOv5s and YOLOv7 models. The datasets enhanced using the proposed method achieved mAP scores of 87.6 % and 88.8 %, respectively. Compared to the datasets without augmentation, the mAP improved by 1 % and 1.7 %, respectively. The results indicate that the proposed augmentation method effectively enhances the diversity of the dataset, and the trained models exhibit stronger robustness.

Authors

Institutions

Publication Details

Published
2025-04-25
DOI
https://doi.org/10.1109/iccea65460.2025.11103383
Citations
1
Primary Topic
Remote Sensing and Land Use
Type
article
Field-Weighted Citation Impact
1.30
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Method for Enhancing Image Samples of Farmed Animals Based on SAM Image Segmentation

Zhe Kang, Jocelyn F. Villaverde, Yuqing Zhao, Ji Zhang
1 citations
Remote Sensing and Land Use
1.30
article

A Method for Enhancing Image Samples of Farmed Animals Based on SAM Image Segmentation

Zhe Kang, Jocelyn F. Villaverde, Yuqing Zhao, Ji Zhang
article en
1 citations

Abstract

The detection and recognition of farm animals using computer vision-related technologies is an important part of achieving smart agriculture. However, acquiring and annotating a large number of farm animal images is a very challenging task. Therefore, this paper proposes a sample augmentation method based on image segmentation. First, a small dataset of real farm scene images is collected using drones, and the Segment Anything Model (SAM) image segmentation technique is employed to extract source target images of farm animals from these images. The source target images are then subjected to conventional augmentation techniques such as flipping, scaling, and adding noise. Next, the augmented source target images are randomly pasted onto new farm background images to generate new image samples. The augmented and original image datasets were trained and tested on YOLOv5s and YOLOv7 models. The datasets enhanced using the proposed method achieved mAP scores of 87.6 % and 88.8 %, respectively. Compared to the datasets without augmentation, the mAP improved by 1 % and 1.7 %, respectively. The results indicate that the proposed augmentation method effectively enhances the diversity of the dataset, and the trained models exhibit stronger robustness.

Mapúa University (PH), Zhaoqing University (CN)
Zero hunger
Openalex Percentile: Top 19%
Remote Sensing and Land Use
1.30
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Method for Enhancing Image Samples of Farmed Animals Based on SAM Image Segmentation — Zhe Kang, Jocelyn F. Villaverde, et al. · (2025) | TGRS Research Map | TGRS