Related Experiment Video
Updated: Sep 11, 2025

Noninvasive, In-pen Approach Test for Laboratory-housed Pigs
Published on: June 5, 2019
An Automatic Ear Temperature Monitoring Method for Group-Housed Pigs Adopting Infrared Thermography
Changzhen Zhang1, Xiaoping Wu1, Deqin Xiao2
1College of Microelectronics and Artificial Intelligence, Kaili University, Kaili 556011, China.
This study developed an automated system using infrared thermography (IRT) to monitor pig ear temperature. The AI model accurately detects pig ears, enabling reliable early health warnings for livestock.
Area of Science:
- Animal Science
- Agricultural Engineering
- Biomedical Engineering
Background:
- Monitoring pig health is crucial for early disease detection and welfare.
- Traditional methods for temperature monitoring can be labor-intensive and stressful for animals.
- Infrared thermography (IRT) offers a non-invasive approach for temperature assessment.
Purpose of the Study:
- To develop an automated monitoring system for group-housed pig ear temperature using IRT.
- To implement a neural network for accurate pig ear detection.
- To establish a reliable method for automatic temperature extraction from pig ears.
Main Methods:
- Utilized SwinStar-YOLO neural network for pig ear recognition.
- Employed morphological image processing and temperature matrix for data extraction.
- Processed a dataset of 3600 images (10,812 pig ears) with 5-fold cross-validation.
- Validated temperature readings against manual measurements.
Main Results:
- The ear detection model achieved 93.74% precision (IoU threshold).
- High correlation coefficients (R2) were found between manual and automated temperatures (0.97 max, 0.88 avg).
- The system demonstrated feasibility and reliability for automated pig ear temperature monitoring.
Conclusions:
- The developed automated IRT system is a feasible and reliable tool for monitoring pig ear temperature.
- This technology can serve as a powerful non-invasive method for early health warnings in pigs.
- The AI-driven approach enhances efficiency and accuracy in livestock health management.
Related Concept Videos
Temperature Measurement Sites
Oral: When assessing oral temperature, the thermometer tip should be placed under the tongue in the posterior sublingual pocket. It offers accurate readings and can be...
Assessing Body Temperature - Tympanic membrane
Step 1: Begin by practicing good hand hygiene to prevent the transmission of microorganisms.
Step 2: Turn on the thermometer and wait until the ready sign appears on the screen to ensure accurate measurement.
Step 3: Slide the probe cover in place to prevent cross-contamination.
Step 4: Instruct the patient to tilt their head to the side for comfort and check for cerumen...
Assessing Body Temperature - Temporal Artery
Step 1: Perform hand hygiene and don a fresh pair of gloves to prevent cross-infection and ensure patient safety.
Step 2: Explain the procedure to the patient to establish trust. Clear communication establishes trust with the patient, ensures they understand what to expect, promotes cooperation, and enhances comfort during the procedure.
Step 3: Assess the patient's...
Equipments Used to Measure Body Temperature
Glass-bulb Thermometer:
Glass-bulb thermometers are hollow glass tubes with a bulb tip containing liquid such as ethanol or mercury. Historically, glass bulb mercury thermometers were the standard device to measure body temperature. Today, mercury thermometers are prohibited in many countries due to the hazardous effects of mercury and the risk of exposure if the glass bulb breaks. In general,...
Assessing Body Temperature - Rectal
Follow these steps for rectal temperature assessment:
Step 1: Perform hand hygiene and don clean gloves to prevent cross-infection.
Step 2: Position the patient in a side-lying position to better visualize the rectal...
Assessing Body Temperature - Axilla
Step 1: Perform hand hygiene and put on clean gloves to maintain infection control and prevent cross-contamination.
Step 2: Prepare the patient by explaining the procedure to ensure understanding and cooperation. Ensure privacy, expose the axilla, and inform the patient that minimal movement is crucial for an accurate reading.
Step 3: Adjust the patient’s clothing to expose only the axilla. It minimizes...

