Next Article in Journal
Dead Laying Hens Detection Using TIR-NIR-Depth Images and Deep Learning on a Commercial Farm
Previous Article in Journal
Genomic Characterization of Canis Familiaris Papillomavirus Type 25, a Novel Papillomavirus Associated with a Viral Plaque from the Pinna of a Dog
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Review

Artificial Intelligence for Automatic Monitoring of Respiratory Health Conditions in Smart Swine Farming

1
Animal Nutrition and Feed Science Laboratory, Department of Animal Science and Technology, Sunchon National University, Suncheon 57922, Republic of Korea
2
Interdisciplinary Program in IT-Bio Convergence System (BK21 Plus), Sunchon National University, 255 Jungangno, Suncheon 57922, Republic of Korea
3
Department of Multimedia Engineering, Sunchon National University, Suncheon 57922, Republic of Korea
4
Department of Animal Science, College of Agriculture, Sultan Kudarat State University, Tacurong City 9800, Philippines
5
Interdisciplinary Program in IT-Bio Convergence System (BK21 Plus), Chonnam National University, Gwangju 61186, Republic of Korea
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Animals 2023, 13(11), 1860; https://doi.org/10.3390/ani13111860
Submission received: 27 March 2023 / Revised: 31 May 2023 / Accepted: 31 May 2023 / Published: 2 June 2023
(This article belongs to the Section Animal System and Management)

Abstract

:

Simple Summary

This paper provides a review of recent studies exploring the application of artificial intelligence (AI) in the early detection and monitoring of respiratory disease in swine, emphasizing the significance of early detection for preventing economic losses. The studies primarily focus on utilizing coughing sounds as a feature in disease recognition, comparing different AI models and methodologies. A commercially available AI system that integrates temperature and humidity sensors with audio technologies for respiratory health monitoring through cough-sound identification is also assessed. However, the limitations of the current technology are identified, highlighting the need for further advancements to develop smarter AI solutions for swine respiratory health monitoring.

Abstract

Porcine respiratory disease complex is an economically important disease in the swine industry. Early detection of the disease is crucial for immediate response to the disease at the farm level to prevent and minimize the potential damage that it may cause. In this paper, recent studies on the application of artificial intelligence (AI) in the early detection and monitoring of respiratory disease in swine have been reviewed. Most of the studies used coughing sounds as a feature of respiratory disease. The performance of different models and the methodologies used for cough recognition using AI were reviewed and compared. An AI technology available in the market was also reviewed. The device uses audio technology that can monitor and evaluate the herd’s respiratory health status through cough-sound recognition and quantification. The device also has temperature and humidity sensors to monitor environmental conditions. It has an alarm system based on variations in coughing patterns and abrupt temperature changes. However, some limitations of the existing technology were identified. Substantial effort must be exerted to surmount the limitations to have a smarter AI technology for monitoring respiratory health status in swine.

1. Introduction

Porcine respiratory disease complex (PRDC) is one of the most economically important diseases in the swine industry globally [1]. This disease causes economic losses to the industry through increased mortality, increased production costs due to increased medication and measures to control the disease, increased condemnation in the abattoir, and reductions in growth performance [2]. PRDC is induced by a combination of environmental conditions such as temperature, dust, ammonia, and carbon dioxide and pathogens including porcine reproductive and respiratory syndrome virus (PRRS), porcine circovirus (PCV2) type 2, Actinobacillus pleuropneumonia (APP), Mycoplasma hyopneumoniae (MHP), Mycoplasma hyorhinis (MHR), Pasteurella multocida (PM), Haemophilus parasuis (HPS), etc. [3].
Early detection of the disease is crucial for the early deployment of control measures to prevent further economic losses [4]. In the conventional method, the disease diagnosis is conducted through clinical examination and necropsy of dead or euthanized animals and sample collection during farm visits. However, this method is stressful for the animals and expensive, and the result is not real-time which delays the appropriate intervention. Artificial intelligence (AI) has been used in smart livestock farming for many applications including animal welfare and health detection and monitoring [5,6,7]. AI can detect subtle changes in animals, making it more effective in the early detection of disease compared to the conventional method and without time limitations [8,9].
There are several review articles that have been published regarding the application of artificial intelligence in smart agriculture or in smart livestock farming. However, to the authors’ knowledge, there is no study that specifically discusses the application of AI intelligence in respiratory disease detection and monitoring in swine. Therefore, this study was conducted. As the first topic of this paper, the authors discuss the importance of respiratory disease in the swine industry. Secondly, the authors review studies that were published between 2012 and 2022 about respiratory disease detection in swine using AI. In this section, the performance of different AI models and methodologies used is reviewed and compared. Thirdly, the AI technology available in the market is reviewed. Lastly, the authors discuss the limitations of the existing AI technology and synthesize recommendations for the future development of the technology.

2. Importance of PRDC in the Swine Industry

Global meat production in 2020 reached up to 337 million tons, and pork represented 33% of the total meat production, which makes it the second-largest source of meat among livestock species after poultry meat [10]. According to Komarek et al. [11], the global demand for livestock-derived foods is projected to increase by 38% from 2020 to 2050, driven by population growth and rising incomes in developing countries. It is a challenge for the swine industry to meet the demand for good quality and cheap pork in a situation where global warming is worsening and the prevalence of infectious diseases is increasing.
PRDC is caused by complex factors, including either or a combination of viral (including swine influenza, PRRS, and PCV2) and/or bacterial (including APP, MHP, MHR, PM, and HPS) factors, and is influenced by environmental conditions such as temperature, dust, ammonia, and carbon dioxide [3]. Viral pathogens are the primary causative agent of PRDC that can induce severe lesions and suppress the immune system and attract secondary infection and coinfection with bacteria [12]. The prevalence of PRRS and PCV2 in top pork-producing countries was investigated. In China, the prevalence of PRRS and PCV2 from 2017 to 2021 was 52.04% and 29.75%, respectively [13]; high prevalence was recorded in 56 commercial farms in South Korea with 85.70% and 51.80%, respectively [14]; and the prevalence of PRRS in 3 regions of Ontario, Canada, ranged from 17.0% to 48% [15]. In an investigation conducted in Brazil, only 0.11% (15/12,841) of serum samples from commercial pigs, imported boars, and wild and feral pigs were positive for PRRS. The prevalence of such PRDC-associated pathogens varies from country to country. However, this statistic highlights the importance of surveillance programs to prevent entry and control the spread of the disease.
PRDC is a major concern for the swine industry, resulting in significant economic losses due to decreased pig productivity, increased mortality, increased condemnation at slaughter, and increased medication costs resulting in high production costs [1]. A financial analysis by Calderón Díaz et al. [2] on Irish farrow-to-finish farms showed the negative economic impact of PRDC. The annual net profit was reduced by 14.6%, 12.8%, and 41.0% on farms infected with PRRS, swine influenza, and MHP, respectively. The treatment and control of PRDC are challenging and expensive, making prevention crucial for the swine industry. To minimize the impact of PRDC, swine producers implement strict biosecurity measures to prevent the entry of disease from other farms or within the farm, vaccination, quarantine and acclimatization, proper hygiene practices, and early disease detection [1,16,17]. Effective PRDC control and management are important for the sustainability and profitability of the swine industry.

3. Artificial Intelligence for Respiratory Disease Detection

Fever, inappetence, lethargy, coughing, sneezing, and dyspnea are common clinical signs of respiratory disease in pigs [18,19]. However, coughing is the most evident symptom and is used for the assessment of the respiratory health condition of the herd [20]. In developing AI for monitoring respiratory health status in pigs, coughing sounds are mostly used as a feature. Eye temperature, ear base temperature, respiration rate, and heart rate can also be used as features using computer vision [1,21]. However, the application of cameras for monitoring respiratory health status is still in the experimental stage. In this paper, the authors mainly reviewed studies that used audio technologies for respiratory disease detection.

3.1. Development of AI Technology for Cough Recognition

Pig cough recognition studies using machine learning and deep learning involve four steps: data acquisition, preprocessing, feature extraction, and classification. Other studies involved the fusion step for fusing two or more features after feature extraction [22,23,24,25]. As shown in Table 1, the performance of the AI models for cough recognition in terms of accuracy, recall, precision, and F1 score could reach more than 97%. This suggests that AI technology can be used for the automatic monitoring of respiratory health status with high reliability. Nevertheless, differences in performance were observed, and there is more opportunity for improvement. The AI model’s performance regarding cough recognition is affected by the methodologies used, particularly in the sound data preprocessing, feature extraction, and classification steps [22,25,26,27]. These are discussed in the next subsections.
Types of data acquisition tools (sound sensors) can affect sound quality because of noise and eventually degrade the performance of the model in the recognition of sounds [28]. Therefore, the specification of the sound sensor or microphone must be considered in developing an AI device for cough recognition. The devices used in the studies for sound data collection were unidirectional cardioid microphone [22,23,24,29], omnidirectional electret microphone [27,30], M260C microphone [25], digital camcorder [26], CCTV camera with sound sensors [31,32], recording pen [33], and sound sensors fixed in ear tags [34,35,36,37]. Monitoring the respiratory health of an individual animal is feasible using ear tags with sensors. However, it is not cost effective compared to group monitoring. In addition, battery life and proneness to damage are a great concern [36].
As shown in Table 2, most of the studies that have been conducted have focused on the improvement of the performance of the AI model in cough recognition through the application and development of different architectures in the feature extraction and classification steps. Other studies have proposed the use of body-conducted sound for the early detection of respiratory disease [34,35,37]. Wang et al. [27] investigated the association between animal sounds and house air quality. Coughing sounds vary according to the type of infection. AI can distinguish the differences and detect specific infections, for example, MHP, PRRS, and postweaning multisystemic wasting syndrome (PMWS) in pigs [31,38]. Though most of the studies used cough as a feature to detect respiratory disease, sneezing can also be used in the early detection of influenza infection [30].
Wu et al. [39] proposed using vision and audio in respiratory disease detection using a CCTV camera with sound sensors. Eye temperature, ear base temperature, respiration rate, and heart rate can be used as features in respiratory disease detection using an infrared camera and RGB camera [1,21]. The respiration rate and the heart rate can also be measured using a piezoelectric sensor fixed in the ear tag [34,35,37]. Each sensor has some limitations regarding its application in disease detection. The incorporation of two or more sensors is necessary to compensate for the limitations of the individual. Therefore, the ideal AI technology in disease detection is a hybrid.
Table 1. Performance of different AI models in cough recognition.
Table 1. Performance of different AI models in cough recognition.
Extraction
Technique
Classification
Technique
Sound
Dataset (N)
AccuracyRecallPrecisionF1Literature
Acoustic (RMS, ZCR, MFCC, Centroid, Flatness, Bandwidth, Rolloff, & Chroma) & visual (LBP & HOG)SVM315796.4597.3396.8397.08Ji et al. [22]
MFCC + ΔMFCCImproved SE-DenseNet-121144593.8098.6097.0097.80Song et al. [25]
Acoustic (RMS, ZCR, MFCC, Centroid, Flatness, Bandwidth, Rolloff, Contrast & Flux) & deep feature SVM254697.3596.5198.4197.46Shen et al. [24]
STFTFine-tuned AlexNet448095.4096.8095.5096.20Yin et al. [29]
MFCC–CNNSVM455196.6897.7296.8197.26Shen et al. [23]
Softmax95.8295.5197.3396.41
PMFCC SVM20095.00 Wang et al. [27]
DNSCNN 96.57Choi et al. [26]
SVM 95.15
KNN 93.74
C4.5 85.10
MFCCSVDD/SRC 94.0092.0090.80 Chung et al. [31]
Average 95.5696.3596.1095.28
RMS: root-mean-square energy; ZCR: zero-crossing rate; MFCC: mel-frequency cepstral coefficient; ΔMFCC: first-order difference of MFCC; PMFCC: principal MFCC; LBP: local binary pattern; HOG: histogram of oriented gradients; STFT: short-time Fourier transform; DNS: dominant neighborhood structure; CNN: convolutional neural network; SVM: support vector machine; KNN: k-nearest neighbors; SVDD: support vector data description; SRC: sparse representation classifier.

3.2. Feature Extraction and Fusion Techniques

Datasets contain a large amount of irrelevant information. In the feature extraction step, variables that significantly represent the cough-sound signal are selected and combined into a multidimensional feature vector. This step is the most crucial step for sound recognition [40,41]. In speech and sound recognition, the mel-frequency cepstral coefficient (MFCC) is the most popular feature used. Accordingly, the MFCC maps the linear spectrum of the sound signal onto the nonlinear mel spectrum and analyzes the spectrum according to human hearing [25].
In field conditions, background noises (non-cough sounds) are abundant and inevitable and can degrade the quality of cough sounds and affect model recognition performance. The method to improve model performance is to preprocess the sound data to enhance the quality of the cough sounds using background noise filtering [24,25,27,33,38] and by training the model with background noise data [42]. Feature extraction techniques can also solve this problem. One of the reasons for the popularity of the MFCC is its anti-noise capability [25,27,31]. However, this statement contradicts the statement of Ji et al. [22] based on the result of Zhao et al. [43]. Furthermore, the method proposed by Choi et al. [26] using the dominant neighborhood structure (DNS) algorithm as an extraction method has shown superior performance in a noisy environment. It is also much better than the MFCC feature. Furthermore, Wang et al. [27] obtained an average recognition rate of 95% after reducing the dimensionality of the MFCC using principal component analysis (PCA), which is better than Chung et al.’s [31] result using conventional MFCC features.
Much effort has been made in research to improve the precision of pig cough recognition. Most of the studies focused on feature extraction techniques. To overcome the limitation of the individual feature, fusion of two or more features to create a new feature has proven to improve cough-sound recognition. Shen et al. [23] fused the MFCC and convolutional neural network (CNN) features to obtain MFCC–CNN, which has shown significantly better performance compared to using MFCC features. Similarly, performance was also improved when fusing all acoustic features (root-mean-square energy or RMS, zero-crossing rate or ZCR, MFCC, spectral centroid, spectral flatness, spectral bandwidth, spectral roll-off, and contrast and flux) and deep features [24]. Furthermore, the fusion of acoustic features and visual features (local binary pattern or LBP and histogram of gradient or HOG) also has superior performance compared to individual features [22]. In the study of Song et al. [25], the combination of MFCC and ΔMFCC has a better performance compared to the MFCC alone. The ΔMFCC is the first-order difference of the MFCC, which is the relationship between two adjacent frames of pig sound signals.

3.3. Classification Techniques

Classifier architectures are classified into traditional machine learning classifiers and deep neural networks (DNN) [44]. A CNN is a popular deep neural network architecture that is inspired by neurons in the human brain. It has been widely applied in different fields like computer vision, face recognition, and sound and speech recognition [45,46,47]. In human health, it can be used in cough recognition [48,49] and in the detection of COVID-19 infection through cough and breathing sounds [50]. Choi et al. [26] compared CNN with traditional machine learning classifiers like support vector machine (SVM), k-nearest neighbors (KNN), and C4.5 in pig sound recognition under various noise conditions. CNN outperformed the other classifier architectures. Unlike the traditional classifiers, CNN can further extract deeper abstract features for classification and can learn in time and frequency simultaneously [51].
Nowadays, there are several CNN architectures that have been presented that differ in strengths and performance [52]. Modification of the architectures has been studied to improve classification performance. To improve the cough recognition performance of a deep learning algorithm, Song et al. [25] came up with an improved DenseNet architecture which they called SE-DenseNet-121. The SE-DenseNet-21 has an improved dense block module and is embedded with a Squeeze-and-Excitation Network (SENet) attention module. The purpose of the SENet is to optimize the extraction of relevant features and ignore irrelevant features. To improve the performance of conventional AlexNet, Yin et al. [29] combined it with softmax architecture and found that it has better performance in cough-sound classification compared to the probabilistic neural network (PNN). The softmax classifier uses logistic regression statistics in classification [53]. It has been widely used in the field of computer vision, especially in deep learning [54]. Similarly, TransformerCNN (a fusion of CNN and an encoder part of Transformer) has better performance in classifying different pig sounds compared to other classifier architectures [55].
Table 2. Summary of studies that involve smart technologies in respiratory disease detection.
Table 2. Summary of studies that involve smart technologies in respiratory disease detection.
TechniqueSensorsNumber of Pigs Used (Head)ObjectiveFindingsLiterature
VisionTIR camera (FLIR AX8) & RGB video camera (Raspberry Pi Camera Module V2.1)76 (9-week-old)Utilizing computer-based methods, thermal infrared and conventional images are employed to gauge alterations in the temperature of pigs (through eye- and ear-based measurements) as well as their heart and respiration rates.
Infected pigs showed higher temperature and heart rate than healthy pigs.
Respiration rate showed less difference between infected and healthy pigs.
The use of computer vision techniques can furnish significant and actionable information regarding physiological alterations that may signify initial indications of respiratory infection in pigs.
Joquera-Chavez et al. [1]
TIR camera (FLIR Duo® Pro R)46 (9-week-old)To assess the effectiveness of utilizing computer-based methods with RGB and thermal infrared imagery in measuring the heart rate and respiration rate of pigs and to explore the possibility of utilizing remote assessments of eye temperature, heart rate, and respiration rate as a means of identifying early indications of respiratory diseases in growing pigs that are group-housed and free-moving within a commercial piggery.
The remotely obtained heart rate and respiration rate were compared with the measures obtained with standard methods, showing positive correlations (r = 0.61–0.66; p < 0.05).
Clear variations in remotely obtained eye temperature and heart rate were observed between healthy and sick pigs two days prior to the appearance of clinical indications.
Joquera-Chavez et al. [21]
AudioPiezoelectric sensor & MEMS microphone4 (5-week-old)To propose a wireless system to record body-conducted sounds of pigs individually and a method of analysis for the early detection of respiratory diseases in infected pigs.
Zero-crossing & MFCC values of body-conducted sound were significant before and after PRRS inoculation.
Heart rate and respiratory rate can be measured indirectly through body-conducted sound which can be used for disease detection.
Narusawa et al. [35]
Piezoelectric sensor & MEMS microphone4 (5-week-old)To develop a system for early detection of respiratory diseases in pigs utilizing body-conducted sound.
Zero-crossing & MFCC values of body-conducted sound were significant before and after PRRS inoculation.
Respiratory and heart sounds can be effectively extracted by recording BCS from the tip of ear.
Cheng et al. [34]
Piezoelectric sensor & MEMS microphone4 (5-week-old) To develop a system for early detection of respiratory diseases in pigs utilizing body-conducted sound.
Zero-crossing & MFCC values of body-conducted sound were significant before and after PRRS inoculation.
Heart rate and respiratory rate can be measured indirectly through body-conducted sound which can be used for disease detection.
Tsuchiya et al. [37]
Directional cardioid microphoneNI (commercial farm)To improve the recognition accuracy of pig coughs using a new fusion feature (MFCC–CNN).
Classifiers that utilized the MFCC–CNN feature demonstrated considerably superior performance in comparison to those that employed the MFCC feature.
Fusing 55 and 45 adjacent frames resulted in the best performance for the softmax and SVM classifiers, respectively.
Shen et al. [23]
Digital camcorder & CCTV with an audio sensor 36 (25–35 kg)To propose an efficient data-mining solution for the detection and recognition of pig wasting diseases using sound data in audio surveillance systems.
A combination of MFCC and SVDD can automatically detect pig wasting diseases using cough sounds at an accuracy level of 94%.
The SRC classified pig wasting diseases into PMWS, PRRS virus, and MHP with an average accuracy of 91.0%.
Chung et al. [31]
Omnidirectional electret microphone280 (8.5-week-old; 25 kg)To identify the relationship between animal sounds and air quality of animals’ living environment.
Cough sounds from weaners differ significantly under different air quality conditions.
The developed model had recognition accuracy of 95%.
Wang et al. [27]
Recording pen (Mrobo M66)10 (age & weight NI)To propose DNN–HMM model to construct an acoustic model for continuous pig cough-sound recognition.
The DNN–HMM-based acoustic model for continuous pig cough-sound recognition was stable and reliable.
Zhao et al. [33]
Sound sensor (MAX9814) in ear tag2 (18 kg)To propose a remote monitoring tool for the objective measurement of some behavioral indicators that may help in assessing health and welfare status—namely, posture, gait, vocalization, and external temperature.
Sensors can be successfully incorporated in ear tag.
No coughing recorded during the trial.
Pandey et al. [36]
Audio sensor36 (25–35 kg)To propose an economical and lightweight sound-based pig anomaly detection system that can be applicable even in small-scale farms.
The results of the abnormality identification experiment demonstrated an F1 score of 0.947.
The execution time of the abnormality identification algorithm on the TX-2 board was 0.253 s, which was 0.220 s faster than the basic MnasNet model.
Hong et al. [38]
Omnidirectional electret microphones (Panasonic, WM-61A)16 (age & weight NI)To examine the correlations between the frequency of sneezing and various strains of influenza virus in domestic pigs.
The classification performance of the automatic sneeze detector was observed to be close to 100%.
The infection of certain swine influenza virus strains can be detected a few days after the infection by analyzing the frequency of induced sneeze.
Mito et al. [30]
Microphone (LIQI LM320E, Cardioid electret microphone)128 (17-week-old; 60 kg)To propose a feature fusion method by combining acoustic and deep features from audio segments.
The proposed acoustic and deep feature fusion achieved 97.35% accuracy for pig cough recognition.
CQT is more suitable for sound recognition in a pig housing environment than traditional linear STFT.
Shen et al. [24]
M260C Microphone Array with six SPA1687LR5H-1microphone components6 (age & weight NI)To develop SE-DenseNet-121 model to recognize pig cough sounds.
The rate of recognition accuracy, recall, precision, and F1 score of the SE-DenseNet-121 recognition model for pig cough sounds were 93.8%, 98.6%, 97%, and 97.8%, respectively.
Song et al. [25]
Microphone (LIQILM320E, Cardioid electret microphone)128 (17-week-old; 60 kg)To propose a novel feature fusion method that fuses acoustic and visual features to achieve an enhanced pig cough recognition rate.
The fused acoustic features (Acoustic) combined with LBP and HOG (A-LH) achieved 96.45% pig cough accuracy.
Ji et al. [22]
Digital camcorder (JVC GR-DVL520A)36 (25–30 kg)To propose a noise-robust system for the classification of sound data.
The proposed method can be used to classify sound events in a cost-efficient manner while maintaining high levels of accuracy even in the presence of environmental noise.
Choi et al. [26]
Microphone (LIQI LM 320ECardioid electret microphone)NI (commercial farm)To provide a highly accurate pig cough recognition method for the respiratory disease alarm system using fine-tuned AlexNet model and spectrogram feature.
The proposed algorithm significantly outperforms the other algorithms—cough and overall recognition accuracies reach 96.8% and 95.4%, respectively, with 96.2% F1 score achieved.
Yin et al. [29]
Vision & audioCCTV with an audio sensor NI (commercial farm)To propose a method to detect wasting disease automatically using both audio and video data.
The Motion History Image-Based method can discriminate the shaking motion of coughing from other movement motions with careful motion pattern analysis.
Kim et al. [32]
OthersRecording pen (Lenovo B610)NI (commercial farm)To propose a pig sound classification method based on the dual role of signal spectrum and speech.
An accuracy of 93.39% was achieved for the pig speech classification task.
Wu et al. [39]
Recording pen (Lenovo B610)NI (commercial farm)To propose a sound classification model called TransformerCNN, which combines the advantages of CNN spatial feature representation and the Transformer sequence coding to form a powerful global feature perception and local feature extraction capability.
The scores for domestic pig sound recognition accuracy, AUC, and recall were 96.05%, 98.37%, and 90.52%, respectively.
Liao et al. [55]
NI: not indicated; TIR: thermal infrared; RGB: red–green–blue; MEMS: micro-electromechanical systems; BCS: body-conducted sound; SRC: sparse representation classifier; MFCC: mel-frequency cepstral coefficient; CNN: convolutional neural network; SVDD: support vector data description; DNN–HMM: deep neural network–hidden Markov model; CQT: constant-Q transform; STFT: short-time Fourier transform; LBP: local binary pattern; HOG (A-LH): acoustic combined with LBP (local binary pattern) and HOG (histogram of oriented gradients); AUC: area under the curve; PMWS: postweaning multisystemic wasting syndrome; PRRS: porcine reproductive and respiratory syndrome; MHP: Mycoplasma hyopneumoniae.
SVM is the most popular traditional machine learning classifier used for sound applications [44], and it is the common classifier used in the reviewed studies for cough- and non-cough-sound classification. It is more robust compared to deep neural network classifiers for a few datasets available for training [24], for example, that in Wang et al. [27] with only 200 sound samples. The principle of SVM is to generate a hyperplane that separates the data into two classes [56]. The functionality of SVM is dependent on its kernel function, which should be for its application [57]. The commonly used kernel functions are linear, Gaussian radial basis function (RBF), and polynomial [58]. Wang et al. [27] used the RBF kernel in pig cough recognition because of its easy design, good generalization, and robust tolerance to noises. More than one kernel can be used in SVM. For example, Shen et al. [24] and Ji et al. [22] used RBF for the non-linear model and linear kernel model in cough recognition.
Other studies used KNN, C4.5, and random forest (RF) in cough recognition. In KNN, the trained data are grouped into subsets, and it classifies the new data on the basis of their values and assigns them to the nearest neighbor [59]. C4.5 is based on a decision-tree classification algorithm [60]. The RF is similar to C4.5. However, the RF generates multiple trees for decision-making [61]. Compared to SVM, these classifiers are inferior in performance in pig cough and non-cough-sound classification [22,23,26]. Shen et al. [23] compared SVM and the softmax in cough recognition. They found that SVM is superior to the softmax. However, this contradicts other studies, especially regarding computer vision [54,62].
Among the studies reviewed, no existing models reached more than 99% performance. That means that there is still room for improvement. The robustness of the model is still the priority concern. However, researchers should also prioritize the speed of recognition without compensating performance.

3.4. Performance Evaluation Metrics

Many metrics are proposed for AI model algorithm performance evaluation. However, the most common metrics used for cough recognition in the reviewed studies are based on the confusion matrix. These are accuracy, precision, recall or sensitivity, specificity, and F1 score (Table 3). Accuracy is the proportion of correctly classified coughing-sound samples to the total number of the dataset. Accuracy alone is not a reliable parameter for evaluating the cough recognition model. It is sensitive to imbalanced datasets [63], which is not good if there are more non-cough-sound data than cough-sound data, or vice versa. A model can have high accuracy but a low level of recognition of cough sounds.
Precision is the ratio of correctly classified cough-sound samples to the total samples classified as cough sounds. Recall is the ratio of correctly classified cough-sound samples to the total cough-sound dataset. Therefore, the higher the precision and recall, the better the model for recognizing cough-sound data. However, this does not mean that the model has a high recognition rate of non-cough sounds. An ideal AI technology should be able to distinguish cough sounds from non-cough sounds at a high rate. In this case, specificity is the matrix. Specificity is the ratio of correctly classified non-cough-sound samples to the total non-cough-sound dataset. Furthermore, high precision and recall do not coincide in a real scenario. The F1 score measures the balance of precision and recall, and, accordingly, it is a good candidate for a formal classifier quality evaluation metric [64]. In developing an AI model for cough recognition, it is important to consider all the metrics and not use them individually to be able to capture the strengths and weaknesses of the model.

4. Commercial Application

SoundTalks (SoundTalks NV, Leuven, Belgium) is a pioneering and popular AI product for automatic respiratory disease detection that is available on the market today. Additionally, new similar technologies developed in the United States by MASCO Technologies (City of Industry, CA, USA) and in China by iFLYTEK Co., Ltd. (Hefei, China) and Muyuan Foods Co., Ltd. (Nanyang, China). However, the authors have limited knowledge about these new technologies, and thus, the review focuses solely on SoundTalks. This review was conducted to understand the features and the limitations of the existing technology, providing a foundation for the future development of more precise smart technology.

4.1. Features of SoundTalks

SoundTalks is an AI technology available on the market today that can automatically monitor the respiratory health status of herds (in the nursery to finishing stages) through cough-sound recognition and quantification. It has sensors for monitoring environmental conditions such as room temperature and relative humidity. It also has an alert system that signals the farmers about potential respiratory problems and abrupt temperature changes.
This device has two main pieces of hardware: the monitor and the gateway (Figure 1). The sound sensor (microphone) and the environmental sensors are fixed to the monitor. The device also has LED lights for alert indication. It can gather sound data within a 10 m radius. All the data from the monitor are transferred to the gateway wirelessly. A plurality of monitors can be connected to the gateway not more than 30 m from the location of the gateway. The gateway is connected to a network via LAN. The function of the gateway is to connect and gather data from the monitor and send data to the AI cloud for data processing and analysis. Users can access their data online from every monitor through a PC or smartphone via a mobile app. A strong and undisrupted internet connection is essential for this technology to work optimally.
The respiratory health status of the herd is presented as respiratory distress index (RDI). The RDI is the average number of coughs per head within 24 h [65]. Nowadays, the respiratory health status of the herd is presented as ReHS (respiratory health status), with values ranging from 0 to 100. An alert system is an important feature of health monitoring technology for notifying farmers of abnormalities within the farm. This device has a patented algorithm that uses the history of and variation in the respiratory health status of the herd for the calculation of the threshold as the basis of the alarm [65]. A green light represents a normal ReHS, which ranges from 60 to 100. Yellow and red alerts mean there is a potential and a high risk of a respiratory problem, respectively. These are equivalent to 40–59 and 0–39 ReHS, respectively. For thermal shock alerts, a yellow warning is issued when there is a ≥5 °C difference in temperature within a 6 h interval. Furthermore, a red alert is issued when there is a ≥8 °C difference. The alerts can be perceived through LED lights on the monitor and through their website.

4.2. Research Using SoundTalks

Several studies have been conducted using SoundTalks for automatic quantification of the respiratory health status of pigs because of its advantages and reliability. It has shown that the coughing frequencies recorded using manual and automatic quantifications of coughing have a similar trend [65,66]. However, manual quantification is time-consuming and not efficient in a field situation. Moreover, farmers are not present 24 h inside the house. Therefore, coughs are often not detected, particularly at night [67].
A study by Clavijo et al. [5] showed that this device can detect respiratory disease in MHP-infected pigs. The RDI value increased as more pigs tested positive for MHP. The first alert was observed 55 days post-infection (DPI), 27 days late from the first day of MHP detection in uninoculated pigs. Similarly, Poeta Silva et al. [66] found an increase in RDI value in MHP-infected pigs as the infection progressed. However, an alarm from the device was not observed during the study despite mortality being observed at 10 DPI, and the RDI value was lower compared to Clavijo et al. [5]. The population is the main factor in these differences because this device was designed to recognize cough sounds in large pig populations [65], suggesting that the alarm system in future AI technology should work in multiple populations and should be refined on the basis of the severity of infection for earlier detection.
Data generated from SoundTalks can be used to improve the management of the housing environment and respiratory disease in finishing pigs. Pessoa et al. [68] conducted a study that correlates coughing frequency and environmental conditions of healthy pigs. They found that coughing frequencies are affected by a high ammonia concentration and high ventilation rates. However, the coughing incidence and ammonia concentration during the study were low. Another study by Pessoa et al. [65] has found an association between lung lesions at slaughter and values of RDI toward the end of growing. Coughing episodes in the early stage of the growing period are not associated with the prevalence of lung lesions at slaughter. This could mean that intervention and treatment should be conducted once a coughing episode is observed in the late finishing stage to reduce condemnation at slaughter.
SoundTalks is not yet able to distinguish whether coughing is caused by pathogens or by environmental conditions. However, by thoroughly analyzing the patterns of RDI, PRDC-associated pathogens can potentially be distinguished. For example, as shown in Figure 2, the RDI patterns in influenza A virus-infected pigs had a distinct double-peaked shape, whereas the pattern associated with MHP showed a gradual increasing pattern [69]. Further study is recommended to compare the RDI/ReHS patterns of pigs infected with other PRDC-associated pathogens and environmental conditions. With this information, farmers will be given a tool for more timely, precise diagnosis and control of the disease.

5. Existing Technology: Limitations and Opportunities for Improvement

In a decade, several studies have been conducted on AI’s application in livestock production. One application of AI is cough detection for monitoring the respiratory health status of swine. AI for cough detection has been implemented in commercial applications, and it has been found to have a great advantage in enhancing farming productivity and efficiency through improvements in decision-making for herd health management. However, the authors found some limitations of the existing technology that should be considered for the improvement and development of smarter technology.

5.1. Farm-Dependent Coughing Threshold

Early detection of a respiratory problem is crucial for controlling the disease to prevent further economic losses. Thus, an alarm system is a very important feature of technology for accurately and promptly alerting the user of an early respiratory problem. The existing technology has a patented algorithm that calculates the threshold as the basis of the alarm. This threshold is based on the history of and the variation in the respiratory health status of a specific room where a monitor is installed. This system has a possible drawback. For example, two farms with different coughing histories may have different thresholds, and once the farms are infected at the same rate, one room might not alarm (possibly the room with more coughing at the start). Thus, further research is recommended to generate a threshold value that is associated with the severity of infection. As stated, historical data were used for threshold calculation as the basis for the alarm. In the authors’ opinion, the algorithm was designed to detect acute respiratory disease. Is this algorithm able to detect chronic respiratory disease? This is something that needs to be explored.

5.2. Population-Dependent Coughing Threshold

The existing technology is built to monitor the respiratory health status of a large population. Several studies found lower RDI values and no alert even in infected, small populations compared to large populations. The threshold for alarm should be associated with infection. Further research is recommended to generate a threshold value that is corrected by population.

5.3. Monitoring of Herd Respiratory Health Status

Studies using audio technology have shown great performance in detecting respiratory problems caused by pathogens or environmental conditions. However, the current technology can only evaluate the general health status of the herd in a specific room. Automatic recognition of individual pigs is essential for monitoring an individual’s health condition. Currently, the application and development of computer vision technology for individual pig recognition are still in the experimental stage, the cost of hardware being a notable limiting factor in its large-scale application. However, the integration of visual technology with audio technology can be a better technology for monitoring the health of the herd and the individual pig. In this system, the specific sick pig can be immediately recognized, and the health management will be more precise.

6. Conclusions

PRDC is a major concern for the swine industry that results in significant economic losses. Thus, early detection of and response to the disease at the farm level is essential for preventing and minimizing the potential damage that it may cause. Studies about the application of AI in respiratory health disease detection have shown its great advantage in swine farming. Respiratory diseases can be detected using AI for automatic cough-sound recognition and quantification with high sensitivity and precision. However, different AI models have demonstrated differences in performance. These differences might be due to methodologies and architectures used in data preprocessing, feature extraction, and classification. Additionally, the size and diversity of the dataset used for training are crucial for this part.
The AI technology available is commercially used audio technology that can monitor and evaluate the herd’s respiratory health status with temperature and humidity sensors to monitor environmental conditions. Moreover, some limitations of the existing technology were identified. The limitations are mainly regarding the sensitivity of the alarm system to coughing episode variations. The alarm system is farm-dependent and population-dependent. Lastly, it cannot detect a respiratory problem in an individual pig. Substantial effort must be exerted to surmount the limitations to have a smarter AI technology for monitoring respiratory health status in swine.

Author Contributions

Conceptualization, E.B.L., H.-S.M. and C.-J.Y.; writing—original daft preparation, E.B.L.; preparation of manuscript, E.B.L.; editing and revision, E.B.L., H.-S.M., K.M.B.A., V.C., Y.-H.K. and C.-J.Y.; supervision, C.-J.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This work received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to acknowledge the Korea Institute of Planning and Evaluation for Technology in Food, Agriculture and Forestry (IPET) and Korea Smart Farm R&D Foundation through the Smart Farm Innovation Technology Development Program, funded by the Ministry of Agriculture, Food and Rural Affairs (MAFRA) and Ministry of Science and ICT (MSIT) and Rural Development Administration (RDA) (421023-04). The authors also would like to acknowledge their family and friends for their continuous support and encouragement. Above all to Almighty God!

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Jorquera-Chavez, M.; Fuentes, S.; Dunshea, F.R.; Warner, R.D.; Poblete, T.; Morrison, R.S.; Jongman, E.C. Remotely Sensed Imagery for Early Detection of Respiratory Disease in Pigs: A Pilot Study. Animals 2020, 10, 451. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Calderón Díaz, J.A.; Fitzgerald, R.M.; Shalloo, L.; Rodrigues da Costa, M.; Niemi, J.; Leonard, F.C.; Kyriazakis, I.; García Manzanilla, E. Financial Analysis of Herd Status and Vaccination Practices for Porcine Reproductive and Respiratory Syndrome Virus, Swine Influenza Virus, and Mycoplasma hyopneumoniae in Farrow-to-Finish Pig Farms Using a Bio-Economic Simulation Model. Front. Vet. Sci. 2020, 7, 556674. [Google Scholar] [CrossRef] [PubMed]
  3. Ruggeri, J.; Salogni, C.; Giovannini, S.; Vitale, N.; Boniotti, M.B.; Corradi, A.; Pozzi, P.; Pasquali, P.; Alborali, G.L. Association Between Infectious Agents and Lesions in Post-Weaned Piglets and Fattening Heavy Pigs with Porcine Respiratory Disease Complex (PRDC). Front. Vet. Sci. 2020, 7, 636. [Google Scholar] [CrossRef] [PubMed]
  4. Lu, S.; Li, F.; Chen, Q.; Wu, J.; Duan, J.; Lei, X.; Zhang, Y.; Zhao, D.; Bu, Z.; Yin, H. Rapid Detection of African Swine Fever Virus Using Cas12a-Based Portable Paper Diagnostics. Cell Discov. 2020, 6, 18. [Google Scholar] [CrossRef] [Green Version]
  5. Clavijo, M.J.; Hu, D.; Krantz, S.; Cano, J.P.; Pereira Maróstica, T.; Henao-Diaz, A.; Poeta Silva, A.P.S.; Hemker, D.; Tapia, E.; Zimmerman, S.; et al. Mycoplasma hyopneumoniae Surveillance in Pig Populations: Establishing Sampling Guidelines for Detection in Growing Pigs. J. Clin. Microbiol. 2021, 59, e03051-20. [Google Scholar] [CrossRef]
  6. Shaikh, F.K.; Memon, M.A.; Mahoto, N.A.; Zeadally, S.; Nebhen, J. Artificial Intelligence Best Practices in Smart Agriculture. IEEE Micro 2022, 42, 17–24. [Google Scholar] [CrossRef]
  7. Ünal, Z. Smart Farming Becomes Even Smarter With Deep Learning—A Bibliographical Analysis. IEEE Access 2020, 8, 105587–105609. [Google Scholar] [CrossRef]
  8. Bao, J.; Xie, Q. Artificial Intelligence in Animal Farming: A Systematic Literature Review. J. Clean. Prod. 2022, 331, 129956. [Google Scholar] [CrossRef]
  9. Neethirajan, S.; Kemp, B. Digital Twins in Livestock Farming. Animals 2021, 11, 1008. [Google Scholar] [CrossRef]
  10. FAO. Agricultural Production Statistics. 2000–2020; FAOSTAT Analytical Brief Series No. 41; FAO: Rome, Italy, 2022; Available online: https://www.fao.org/3/cb9180en/cb9180en.pdf (accessed on 2 February 2023).
  11. Komarek, A.M.; Dunston, S.; Enahoro, D.; Godfray, H.C.J.; Herrero, M.; Mason-D’Croz, D.; Rich, K.M.; Scarborough, P.; Springmann, M.; Sulser, T.B.; et al. Income, Consumer Preferences, and the Future of Livestock-Derived Food Demand. Glob. Environ. Chang. 2021, 70, 102343. [Google Scholar] [CrossRef]
  12. Flay, K.J.; Yang, D.A.; Choi, S.C.; Ip, J.; Lee, S.H.; Pfeiffer, D.U. First Study to Describe the Prevalence of Porcine Reproductive and Respiratory Syndrome Virus and Porcine Circovirus Type 2 among the Farmed Pig Population in the Hong Kong Special Administrative Region. Vet. Sci. 2022, 9, 80. [Google Scholar] [CrossRef]
  13. Sun, Q.; Yu, X.; He, D.; Ku, X.; Hong, B.; Zeng, W.; Zhang, H.; He, Q. Investigation and Analysis of Etiology Associated with Porcine Respiratory Disease Complex in China from 2017 to 2021. Front. Vet. Sci. 2022, 9, 960033. [Google Scholar] [CrossRef]
  14. Cheong, Y.; Oh, C.; Lee, K.; Cho, K. Survey of Porcine Respiratory Disease Complex-Associated Pathogens among Commercial Pig Farms in Korea via Oral Fluid Method. J. Vet. Sci. 2017, 18, 283–289. [Google Scholar] [CrossRef]
  15. Arruda, A.G.; Poljak, Z.; Friendship, R.; Carpenter, J.; Hand, K. Descriptive Analysis and Spatial Epidemiology of Porcine Reproductive and Respiratory Syndrome (PRRS) for Swine Sites Participating in Area Regional Control and Elimination Programs from 3 Regions of Ontario. Can. J. Vet. Res. 2015, 79, 268–278. [Google Scholar]
  16. Assavacheep, P.; Thanawongnuwech, R. Porcine Respiratory Disease Complex: Dynamics of Polymicrobial Infections and Management Strategies after the Introduction of the African Swine Fever. Front. Vet. Sci. 2022, 9, 1048861. [Google Scholar] [CrossRef]
  17. Ruggeri, J.; Ferlazzo, G.; Boniotti, M.B.; Capucci, L.; Guarneri, F.; Barbieri, I.; Alborali, G.L.; Amadori, M. Characterization of the IgA Response to PRRS Virus in Pig Oral Fluids. PLoS ONE 2020, 15, e0229065. [Google Scholar] [CrossRef] [Green Version]
  18. Cohen, L.M.; Grøntvedt, C.A.; Klem, T.B.; Gulliksen, S.M.; Ranheim, B.; Nielsen, J.P.; Valheim, M.; Kielland, C. A Descriptive Study of Acute Outbreaks of Respiratory Disease in Norwegian Fattening Pig Herds. Acta Vet. Scand. 2020, 62, 35. [Google Scholar] [CrossRef]
  19. Haimi-Hakala, M.; Hälli, O.; Laurila, T.; Raunio-Saarnisto, M.; Nokireki, T.; Laine, T.; Nykäsenoja, S.; Pelkola, K.; Segales, J.; Sibila, M.; et al. Etiology of Acute Respiratory Disease in Fattening Pigs in Finland. Porc. Health Manag. 2017, 3, 19. [Google Scholar] [CrossRef] [Green Version]
  20. Ferrari, S.; Silva, M.; Guarino, M.; Aerts, J.M.; Berckmans, D. Cough Sound Analysis to Identify Respiratory Infection in Pigs. Comput. Electron. Agric. 2008, 64, 318–325. [Google Scholar] [CrossRef]
  21. Jorquera-Chavez, M.; Fuentes, S.; Dunshea, F.R.; Warner, R.D.; Poblete, T.; Unnithan, R.R.; Morrison, R.S.; Jongman, E.C. Using Imagery and Computer Vision as Remote Monitoring Methods for Early Detection of Respiratory Disease in Pigs. Comput. Electron. Agric. 2021, 187, 106283. [Google Scholar] [CrossRef]
  22. Ji, N.; Shen, W.; Yin, Y.; Bao, J.; Dai, B.; Hou, H.; Kou, S.; Zhao, Y. Investigation of Acoustic and Visual Features for Pig Cough Classification. Biosyst. Eng. 2022, 219, 281–293. [Google Scholar] [CrossRef]
  23. Shen, W.; Tu, D.; Yin, Y.; Bao, J. A New Fusion Feature Based on Convolutional Neural Network for Pig Cough Recognition in Field Situations. Inf. Process. Agric. 2020, 8, 573–580. [Google Scholar] [CrossRef]
  24. Shen, W.; Ji, N.; Yin, Y.; Dai, B.; Tu, D.; Sun, B.; Hou, H.; Kou, S.; Zhao, Y. Fusion of Acoustic and Deep Features for Pig Cough Sound Recognition. Comput. Electron. Agric. 2022, 197, 106994. [Google Scholar] [CrossRef]
  25. Song, H.; Zhao, B.; Hu, J.; Sun, H.; Zhou, Z. Research on Improved DenseNets Pig Cough Sound Recognition Model Based on SENets. Electronics 2022, 11, 3562. [Google Scholar] [CrossRef]
  26. Choi, Y.; Atif, O.; Lee, J.; Park, D.; Chung, Y. Noise-Robust Sound-Event Classification System with Texture Analysis. Symmetry 2018, 10, 402. [Google Scholar] [CrossRef] [Green Version]
  27. Wang, X.; Zhao, X.; He, Y.; Wang, K. Cough Sound Analysis to Assess Air Quality in Commercial Weaner Barns. Comput. Electron. Agric. 2019, 160, 8–13. [Google Scholar] [CrossRef]
  28. Kawaguchi, J.; Matsumoto, M. Noise Reduction Combining a General Microphone and a Throat Microphone. Sensors 2022, 22, 4473. [Google Scholar] [CrossRef]
  29. Yin, Y.; Tu, D.; Shen, W.; Bao, J. Recognition of Sick Pig Cough Sounds Based on Convolutional Neural Network in Field Situations. Inf. Process. Agric. 2021, 8, 369–379. [Google Scholar] [CrossRef]
  30. Mito, M.; Aoki, T.; Mizutani, K.; Zempo, K.; Wakatsuki, N.; Maeda, Y.; Takemae, N.; Tsunekuni, R.; Saito, T. Frequency Analysis of the Sneeze Caused by Swine Influenza Virus Strains: Automatic Sneeze around-the-Clock Detection Using a Support Vector Machine. Comput. Electron. Agric. 2020, 179, 105789. [Google Scholar] [CrossRef]
  31. Chung, Y.; Oh, S.; Lee, J.; Park, D.; Chang, H.-H.; Kim, S. Automatic Detection and Recognition of Pig Wasting Diseases Using Sound Data in Audio Surveillance Systems. Sensors 2013, 13, 12929–12942. [Google Scholar] [CrossRef] [Green Version]
  32. Kim, H. Automatic Identification of a Coughing Animal Using Audio and Video Data. In Proceedings of the Fourth International Conference on Information Science and Cloud Computing—PoS(ISCC2015), Guangzhou, China, 18–19 December 2015; Sissa Medialab: Guangzhou, China, 2016; p. 8. [Google Scholar]
  33. Zhao, J.; Li, X.; Liu, W.; Gao, Y.; Lei, M.; Tan, H.; Yang, D. DNN-HMM Based Acoustic Model for Continuous Pig Cough Sound Recognition. Int. J. Agric. Biol. Eng. 2020, 13, 186–193. [Google Scholar] [CrossRef]
  34. Cheng, Y.; Narusawa, K.; Iijima, S.; Nakayama, M.; Ishimitsu, S.; Inoue, H.; Ishida, A.; Takagi, M.; Mikami, O. Development of an Early Detection System for Respiratory Diseases in Pigs. Int. J. Biomed. Soft Comput. Hum. Sci. Off. J. Biomed. Fuzzy Syst. Assoc. 2019, 24, 65–73. [Google Scholar]
  35. Narusawa, K.; Cheng, Y.; Ishimitsu, S.; Nakayama, M.; Iijima, S.; Mikami, O.; Takagi, M.; Inoue, H. Analysis of Body-Conducted Sound to Identify Infected Pigs. ICIC Express Lett. Part B Appl. 2020, 11, 735–741. [Google Scholar]
  36. Pandey, S.; Kalwa, U.; Kong, T.; Guo, B.; Gauger, P.C.; Peters, D.J.; Yoon, K.-J. Behavioral Monitoring Tool for Pig Farmers: Ear Tag Sensors, Machine Intelligence, and Technology Adoption Roadmap. Animals 2021, 11, 2665. [Google Scholar] [CrossRef]
  37. Tsuchiya, K.; Ishimitsu, S.; Morinaga, Y.; Cheng, Y.; Narusawa, K.; Nakayama, M.; Mikami, O.; Takagi, M.; Inoue, H. Study on Disease-Detection Methods Using Body-Conducted Sounds in Pigs. Int. J. Biomed. Soft Comput. Hum. Sci. Off. J. Biomed. Fuzzy Syst. Assoc. 2020, 25, 49–56. [Google Scholar] [CrossRef]
  38. Hong, M.; Ahn, H.; Atif, O.; Lee, J.; Park, D.; Chung, Y. Field-Applicable Pig Anomaly Detection System Using Vocalization for Embedded Board Implementations. Appl. Sci. 2020, 10, 6991. [Google Scholar] [CrossRef]
  39. Wu, X.; Zhou, S.; Chen, M.; Zhao, Y.; Wang, Y.; Zhao, X.; Li, D.; Pu, H. Combined Spectral and Speech Features for Pig Speech Recognition. PLoS ONE 2022, 17, e0276778. [Google Scholar] [CrossRef]
  40. Abdusalomov, A.B.; Safarov, F.; Rakhimov, M.; Turaev, B.; Whangbo, T.K. Improved Feature Parameter Extraction from Speech Signals Using Machine Learning Algorithm. Sensors 2022, 22, 8122. [Google Scholar] [CrossRef]
  41. Khalid, S.; Shehryar, T.; Nasreen, S. A Survey of Feature Selection and Feature Extraction Techniques in Machine Learning. In Proceedings of the 2014 Science and Information Conference, London, UK, 27–29 August 2014; pp. 372–378. [Google Scholar] [CrossRef]
  42. Lee, G.-T.; Nam, H.; Kim, S.-H.; Choi, S.-M.; Kim, Y.; Park, Y.-H. Deep Learning Based Cough Detection Camera Using Enhanced Features. Expert Syst. Appl. 2022, 206, 117811. [Google Scholar] [CrossRef]
  43. Zhao, Q.; Guo, F.; Zu, X.; Li, B.; Yuan, X. An Acoustic-Based Feature Extraction Method for the Classification of Moving Vehicles in the Wild. IEEE Access 2019, 7, 73666–73674. [Google Scholar] [CrossRef]
  44. Bansal, A.; Garg, N.K. Environmental Sound Classification: A Descriptive Review of the Literature. Intell. Syst. Appl. 2022, 16, 200115. [Google Scholar] [CrossRef]
  45. Krizhevsky, A.; Sutskever, I.; Hinton, G.E. ImageNet Classification with Deep Convolutional Neural Networks. Commun. ACM 2017, 60, 84–90. [Google Scholar] [CrossRef] [Green Version]
  46. Lu, P.; Song, B.; Xu, L. Human Face Recognition Based on Convolutional Neural Network and Augmented Dataset. Syst. Sci. Control Eng. 2021, 9, 29–37. [Google Scholar] [CrossRef]
  47. Yamashita, R.; Nishio, M.; Do, R.K.G.; Togashi, K. Convolutional Neural Networks: An Overview and Application in Radiology. Insights Imaging 2018, 9, 611–629. [Google Scholar] [CrossRef] [Green Version]
  48. Miranda, I.D.S.; Diacon, A.H.; Niesler, T.R. A Comparative Study of Features for Acoustic Cough Detection Using Deep Architectures. In Proceedings of the 2019 41st Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Berlin, Germany, 23–27 July 2019; pp. 2601–2605. [Google Scholar]
  49. Pahar, M.; Miranda, I.; Diacon, A.; Niesler, T. Deep Neural Network Based Cough Detection Using Bed-Mounted Accelerometer Measurements. In Proceedings of the ICASSP 2021—2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Toronto, ON, Canada, 6–11 June 2021; pp. 8002–8006. [Google Scholar]
  50. Evangeline, D.; Lohit, S.M.; Tarun, R.; Ujwal, K.C.; Sumanth, D.S.V. Detection of Covid-19 through Cough and Breathing Sounds Using CNN. Int. J. Adv. Comput. Sci. Appl. 2021, 12, 133–142. [Google Scholar]
  51. Fang, Z.; Yin, B.; Du, Z.; Huang, X. Fast Environmental Sound Classification Based on Resource Adaptive Convolutional Neural Network. Sci. Rep. 2022, 12, 6599. [Google Scholar] [CrossRef]
  52. Alzubaidi, L.; Zhang, J.; Humaidi, A.J.; Al-Dujaili, A.; Duan, Y.; Al-Shamma, O.; Santamaría, J.; Fadhel, M.A.; Al-Amidie, M.; Farhan, L. Review of Deep Learning: Concepts, CNN Architectures, Challenges, Applications, Future Directions. J. Big Data 2021, 8, 53. [Google Scholar] [CrossRef]
  53. Wolfe, J.; Jin, X.; Bahr, T.; Holzer, N. Application of Softmax Regression and Its Validation for Spectral-Based Land Cover Mapping. Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2017, XLII-1/W1, 455–459. [Google Scholar] [CrossRef] [Green Version]
  54. Qi, X.; Wang, T.; Liu, J. Comparison of Support Vector Machine and Softmax Classifiers in Computer Vision. In Proceedings of the 2017 Second International Conference on Mechanical, Control and Computer Engineering (ICMCCE), Harbin, China, 8–10 December 2017; pp. 151–155. [Google Scholar]
  55. Liao, J.; Li, H.; Feng, A.; Wu, X.; Luo, Y.; Duan, X.; Ni, M.; Li, J. Domestic Pig Sound Classification Based on TransformerCNN. Appl. Intell. 2022, 53, 4907–4923. [Google Scholar] [CrossRef]
  56. Cortes, C.; Vapnik, V. Support-Vector Networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
  57. Cristianini, N.; Shawe-Taylor, J. An Introduction to Support Vector Machines and Other Kernel-Based Learning Methods; Cambridge University Press: Cambridge, UK, 2000; ISBN 978-0-521-78019-3. [Google Scholar]
  58. Savas, C.; Dovis, F. The Impact of Different Kernel Functions on the Performance of Scintillation Detection Based on Support Vector Machines. Sensors 2019, 19, 5219. [Google Scholar] [CrossRef] [Green Version]
  59. Taunk, K.; De, S.; Verma, S.; Swetapadma, A. A Brief Review of Nearest Neighbor Algorithm for Learning and Classification. In Proceedings of the 2019 International Conference on Intelligent Computing and Control Systems (ICCS), Madurai, India, 15–17 May 2019; pp. 1255–1260. [Google Scholar]
  60. Lakshmi, B.N.; Indumathi, T.S.; Ravi, N. A Study on C.5 Decision Tree Classification Algorithm for Risk Predictions During Pregnancy. Procedia Technol. 2016, 24, 1542–1549. [Google Scholar] [CrossRef] [Green Version]
  61. Dikananda, A.R.; Jumini, S.; Tarihoran, N.; Christinawati, S.; Trimastuti, W.; Rahim, R. Comparison of Decision Tree Classification Methods and Gradient Boosted Trees. TEM J. 2022, 11, 316–322. [Google Scholar] [CrossRef]
  62. Ren, S.; He, K.; Girshick, R.; Sun, J. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. In Proceedings of the Advances in Neural Information Processing Systems, Montreal, QC, Canada, 7–12 December 2015; Curran Associates, Inc.: Red Hook, NY, USA, 2015; Volume 28. [Google Scholar]
  63. De Diego, I.M.; Redondo, A.R.; Fernández, R.R.; Navarro, J.; Moguerza, J.M. General Performance Score for Classification Problems. Appl. Intell. 2022, 52, 12049–12063. [Google Scholar] [CrossRef]
  64. Puleko, I.; Svintsytska, O.; Chumakevych, V.; Ptashnyk, V. The Scalar Metric of Classification Algorithm Choice in Machine Learning Problems Based on the Scheme of Nonlinear Compromises. In Proceedings of the 6th International Conference on Computational Linguistics and Intelligent Systems, Gliwice, Poland, 12–13 May 2022. [Google Scholar]
  65. Pessoa, J.; Rodrigues da Costa, M.; García Manzanilla, E.; Norton, T.; McAloon, C.; Boyle, L. Managing Respiratory Disease in Finisher Pigs: Combining Quantitative Assessments of Clinical Signs and the Prevalence of Lung Lesions at Slaughter. Prev. Vet. Med. 2021, 186, 105208. [Google Scholar] [CrossRef]
  66. Silva, A.P.S.P.; Storino, G.Y.; Ferreyra, F.S.M.; Zhang, M.; Fano, E.; Polson, D.; Wang, C.; Derscheid, R.J.; Zimmerman, J.J.; Clavijo, M.J.; et al. Cough Associated with the Detection of Mycoplasma hyopneumoniae DNA in Clinical and Environmental Specimens under Controlled Conditions. Porc. Health Manag. 2022, 8, 6. [Google Scholar] [CrossRef]
  67. Cui, Z.Y.; Buyens, D.; Berckmans, D.; de Volder, I.; Degezelle, I.; Vranken, E. Technological tools for infection detection: Case studies with the SOMO respiratory distress monitor in Belgian pig farms. In Proceedings of the European Conference on Precision Livestock Farming, Cork, Ireland, 26–29 August 2019; pp. 292–297. [Google Scholar]
  68. Pessoa, J.; Camp Montoro, J.; Pina Nunes, T.; Norton, T.; McAloon, C.; Garcia Manzanilla, E.; Boyle, L. Environmental Risk Factors Influence the Frequency of Coughing and Sneezing Episodes in Finisher Pigs on a Farm Free of Respiratory Disease. Animals 2022, 12, 982. [Google Scholar] [CrossRef]
  69. Polson, D.; Playter, S.; Berckmans, D.; Cui, Z.; Quinn, B. Evaluation of an audio-based sensor platform to classify patterns of clinical respiratory episodes in large growing pig populations. In Proceedings of the European Conference on Precision Livestock Farming, Cork, Ireland, 26–29 August 2019; pp. 553–558. [Google Scholar]
Figure 1. SoundTalks has two pieces of hardware: (A) the gateway and (B) the monitor.
Figure 1. SoundTalks has two pieces of hardware: (A) the gateway and (B) the monitor.
Animals 13 01860 g001
Figure 2. Chart showing Respiratory Disease Index (RDI), temperature, and humidity data from a wean-to-finish barn experiencing clinical episodes of influenza and Mycoplasma [69].
Figure 2. Chart showing Respiratory Disease Index (RDI), temperature, and humidity data from a wean-to-finish barn experiencing clinical episodes of influenza and Mycoplasma [69].
Animals 13 01860 g002
Table 3. AI model performance metrics based on a confusion matrix.
Table 3. AI model performance metrics based on a confusion matrix.
MetricsDefinitionFormula
True PositiveThe number of samples that are correctly classified as cough soundsTP
True NegativeThe number of samples that are correctly classified as non-cough soundsTN
False PositiveThe number of samples that are incorrectly classified as cough soundsFP
False NegativeThe number of samples that are incorrectly classified as non-cough soundsFN
AccuracyThe ratio of correct predictions over the total number of dataset TP + TN TP + TN + FP + FN
PrecisionThe ratio of correctly classified cough-sound samples to the total samples classified as cough sounds TP TP + FP
RecallThe ratio of correctly classified cough-sound samples to the total cough-sound dataset TP TP + FN
SpecificityThe ratio of correctly classified non-cough-sound samples to the total non-cough-sound dataset TN FP + TN
F1 scoreCombination of precision and recall 2 × Precision   ×   Recall Precision   +   Recall
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Lagua, E.B.; Mun, H.-S.; Ampode, K.M.B.; Chem, V.; Kim, Y.-H.; Yang, C.-J. Artificial Intelligence for Automatic Monitoring of Respiratory Health Conditions in Smart Swine Farming. Animals 2023, 13, 1860. https://doi.org/10.3390/ani13111860

AMA Style

Lagua EB, Mun H-S, Ampode KMB, Chem V, Kim Y-H, Yang C-J. Artificial Intelligence for Automatic Monitoring of Respiratory Health Conditions in Smart Swine Farming. Animals. 2023; 13(11):1860. https://doi.org/10.3390/ani13111860

Chicago/Turabian Style

Lagua, Eddiemar B., Hong-Seok Mun, Keiven Mark B. Ampode, Veasna Chem, Young-Hwa Kim, and Chul-Ju Yang. 2023. "Artificial Intelligence for Automatic Monitoring of Respiratory Health Conditions in Smart Swine Farming" Animals 13, no. 11: 1860. https://doi.org/10.3390/ani13111860

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop