The results of various visual word characteristics and histograms are presented in terms of ROC curves . The training and testing were performed on datasets that had an equal number of animals and background items. Two feature types, namely the histogram of colours (HOC) and the histogram of visual words (HOV), were used to classify the data. Fig 4 displays the ROC curves that represent the grouping of these two feature types.
The outcomes of the categorization are displayed in Fig 5, depicting the photos at various levels of rescaling. It should be noted that the resolution of the photographs was consistently reduced by a factor of at least 2. This reduction was motivated by the fact that employing a more modest ground sample distance (GSD) than 6 cm was deemed unnecessary for achieving the desired performance compared to the Matlab code developed for this investigation. Moreover, the computer program that was developed in Matlab for this study, would also have slowed down and required more resources to process color data in the pictures.
Classification accuracy
The process of classification is executed with the purpose of distinguishing the targeted object from all other objects within its surroundings. In other words, it assigns an object to one category based on some features leading to the object being represented in a more meaningful and informative way, providing further insights into its characteristics and properties. The classification accuracy describes how well the machine learning model can correctly classify cattle and non-cattle objects or regions in the images or data collected by the drones. Classification accuracy is calculated as follows:
Here, number of Correctly Classified Samples is the count of regions or objects where the SVM correctly predicted whether they contain cattle or not and the total Number of Samples is the total count of regions or objects that were classified by the SVM. A high classification accuracy indicates that the SVM is doing a good job of distinguishing cattle from non-cattle objects in the drone images. Conversely, a low classification accuracy suggests that the model is making a significant number of incorrect predictions.
This study’s classification issue is strictly binary, which means there are just two classes at play. Binary classification is typically easier, even though some techniques are easily extended to multi-class classification. The backdrop class will also be known as the negative class, while the animal class will be known as the positive class. High visual heterogeneity is frequently found in the background class. The positive class is also quite varied in this dataset, which is a more particular feature, as seen in Fig 6 (
Rey, 2016). The majority of the creatures are light-furred, however, others are dimmer and browner and cattle come in two colours: grey and black. The different shapes are also significant. It is frequently, but not always, the case that the animal has a shadow nearby.
However, detection of cattle in the field through image analysis is like finding needles in a haystack. Animals are extremely rare in these datasets, making them a tiny fraction of the images. This results in a skewed positive-to-negative sample ratio, with very few images containing animals compared to those without, which significantly impacts the classifier’s performance. In machine learning, classifiers aim for high precision, prioritizing accurate positive predictions among all predictions. Yet, in this scenario, achieving high precision is challenging due to the scarcity of animal images. Classifiers tend to be overly cautious, producing fewer positive predictions to minimize false positives, ultimately maximizing precision but diminishing recall-the ability to correctly identify all animal instances in the dataset.
In this specific task, prioritizing recall rate takes precedence over precision. High recall ensures that the system identifies as many animals as possible, even if it means accepting a certain level of false positives. This approach aligns with the principle that, given sufficiently high precision, users can directly confirm the validity of each detection and subsequently eliminate any false positives . In practice, even if the correctness of these detections hovers at a relatively modest rate, such as 15%, it would still be advantageous. Reviewing and verifying these findings would be a significantly less time-consuming process than manually inspecting each image within the entirety of the dataset. This trade-off between correctness and efficiency underscores the practicality and utility of emphasizing recall over precision in this specific context.
One of the primary focuses in cattle monitoring with drones is automating the process of cattle detection. Having information about cattle’s movement is crucial to understand their accessibility to pasture lands for grazing ensuring the availability to fresh and nutritious vegetation, benefitting their health. However, degradation of grasslands has been posing a problem for grazing animals (
Horn and Isselstein, 2022) as they may wander off to far away regions which can be dangerous to them. Drone technology coupled with artificial intelligence has proved to be helpful in keeping their count in a herd. Researchers have explored the use of machine learning algorithms to identify and track individual cattle within a herd with a greater accuracy.
Mücher et al., (2022) achieved impressive cow detection accuracy exceeding 95%. They also did well in distinguishing individual cows (around 91% accuracy) and recognizing different cow postures (approximately 88% accuracy). Another study by
Xu et al., (2020) used a mask R-CNN model to count cattle from aerial imagery. Their results showed high accuracy, reaching 94% in pastures and 92% in feedlots. This research opened the door for automated cattle counting and tracking using drones or quadcopters.
Beyond simple detection, drones equipped with cameras and sensors have been utilized to analyze cattle behavior and assess their health using drone-collected data. The potential for early detection of anomalies, such as signs of illness or distress, through changes in behavior has been documented
(Al-Thani et al., 2020). This approach was extended by integrating thermal imaging to detect variations in body temperature, contributing to the early diagnosis of health issues
(Kays et al., 2019; Burke et al., 2019).
Geospatial tracking of cattle is a vital component of drone-based monitoring systems. Researchers have integrated GPS and GIS technologies into drone operations to track cattle movements and optimize grazing strategies
(Turner et al., 2000), who demonstrated how drone-based geospatial data could inform farmers about the efficiency of grazing patterns and help prevent overgrazing.
Data integration from various sources, including drone imagery, environmental sensors and RFID tags, has become a significant area of research
(Won et al., 2020). They proposed a comprehensive cattle monitoring system that integrates data streams for holistic insights into cattle health, behavior and environmental conditions. This integrated approach enables data-driven decision-making for livestock management.
Recent studies have used aerial photos from open data initiatives to detect cattle. To label animals in remote sensing imagery, volunteers are recruited through crowdsourcing platforms like eMammal (emammal.si.edu), Agouti (agouti.eu) and Zooniverse (www.zooniverse.org). These platforms allow volunteers to annotate images with species labels of the individuals in them
(Tuia et al., 2022). These human classifications can help train deep learning models for better performance in the future.
Drone technology and machine learning in the world
The combination of machine learning, drones and UAVs produces results that are more precise, accurate and effective for object detection, Cattle movement and image classification. Fig 7 displays the results of combining drone and machine learning research using the data gathered throughout this investigation. In the fields of drone, UAV and ML research, the USA holds the lead. Asia Pacific comes in second with 40.0% of the research. The minimum drone, UAV and machine learning research are done in the African and Latin American regions, where technology is still lagging. The Asia-Pacific area has an advantage over Europe since Japan country and Korea have been leaders in robotics and machine innovation. Yet, it is anticipated that more drones will be used for product delivery, aerial remote sensing, precision agriculture, monitoring cattle movement, surveying and mapping
(Khan and Mulla, 2019).
Research on drones and UAVs uses machine-learning methods
Fig 8 also demonstrates the utilization of ML strategies during the previous four years in several fields. The link between UAVs, drones and machine learning has employed numerous algorithms. The SVM has the largest percentage (38%) of all algorithms. Due to its capacity to deal with data noise, it is the most widely used algorithm. CNN is in second place with 26% of the market. The deployment of k-nearest neighbours is imminent given their 20% shares. The other algorithms used are-Naive Bayes, liquid state, ANN and Multi-agent learning.
At last, as the drone-based cattle monitoring becomes more widespread, ethical considerations and regulatory challenges have emerged. The ethical implications of constant surveillance on livestock and guidelines for responsible drone-based cattle monitoring was discussed by
Neethirajan (2023). He highlighted the need for regulations that balance the benefits of technology with animal welfare and privacy concerns.