Jove
Visualize
Contact Us
JoVE
x logofacebook logolinkedin logoyoutube logo
ABOUT JoVE
OverviewLeadershipBlogJoVE Help Center
AUTHORS
Publishing ProcessEditorial BoardScope & PoliciesPeer ReviewFAQSubmit
LIBRARIANS
TestimonialsSubscriptionsAccessResourcesLibrary Advisory BoardFAQ
RESEARCH
JoVE JournalMethods CollectionsJoVE Encyclopedia of ExperimentsArchive
EDUCATION
JoVE CoreJoVE BusinessJoVE Science EducationJoVE Lab ManualFaculty Resource CenterFaculty Site
Terms & Conditions of Use
Privacy Policy
Policies

Related Experiment Videos

Pig Passage Counting Based on Improved YOLO and HMTC Strategy.

Lu Yang1,2, Saisai Wu3, Shuqing Han1,2

  • 1Agricultural Information Institute, Chinese Academy of Agricultural Sciences, Beijing 100081, China.

Animals : an Open Access Journal From MDPI
|July 15, 2026
PubMed
Summary

Related Concept Videos

Optimal Foraging00:48

Optimal Foraging

How animals obtain and eat their food is called foraging behavior. Foraging can include searching for plants and hunting for prey and depends on the species and environment.

You might also read

Related Articles

Articles linked to this work by shared authors, journal, and citation graph.

Sort by
Same author

Relationship Between Xonotlite Crystallite Size and Strength Degradation of Silica-Enriched Oil Well Cement Under 240 °C Curing Conditions.

Materials (Basel, Switzerland)·2026
Same author

Mechanistic insights into hexavalent chromium-induced ferroptosis in mRTECs: a novel MTF1-IREB2-FTH1/DMT1 axis-mediated iron homeostasis dysregulation.

Journal of advanced research·2026
Same author

Phenol-soluble modulin alpha (PSMα) mediates autophagy induction and intracellular survival of <i>Staphylococcus Aureus</i> in bovine mammary epithelial cells.

The veterinary quarterly·2026
Same author

Photodynamic therapy: A paradigm shift in overcoming drug‑resistant tuberculosis (Review).

Molecular medicine reports·2026
Same author

Near-surface ground ice map of the Northern Hemisphere.

Science bulletin·2026
Same author

SLC7A11-FUNDC1 axis drives Cr(VI)-Induced renal injury through mitophagy-ferroptosis crosstalk.

Free radical biology & medicine·2026

Accurate pig counting is crucial for livestock management. This study introduces an improved YOLO model and a Hysteresis-based Multi-frame Temporal Confirmation Counting Strategy (HMTC) for precise, real-time pig passage counting in swine production.

Area of Science:

  • Agricultural Engineering
  • Computer Vision
  • Animal Science

Background:

  • Accurate pig counting is essential for efficient large-scale swine production and livestock management.
  • Existing automated counting methods face challenges with bidirectional passages, boundary oscillations, and occlusion in real-world corridor environments.

Purpose of the Study:

  • To develop and validate an integrated system for accurate pig passage counting in swine production.
  • To enhance object detection models for improved accuracy and efficiency in livestock environments.
  • To implement a robust counting strategy that overcomes limitations of existing methods in complex scenarios.

Main Methods:

  • An improved YOLOv11s detection model was developed using RepViT blocks, dynamic upsampling (DySample), and shape-aware bounding box regression (Shape-IoU).
Keywords:
YOLOv11livestock managementobject detectionpig counting

Related Experiment Videos

  • A Hysteresis-based Multi-frame Temporal Confirmation Counting Strategy (HMTC) was integrated to handle bidirectional passages and reduce counting errors.
  • The system was evaluated on nine videos from a single transfer corridor, assessing detection accuracy, parameter efficiency, and real-time performance.
  • Main Results:

    • The enhanced YOLO model achieved a mean Average Precision (mAP50) of 0.982 with 8.28M parameters, a 12.3% reduction from the baseline, while improving detection.
    • The integrated HMTC system demonstrated an overall counting accuracy of 99.21% on the test set.
    • The system achieved real-time performance exceeding 30 FPS on an embedded edge device without compromising counting accuracy.

    Conclusions:

    • The proposed integrated system, combining an enhanced YOLO model and HMTC strategy, provides a cohesive and accurate solution for pig passage counting.
    • The system effectively addresses challenges like bidirectional flow and boundary oscillations, offering a promising foundation for automated animal inventory management.
    • Further validation across diverse farm environments is recommended to broaden the applicability of this automated livestock management technology.