Identification of Araucaria angustifolia trees in an urban forest fragment using UAV images and YOLOv7 structure | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Identification of Araucaria angustifolia trees in an urban forest fragment using UAV images and YOLOv7 structure Alan D'Oliveira Correa, Matheus Kopp Prandini, Vinicius Costa Cysneiros, and 1 more This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-4224004/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract This study addresses the identification of individuals of the Araucaria angustifolia species in urban forest fragments, specifically in the Mixed Ombrophilous Forest (FOM) in Curitiba, Paraná, Brazil. The aim of the study is to use UAV images and the computer vision technique of the YOLOv7 model to detect individuals of A. angustifolia. The FOM is essential for local biodiversity conservation and human well-being but faces challenges due to urban sprawl and the conversion of land use to agriculture. The species is critically endangered, requiring actions and strategies for its conservation. The study highlights the role of Unmanned Aerial Vehicles (UAVs) and deep learning techniques, such as Convolutional Neural Networks (CNNs), in identifying tree species in urban ecosystems. YOLOv7, an architecture based on CNNs, was chosen because of its detection capacity. YOLOv7 is especially effective at detecting a wide variety of objects, including people, vehicles, animals, household objects, road signs and much more, making it an ideal choice for identifying tree species in urban environments. The data was obtained by a DJI Mavic 3 UAV. Utilizing a UAV, the study area of the urban forest was flown over, generating an orthomosaic that was subsequently divided into 14 parts for training, validation, and testing. The YOLOv7 model was trained with the images to detect A. angustifolia trees present in the area. The results show that model achieved a precision of 79.3%, recall of 86.8%, and Mean Average Precision of 87% during training. Comparative analysis with forest inventory data reveals promising performance in detecting A. angustifolia trees. The average confidence of the model's classification was 76.18 ± 12.88%, with 80.81% being the most frequent classification for the median result. The present study uses the effective integration of UAV technology, YOLOv7 model with deep learning technique to detect and assess tree species in urban ecosystems. This approach provides an important tool for conservation strategies aimed at assessing and managing the tree biodiversity in urban forest remnants. YOLO tree detection unmanned aerial vehicles endangered species urban ecosystems Figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 1. Introduction Urban forest fragments are remnants of native forests that have been altered by real estate expansion and human activities (HADDAD et al., 2015). These remnants represent vestiges of the original vegetation and play a crucial role in preserving local biodiversity, constituting the remnants of the native vegetation cover that once dominated the landscape (LINDENMAYER; FISCHER, 2013). The existence of these fragments offers the opportunity to understand how nature can adapt and coexist in urbanized environments, as well as highlighting the importance of conserving these locals for the well-being of communities and environmental sustainability (MULLANEY; LUCKE; TRUEMAN, 2015). The Mixed Ombrophilous Forest (FOM), also known as the Araucaria Forest, is one of the main formations of the Atlantic Forest biome that has been heavily impacted throughout the 20th century (DE DEUS MEDEIROS, 2005). This forest occupied extensive areas of the plateaus in southern Brazil, representing approximately 200.000 km², 40% of which is located in the state of Paraná (MAACK, 1949; KLEIN, 1960). Araucaria angustifolia (Bertol.) Kuntze, popularly known as araucaria, is the dominant tree species in the upper stratum of the FOM and can reach over 30 m in height (SCHEEREN et al., 1999; CHASSOT et al., 2011; FEDRIZZI, 2018). However, over the last century, A. angustifolia has been extensively exploited due to the quality of its wood for construction and its high cellulose content, which is widely used in papermaking (EIRA et al., 1994). It is estimated that between 1930 and 1990, around 100 million A. angustifolia trees were logged (BRASIL, 2005). In the state of Paraná, Southern Brazil, an inventory revealed that primary or untouched Araucaria Forests do not exist, with only 0.8% (66,109 hectares) of forested areas in an advanced stage of succession remaining, which are of significant environmental and scientific importance (CASTELLA; BRITEZ, 2004). These factors led to the inclusion of A. angustifolia on the list of endangered species by the International Union for Conservation of Nature and Natural Resources – IUCN, where it is classified as critically endangered (FARJON, 2006). The species is also on the Official List of Endangered Species of Brazilian Flora (BRASIL, 2008). Therefore, the accurate diagnosis and continuous monitoring of A. angustifolia in forest remnants are crucial for environmental preservation. With technological advances, Unmanned Aerial Vehicles (UAVs), or drones, have increasingly become versatile and accessible tools for research in this field, enabling the mapping and monitoring of trees and forests (SAAD et al., 2021; ECKE et al., 2022; CUNHA NETO et al., 2023). Additionally, computer vision techniques used to analyze images from remote sensors, particularly those based on deep learning, more specifically Convolutional Neural Networks (CNNs), have shown their potential in recognizing tree species in forest regions (KNAUER et al., 2019; SANTOS et al., 2019). These techniques involve applying machine learning models capable of extracting characteristics from images and classifying objects, such as trees, according to their species (ALBUQUERQUE et al., 2022; WAGNER et al., 2022). Such techniques offer the advantage of processing images in real-time and with high precision, outperforming traditional methods based on manual or statistical analysis. The YOLO (You Only Look Once) is an example of computer vision techniques based on deep learning, which uses a CNN to segment images into smaller regions and estimate bounding boxes, as well as the probabilities of the presence of objects in these boxes and their specific identification (REDMON et al., 2016). YOLO has demonstrated an ability to detect a wide variety of objects in images and video frames, while maintaining a high level of accuracy (REDMON et al., 2016). Several researchers have applied these techniques to: crown detection and measurement (WU et al., 2020; SUN et al., 2022; CHEN, 2023); tree species classification (KNAUER et al., 2019; SANTOS et al., 2019; WANG et al., 2019; HAMRAZ et al., 2019; CAO; ZHENG; FANG, 2023); tree counting (HANI et al., 2023; PUTRA; WIJAYANTO, 2023); and identification of tree diseases (JEMAA et al., 2023; MAMALIS et al., 2023; WU et al., 2023). These studies represent a wide range of applications and indicate the versatility and usefulness of these techniques for various purposes, contributing to improvement of monitoring and conservation practices in forest ecosystems. In summary, FOM remnants in urban ecosystems face significant conservation challenges, in which computer vision techniques, such as CNNs and YOLO, are emerging as tools to identify and monitor tree species, contributing to the assessment and management of forest remnants. The integration of Unmanned Aerial Vehicle (UAV) technology with the YOLOv7 identification method presents and innovative approach to conservation, offering promising prospects for protecting biodiversity and promoting environmental sustainability (DÍAZ-DELGADO; MÜCHER, 2019; ZHAO; ZHU, 2023; MOU et al., 2024). In this context, the main aim of this work was to obtain high-resolution images of a FOM in urban forest using a UAV to detect individuals of A. angustifolia with the YOLOv7 computer model. This research provides an integration of technological advances with an application that can contribute to broader preservation efforts and the formulation of public plans to guarantee the ma intendance of urban forests. 2 Material and methods 2.1 Study area This study was carried out in a remnant of Mixed Ombrophilous Forest (FOM) located on the urban limits of the municipality of Curitiba, state of Paraná, Brazil, with approximate coordinates of 25°26'50" - 25°27'33" S and 49°14'16" - 49°14'33" O and an altitude of 900 masl. The total area is estimated at 15.24 hectares, of which 12.96 hectares correspond to Montane Mixed Ombrophilous Forest, while 2.28 hectares are occupied by early succession vegetation, with a predominance of bamboos ( Merostachys spp.). Figure 1 shows the location of the study area. The local climate is classified as Cfb according to the Köppen classification, with humid subtropical mesothermal, characterized by cool summers, winters with frequent frosts and no dry season. The average annual temperatures during the hot and cold months are below 22°C and 18°C, respectively, with an average annual temperature of 17°C. As for relative humidity and average annual rainfall, values of approximately 85% and 1,300 to 1,500 mm are recorded, respectively, with a water index ranging from 60 to 100 mm, with no occurrence of water deficiency throughout the year (MAACK, 1981). Figure 1 – Localization of the study area 2.2 Data collection The data were collected through aerial images captured using a DJI Mavic 3 UAV, which has the following technical specifications: speed of up to 21 m/s, image resolution of 20 MP, FOV (Field Of View) lenses of 84º (equivalent to 24 mm) f/2.8 to f/11, generating images of 5280 x 3956 pixels, with a weight of 899 g (including battery and propellers) and focus accuracy of 1 meter vertically and horizontally, respectively. The UAV's remote control operates on the 5.725-5.850 GHz frequencies. The UAV images consist of bands from the visible electromagnetic spectrum, operating in the RGB (Red, Blue, and Green) system for color composition. Data collection was carried out in favorable weather conditions, with a flight close to midday, to minimize shadows due to the solar angle. Processing was carried out using OpenDroneMap software (WebODM) to generate georeferenced orthomosaics. The orthomosaics were then divided into smaller sections using QGIS software version 3.18, as shown in Figure 2. The cut in orthomosaic was necessary due to its size, since the platform used later to identify the individuals has limitations regarding the number of pixels for processing. The size for the polygons was therefore determined to be approximately 100 m x 100 m. Another approach adopted in the study was to avoid cutting out the treetops, to prevent them from being separated into distinct polygons. Thus, the polygons were adjusted to encircle them, minimizing potential issues in subsequent analysis steps. Figure 2 – Splitting the orthomosaic into smaller sections in QGIS for processing in Roboflow The images were processed to train the YOLOv7 model using the Roboflow platform (DWYER et al., 2022), which offers resources for creating customized computer vision models. In the platform, training of the model was conducted, which included the creation of bounding boxes for the identification of A. angustifolia individuals using the YOLOv7 model, as well as the assignment of labels to specific categories. The training and test of the YOLOv7 model used to detect the trees was carried out using Roboflow Train's AutoML (Automated Machine Learning) tool. This AutoML tool enabled not only the efficient training of the model, but also its implementation for the detection of A. angustifolia trees (personalized object) in the dataset. To train the YOLOv7 model in Google Collaboratory, the essential packages were installed, including Roboflow. Roboflow data was accessed and imported from the platform for analysis. The YOLOv7 method was used to identify the images, and the results were stored in spreadsheets for later analysis. This procedure involved setting up the environment, integrating with Roboflow and applying the YOLOv7 model, ensuring the effectiveness of the identification process. 2.3 Model training We trained the model on the Roboflow platform after loading the images obtained during the field survey. A total of 3,261 araucaria labels for training the model were made referring to the trees present in 300 images, selected from the 848 images covering the mapped area. The labels were distributed as follows: 2,252 for the training set, 687 for validation and 322 for the test set, as illustrated in Figure 3. The model was trained on approximately 160 epochs. Epochs are the The epochs refer to a complete pass of the training data through the YOLOv7 model. The Box Loss indicates how well the YOLOv7 model can locate the center and bounding box of the A. angustifolia in the classification process. Class Loss indicates the classification accuracy of the YOLOv7 model in predicting the classes of araucarias. Object Loss indicates the probability of A. angustifolia being in a proposed region of interest. In addition, the YOLOv7 model's precision, recall, mAP50, and mAP50-95 performance metrics are presented, which are the most important metrics for evaluating the model's performance (Figure 7). The Box Loss, Class Loss, and Object Loss curves showed a similar tendency the training stage, indicating efficient convergence of the model. The curves are expected to decline until they reach a stagnation point (CASAS et al., 2023). During the pre-processing, we transformed the images to reduce training time. At this stage, we applied the following parameters: automatic orientation of the images in different directions and resizing to 640 x 640 pixels. Automatic orientation disregards the EXIF (Exchangeable Image File Format) data of the images, providing a consistent view regardless of the original orientation determined by the EXIF data. This EXIF data usually indicates the orientation of a specific image. As for resizing, this process adjusts the dimensions of the images while maintaining the proportionality of the annotations. Although this results in square and slightly distorted images, it is important to note that data from the original image were not lost during this procedure. In the next step, we increased the number of images to improve the model's performance. This was achieved by applying 90º and 180º anticlockwise and clockwise rotations to the existing images. This approach has the potential to improve the model's ability to generalize, resulting in more effective performance when confronted with previously unseen images. During this process, the increments are sequentially chained together with randomization in the settings and values for each setting being applied to each expanded image. Any duplicates identified during this procedure are filtered out of the final version created. In this way, the number of images in the model went from 300 to 659, representing a significant improvement in the model's performance. Figure 3 details the labeling, training, validation, and testing procedure. Figure 3 – YOLOv7 model labeling, training, validation and testing procedure 2.4 Image georeferencing After classifying the orthomosaics using the YOLOv7 model, the classification results were generated in the form of bounding boxes. These bounding boxes are polygons that surround the A. angustifolia trees identified by the YOLOv7 model, without a coordinate system. To deal this situation, the pixels from image were converted to UTM coordinates using the georeferenced orthomosaic. To perform this transformation, the bounding boxes coordinates were converted into geospatial coordinates (UTM) though conversion operations using the osgeo library (MIARA, 2019) in Python. 2.5 Description of field data and comparison with the model The database used for comparison with the classification data from the YOLOv7 model comes from a forest inventory carried out in 2021, containing information on 12,836 individuals, 342 of which represent A. angustifolia . In turn, specific filtering was carried out for this species, allowing the coordinates of the respective trees to be extracted. These coordinates can be associated with the coordinates of the centroid of the bounding boxes obtained from classifying the images with the A. angustifolia individuals identified in the forest inventory. Since the UAV aerial survey captured images exclusively of the upper canopy of the forest, trees in the lower stratum were not sampled. As a result, the number of individuals detected in the training was lower than that recorded in the inventory. To adjust for this discrepancy, a Python command was implemented to integrate the inventory data with the geoprocessing data, considering the shortest distance between the coordinates of both sets. 2.6 Model performance metrics The model performance metrics used and provided by the Roboflow platform were precision, recall, mAP (Mean Average Precision), confusion matrix, and F1 score. The definitions of each of the metrics used are presented below. We also present some additional metrics specific to the YOLOv7 model provided by Roboflow, such as Box Loss, Class Loss, and Object Loss. mAP can be described as a metric that evaluates the performance of object detection models. The mAP encompasses precision and recall in a single measure, providing a comprehensive view of the model's effectiveness. The annotations mAP50 and mAP50-95 indicate the confidence intervals associated with the metric. mAP50 refers to the average precision considering only detections with a minimum 50% overlap between the predicted bounding box and the reference bounding box. The mAP50-95 expands this analysis to overlap intervals of 50% to 95%. Accuracy is a metric that assesses the quality of the positive predictions made by a classification model. It is calculated as the ratio between the number of true positives (PV) and the sum of true positives and false positives (FP). Accuracy measures the proportion of instances classified as positive by the model that are positive. A high precision indicates that the model is effective in avoiding misclassification of negative instances as positive. Precision is given by Equation 1. Recall is a metric that assesses the model's ability to correctly capture all positive instances. It is calculated as the ratio between the number of true positives (PV) and the sum of true positives and false negatives (FN). Recall measures the proportion of positive instances that were correctly identified by the model in relation to the total number of positive instances in the dataset. A high recall indicates that the model can identify most positive instances. The recall is given by Equation 2. Both metrics are important, but they can be contradictory to each other. Increasing precision often reduces recall and the other way around. Therefore, when evaluating the performance of a model, it is crucial to consider both metrics. The confusion matrix (Figure 4) provides four crucial pieces of information about the classifier's performance. True Positive (TP) occurs when an image is correctly assigned to its corresponding class. False Positive (FP) occurs when an image is wrongly identified as containing something that is not actually present in the image. True Negative (TN) represents an image correctly identified as not belonging to a particular class. Finally, the False Negative (FN) refers to an image wrongly classified as not belonging to a specific class, when in fact it does belong to that class. However, in the case of object detection, it is not taken into account. Based on the confusion matrix, it is possible to derive essential information for calculating precision and recall. Figure 4 – Confusion matrix of the YOLOv7 model The F1 score is a metric that combines the precision and recall measures into a single value, providing a balanced view of the performance of a classification model. It is particularly useful in situations where it is important to consider both false positives and false negatives. F1 ranges from 0 to 1. A score of 1 indicates the best possible performance, indicating an ideal balance between precision and recall. The F1 score is given by Equation 3. The methodological procedure is illustrated in Figure 5, covering everything from obtaining the real data to evaluating the model's performance. This includes flying the UAV, processing the orthomosaics, training the YOLOv7 model and analyzing the performance metrics. Figure 5 – Flowchart of the work methodology 3. Results 3.1 Model Performance The training process ended at around 160 epochs. As can be seen in Figure 6, the mAP did not improve from epoch 60 onwards. Training the YOLOv7 model required approximately 24 hours to complete. During the training stage, the model achieved precision of 79.3%, recall of 86.8%, and mAP of 87%. These metrics provide information on the model's performance in detecting araucarias in the images. Figure 6 – Performance of the YOLOv7 model in relation to the mAP metric during the training periods Figure 7 illustrates the results of different performance curves for the YOLOv7 model in identifying A. angustifolia in the training and validation stages. With a mAP of 87%, the model showed a low rate of false negatives and false positives, indicating precision and recall in its predictions. This score suggests that the model has a robust ability to correctly identify objects of interest, minimizing cases of non-detection and incorrect detection (KUZNETSOVA, 2021; SHI, 2021). Figure 7 – YOLOv7 model performance curves during the training and validation stages Figure 8 shows a scatter plot representing the F1 scores for each image in the YOLOv7 model. Each point in the plot corresponds to an image from the test and validation of the model, with semantically similar images (similar characteristics) grouped close together. The coloring of the dots reflects the F1 scores associated with each image. When analyzing the F1 scores, it was observed that around 91.01% of the images achieved a score above 60%, while only 8.99% were below this value. The average F1 score was 77.16%. This metric provides a clear understanding of the relative performance of the images, highlighting those that showed significant agreement between the true labels and the model's predictions. In addition, this metric makes it easier to identify specific patterns or characteristics that can influence the model's performance on various types of images. This analysis offers valuable insights for improving the effectiveness of the YOLOv7 model in other locations for detecting A. angustifolia . Figure 8 – F1 score of YOLOv7 model for detecting A. angustifolia The minimum deviation refers to the difference between the center point of the bounding box generated by the YOLOv7 model and the actual coordinate identified in the A. angustifolia forest inventory. The largest minimum error found was around 5 m between the actual point and the one estimated by the YOLOv7 model. On average, the error was 1.86 ± 1.18 m. The data obtained from the forest inventory also reveals the crown area (m²) and the diameter at breast height (DBH, cm). The graphical representation of the crown area, as well as the descriptive statistics (Figure 9), is shown in Figure 10. The average crown area was 205.52 ± 69.64 m 2 , in a range from 52.81 m 2 to 427.36 m 2 . The APC is presented in a range of colors in Figure 10-A. The average APC of the A. angustifolia was 65.20 ± 11.42 cm, ranging from 34.47 cm to 102.81 cm. Figure 9 – Descriptive statistics for minimum error, crown area and DBH The final comparison between the trees of A. angustifolia identified in the forest inventory and those classified by the YOLOv7 model is shown in Figure 10. The red dots indicate the actual position of the trees. The squares in Figure 10-A indicate the actual position of the trees with variation in crown size. By comparison, the circles indicate the araucaria identification by the YOLOv7 model, including the variation in crown size. Figure 10-B shows in color the classification confidence of the YOLOv7 model for identifying the A. angustifolia trees. The result obtained from the classification indicates a predominance of confidence, as can be seen in most classifications in red. The average classification confidence of the YOLOv7 model was 76.18 ± 12.88%, with 80.81% being the typical classification for the median. The classification of the YOLOv7 model proved satisfactory for identifying A. angustifolia individuals in an urban forest. The generalization of the model can contribute to public management for conservation and monitoring of endangered species), and their sustainable management (SÜHS; GIEHL; PERONI, 2018; ORELLANA et al., 2021; FINGER et al., 2023). Against this backdrop, this work significantly expands the applications of computer vision, especially in the context of YOLO, by identifying a tree of critical importance, the species A. angustifolia , which appears on lists of endangered species. The approach adopted, inspired by the advances and insights provided by previous studies, stands out as a valuable contribution to the preservation and monitoring of endangered species. 4. Discussion Our study builds upon the advancements in computer vision techniques, particularly the utilization of YOLOv7, to detect and monitor tree species, with a specific focus on Araucaria angustifolia in an urban forest environment. The performance of our model was evaluated using various metrics, demonstrating its effectiveness and reliability in identifying target trees in urban ecosystems Comparing our results to previous studies employing YOLO for tree species detection, we observed comparable or superior performance. Prasvita et al. (2023) achieved mAP50 and mAP95 values of 85.1% and 45.7%, respectively, in detecting oil palm trees using YOLOv5. In contrast, our model achieved a mAP of 87%, indicating similar levels of accuracy. Similarly, Singh et al. (2023) achieved an F1 score of 81% in detecting cassava stems with YOLOv4, whereas our model achieved an F1 score of 87%. These comparisons highlight the robustness and effectiveness of our approach in identifying tree species. Furthermore, our analysis of F1 scores revealed that 91.01% of the images achieved a score above 60%, with an average F1 score of 77.16%. This suggests strong agreement between true labels and predicted results for most images, indicating the reliability of our model. In addition to localization accuracy, our model exhibited satisfactory performance in terms of minimum deviation, with an average error of 1.86 ± 1.18 m between predicted and actual coordinates of the trees. This level of accuracy is crucial for applications requiring precise spatial information, such as forest inventory and management. Moreover, our study contributes to the growing body of research demonstrating the potential of computer vision techniques in ecological monitoring and conservation efforts. By providing accurate and efficient methods for identifying endangered tree species like Araucaria angustifolia, our approach holds promise for enhancing biodiversity conservation and promoting sustainable forest management practices. Our findings align with those of previous studies that have utilized YOLO for tree species detection. Jemaa et al. (2023) achieved an F1 of 86.24% for detecting apple trees and an overall accuracy of 97.52% for assessing tree health. Similarly, Abeyrathna et al. (2023) obtained mAP50 values of 84%, 86%, 90.5%, and 77.5% for different YOLO algorithms in counting apples. These results collectively underscore the versatility and applicability of YOLO in tree detection tasks across diverse ecological settings. In summary, our study demonstrates the efficacy of YOLOv7 in identifying Araucaria angustifolia trees in an urban forest environment. The robust performance of our model, as evidenced by various metrics, highlights its potential for supporting ecological research, conservation initiatives, and sustainable forest management practices. Figure 10 – YOLOv7 model classification for A. angustifolia trees in the urban forest located in Curitiba, Paraná, Brazil 5. Conclusion Trees identification in urban forest fragments, particularly Araucaria angustifolia , represent a significant challenge to environment management. The scarcity of resources, the time required in the field and the need for trained personnel stand out as major obstacles. However, the importance of accurately identifying A. angustifolia for conservation is undeniable, especially considering the threat of extinction hanging over the remnants of the species, which are limited to restricted areas. In this context, the application of advanced computer vision and machine learning techniques, exemplified by the YOLOv7 model, is emerging as a promising solution. These tools not only have the potential to reduce the operational costs associated with identifying species in urban forest fragments, but can also increase the efficiency of the process, providing reliable results within a short timeframe. The focus of this study involved a novel approach to identifying A. angustifolia in an urban forest fragment. The use of aerial images obtained by drone to capture high-resolution georeferenced data, along with the combined utilization of the YOLOv7 model and the Roboflow training platform, proved effective by simplifying the process and eliminating the need for complex pre-processing. When comparing the results obtained with the data from the forest inventory, there was remarkable consistency in the identification of A. angustifolia . Even though some trees recorded in the inventory were in lower forest strata, the YOLOv7 model proved its ability to detect them effectively. It is therefore concluded that the application of advanced technologies, such as aerial images and deep learning, represents a powerful tool not only for assessing and preserving A. angustifolia , but also for making a significant contribution to the identification and conservation of other species in urban forests. Declarations Conflict of interest statement All authors have no conflicts of interest. References ABEYRATHNA, RM Rasika D. et al. Recognition and Counting of Apples in a Dynamic State Using a 3D Camera and Deep Learning Algorithms for Robotic Harvesting Systems. Sensors, v. 23, n. 8, p. 3810, 2023. ALBUQUERQUE, Rafael Walter et al. Mapping key indicators of forest restoration in the amazon using a low-cost drone and artificial intelligence. Remote Sensing, v. 14, n. 4, p. 830, 2022. BARBIZAN SÜHS, Rafael; HETTWER GIEHL, Eduardo Luis; PERONI, Nivaldo. Interaction of land management and araucaria trees in the maintenance of landscape diversity in the highlands of southern Brazil. Plos one, v. 13, n. 11, p. e0206805, 2018. BRASIL. Ministério do Meio Ambiente. Instrução Normativa N. 148, de 07 de junho de 2022. Lista Oficial das Espécies da Flora Brasileira Ameaçadas de Extinção, 2008. Disponível em: . Acesso em: 13 de setembro de 2023. BRASIL. Ministério do Meio Ambiente. Proteção e recuperação da Floresta com Araucárias: Governo propõe novas áreas protegidas para Paraná e Santa Catarina, DF, 2005. Disponível em: . Acesso em: 15 setembro de 2023. CAO, Lianjun; ZHENG, Xinyu; FANG, Luming. The Semantic Segmentation of Standing Tree Images Based on the Yolo V7 Deep Learning Algorithm. Electronics, v. 12, n. 4, p. 929, 2023. CASAS, G. G. et al. Automatic detection and counting of stacked eucalypt timber using the yolov8 model. Forests, MDPI AG, v. 14, n. 12, p. 2369, dez. 2023. ISSN 1999-4907. CASTELLA, P. R.; BRITEZ, R. M.; MIKICH, S. B. Áreas prioritárias de Floresta com Araucária para conservação no estado do Paraná. In: Curitiba, Anais do IV Congresso Brasileiro de Unidades de Conservação. 2004. p. 1677-1486. CHASSOT, Tatiane et al. Modelos de crescimento em diâmetro de árvores individuais de Araucaria angustifolia (Bertol.) Kuntze em Floresta Ombrófila Mista. Ciência Florestal, v. 21, p. 303-313, 2011. CHEN, Youliang et al. An object detection method for bayberry trees based on an improved YOLO algorithm. International Journal of Digital Earth, v. 16, n. 1, p. 781-805, 2023. CUNHA NETO, ERNANDES M. DA et al. Combining ALS and UAV to derive the height of Araucaria angustifolia in the Brazilian Atlantic Rain Forest. Anais da Academia Brasileira de Ciências, v. 95, n. 1, p. e20201503, 2023. DE DEUS MEDEIROS, João; SAVI, Maurício; DE BRITO, Bernardo Ferreira Alves. Seleção de áreas para criação de Unidades de Conservação na Floresta Ombrófila Mista. Biotemas, v. 18, n. 2, p. 33-50, 2005. DÍAZ-DELGADO, Ricardo; MÜCHER, Sander (Ed.). Drones for Biodiversity Conservation and Ecological Monitoring. MDPI, 2019. DWYER, B. et al. Roboflow (Version 1.0) [Software]. ECKE, Simon et al. UAV-based forest health monitoring: A systematic review. Remote Sensing, v. 14, n. 13, p. 3205, 2022. EIRA, M. T. S. et al. Efeito do teor de água sobre a germinação de sementes de Araucaria angustifolia (Bert.) O. Ktze.-Araucariaceae. Revista brasileira de sementes, v. 16, n. 1, p. 71-75, 1994. FARJON, A. 2006. Araucaria angustifolia . In: IUCN – International Union for Conservation of Nature and Natural Resources, 2011. IUCN red list of threatened species. Disponível em: . Acesso em: 13 de setembro de 2023. FEDRIZZI, Joice Cristina. Análise da chuva polínica no Parque Nacional das Araucárias–Santa Catarina, Brasil. 2018. FINGER, César Augusto Guimarães et al. Simulating Sustainable Forest Management Practices Using Crown Attributes: Insights for Araucaria angustifolia Trees in Southern Brazil. Forests, v. 14, n. 7, p. 1285, 2023. HADDAD, Nick M. et al. Fragmentação do habitat e seu impacto duradouro nos ecossistemas da Terra. A ciência avança, v. 1, n. 2, pág. e1500052, 2015. HAMRAZ, Hamid et al. Deep learning for conifer/deciduous classification of airborne LiDAR 3D point clouds representing individual trees. ISPRS Journal of Photogrammetry and Remote Sensing, v. 158, p. 219-230, 2019. HANI, E. Um et al. Automatic Tree Counting from Satellite Imagery Using YOLO V5, SSD and UNET Models: A case study of a campus in Islamabad, Pakistan. In: 2023 3rd International Conference on Artificial Intelligence (ICAI). IEEE, 2023. p. 88-94. JEMAA, Hela et al. UAV-Based Computer Vision System for Orchard Apple Tree Detection and Health Assessment. Remote Sensing, v. 15, n. 14, p. 3558, 2023. KLEIN, Roberto M. O aspecto dinâmico do pinheiro brasileiro. Sellowia, v. 12, n. 12, p. 17-44, 1960. KNAUER, Uwe et al. Tree species classification based on hybrid ensembles of a convolutional neural network (CNN) and random forest classifiers. Remote Sensing, v. 11, n. 23, p. 2788, 2019. KUZNETSOVA, Anna A. Statistical Precision-Recall Curves for Object Detection Algorithms Performance Measurement. Cyber-Physical Systems: Modelling and Intelligent Control, p. 335-348, 2021. LINDENMAYER, David B.; FISCHER, Joern. Habitat fragmentation and landscape change: an ecological and conservation synthesis. Island Press, 2013. MAACK, Reinhard. Geografia física do Estado do Paraná. (No Title), 1981. MAACK, Reinhard. Notas complementares a apresentação preliminar do mapa fitogeográfico do Estado do Paraná (Brasil). Arquivos do Museu Paranaense, v. 7, p. 351-361, 1949. MAMALIS, Marios et al. Deep Learning for Detecting Verticillium Fungus in Olive Trees: Using YOLO in UAV Imagery. Algorithms, v. 16, n. 7, p. 343, 2023. MIARA, I. A dummy placeholder for the gdal package. 2019. MOU, Chao et al. A novel efficient wildlife detecting method with lightweight deployment on UAVs based on YOLOv7. IET Image Processing, 2024. MULLANEY, Jennifer; LUCKE, Terry; TRUEMAN, Stephen J. A review of benefits and challenges in growing street trees in paved urban environments. Landscape and urban planning, v. 134, p. 157-166, 2015. ORELLANA, Enrique et al. Predicting the dynamics of a native Araucaria forest using a distance-independent individual tree-growth model. Forest Ecosystems, v. 3, n. 1, p. 1-11, 2016. PRASVITA, Desta Sandya; ARYMURTHY, Aniati Murni; CHAHYATI, Dina. Deep Learning Model for Automatic Detection of Oil Palm Trees in Indonesia with YOLO-V5. In: Proceedings of the 8th International Conference on Sustainable Information Engineering and Technology. 2023. p. 39-44. PUTRA, Yoga Cahya; WIJAYANTO, Arie Wahyu. Automatic detection and counting of oil palm trees using remote sensing and object-based deep learning. Remote Sensing Applications: Society and Environment, v. 29, p. 100914, 2023. REDMON, Joseph et al. You only look once: Unified, real-time object detection. In: Proceedings of the IEEE conference on computer vision and pattern recognition. 2016. p. 779-788. SAAD, Felipe et al. Detectability of the Critically Endangered Araucaria Angustifolia Tree Using Worldview-2 Images, Google Earth Engine and UAV-LiDAR. Land , v. 10, n. 12, p. 1316, 2021. SANTOS, Anderson Aparecido dos et al. Assessment of CNN-based methods for individual tree detection on images captured by RGB cameras attached to UAVs. Sensors, v. 19, n. 16, p. 3595, 2019. SCHEEREN, Luciano Weber et al. Crescimento em altura de Araucaria angustifolia (Bert.) O. Ktze. Em três sítios naturais, na região de Canela-RS. Ciência Florestal, v. 9, p. 23-40, 1999. SHI, Zihong. Object detection models and research directions. In: 2021 IEEE International Conference on Consumer Electronics and Computer Engineering (ICCECE). IEEE, 2021. p. 546-550. ZHAO, LiangLiang; ZHU, MinLing. MS-YOLOv7: YOLOv7 Based on Multi-Scale for Object Detection on UAV Aerial Photography. Drones, v. 7, n. 3, p. 188, 2023. WAGNER, Fabien H. et al. Regional mapping and spatial distribution analysis of canopy palms in an amazon forest using deep learning and VHR images. Remote Sensing, v. 12, n. 14, p. 2225, 2020. WANG, Jiamin et al. Individual rubber tree segmentation based on ground-based LiDAR data and faster R-CNN of deep learning. Forests, v. 10, n. 9, p. 793, 2019. WU, Kunjie et al. An improved YOLO model for detecting trees suffering from pine wilt disease at different stages of infection. Remote Sensing Letters, v. 14, n. 2, p. 114-123, 2023. WU, Jintao et al. Extracting apple tree crown information from remote imagery using deep learning. Computers and electronics in agriculture, v. 174, p. 105504, 2020. Additional Declarations No competing interests reported. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-4224004","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":288938331,"identity":"1d781098-5a4d-44b2-a764-62a1dcca15c6","order_by":0,"name":"Alan D'Oliveira Correa","email":"","orcid":"","institution":"Federal University of Paraná (UFPR)","correspondingAuthor":false,"prefix":"","firstName":"Alan","middleName":"D'Oliveira","lastName":"Correa","suffix":""},{"id":288938333,"identity":"f2e47eae-1fe3-4756-83d8-bda76ba8ed02","order_by":1,"name":"Matheus Kopp Prandini","email":"","orcid":"","institution":"Federal University of Paraná (UFPR)","correspondingAuthor":false,"prefix":"","firstName":"Matheus","middleName":"Kopp","lastName":"Prandini","suffix":""},{"id":288938334,"identity":"99e19f75-2709-4cc6-839f-5364bec1e1e5","order_by":2,"name":"Vinicius Costa Cysneiros","email":"","orcid":"","institution":"Federal University of Santa Catarina - UFSC","correspondingAuthor":false,"prefix":"","firstName":"Vinicius","middleName":"Costa","lastName":"Cysneiros","suffix":""},{"id":288938337,"identity":"62fb25a9-224b-4d02-96d4-52f3438c4cdf","order_by":3,"name":"Allan Libanio Pelissari","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABA0lEQVRIiWNgGAWjYDACduYGECXDBuYZ2AAJxsYDeLUwM4K18EC1pIG0NBCnBco9DCbxauFvZmz8XLjDhoeP//jDzxUF5+3Wth8G2lJjE41Li8RhxmbpmWfSeNgkcowlzxjcTt52JhGo5VhabgMuPYcZG6R52w4DtfAwSDYAtZgdAGphbDiMU4s80JbfvG3/edj4jz/+2WBwLtns/EP8WgwOM7YBbTkADLEEM6AtB+zMbhCwxRCoxZr3TDLIL2aWDQbJCWY3gLYk4PGL3PHmw7d5d9jJyfcff3yz4Y+dvdn59IcPPtTY4PY+CDAiySaC2Qn4lKNrsSekeBSMglEwCkYeAABXoV1ukJ/2ugAAAABJRU5ErkJggg==","orcid":"","institution":"Federal University of Paraná (UFPR)","correspondingAuthor":true,"prefix":"","firstName":"Allan","middleName":"Libanio","lastName":"Pelissari","suffix":""}],"badges":[],"createdAt":"2024-04-05 16:09:36","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-4224004/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-4224004/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":54596564,"identity":"c6619150-b37a-48df-bf55-81744fff9ca3","added_by":"auto","created_at":"2024-04-12 19:05:24","extension":"png","order_by":1,"title":"Figure 1","display":"","copyAsset":false,"role":"figure","size":993609,"visible":true,"origin":"","legend":"\u003cp\u003eLocalization of the study area\u003c/p\u003e","description":"","filename":"Picture1.png","url":"https://assets-eu.researchsquare.com/files/rs-4224004/v1/4bbdf8d3d86ec50f9d3aec44.png"},{"id":54596560,"identity":"84a0decd-c30e-4abf-9f9c-9267d25029fa","added_by":"auto","created_at":"2024-04-12 19:05:23","extension":"png","order_by":2,"title":"Figure 2","display":"","copyAsset":false,"role":"figure","size":476983,"visible":true,"origin":"","legend":"\u003cp\u003eSplitting the orthomosaic into smaller sections in QGIS for processing in Roboflow\u003c/p\u003e","description":"","filename":"Picture2.png","url":"https://assets-eu.researchsquare.com/files/rs-4224004/v1/93cad736ddad163c81818f65.png"},{"id":54597136,"identity":"9fd40b99-0e5a-4839-a9ee-93051bd74de7","added_by":"auto","created_at":"2024-04-12 19:13:23","extension":"png","order_by":3,"title":"Figure 3","display":"","copyAsset":false,"role":"figure","size":464176,"visible":true,"origin":"","legend":"\u003cp\u003eYOLOv7 model labeling, training, validation and testing procedure\u003c/p\u003e","description":"","filename":"Picture3.png","url":"https://assets-eu.researchsquare.com/files/rs-4224004/v1/c5ad0bc2b794126ab35a7f7d.png"},{"id":54596554,"identity":"51f28ce7-d0bd-41cd-9ccb-57826e486b92","added_by":"auto","created_at":"2024-04-12 19:05:22","extension":"png","order_by":4,"title":"Figure 4","display":"","copyAsset":false,"role":"figure","size":32149,"visible":true,"origin":"","legend":"\u003cp\u003eConfusion matrix of the YOLOv7 model\u003c/p\u003e","description":"","filename":"Picture4.png","url":"https://assets-eu.researchsquare.com/files/rs-4224004/v1/a15736db9ce95c10f490d954.png"},{"id":54596558,"identity":"fe59c95b-cf85-4248-be6b-c20df282cd65","added_by":"auto","created_at":"2024-04-12 19:05:23","extension":"png","order_by":5,"title":"Figure 5","display":"","copyAsset":false,"role":"figure","size":187854,"visible":true,"origin":"","legend":"\u003cp\u003eFlowchart of the work methodology\u003c/p\u003e","description":"","filename":"Picture5.png","url":"https://assets-eu.researchsquare.com/files/rs-4224004/v1/2af0e216fb7bee36bd7b05da.png"},{"id":54596556,"identity":"c9ad6083-4799-43f2-b693-14aa23387d29","added_by":"auto","created_at":"2024-04-12 19:05:23","extension":"png","order_by":6,"title":"Figure 6","display":"","copyAsset":false,"role":"figure","size":87957,"visible":true,"origin":"","legend":"\u003cp\u003ePerformance of the YOLOv7 model in relation to the mAP metric during the training periods\u003c/p\u003e","description":"","filename":"Picture6.png","url":"https://assets-eu.researchsquare.com/files/rs-4224004/v1/45f1837172d3cbfcc329e9a3.png"},{"id":54596562,"identity":"370ce117-6ab7-4e38-a2ba-ee830515e6fc","added_by":"auto","created_at":"2024-04-12 19:05:24","extension":"png","order_by":7,"title":"Figure 7","display":"","copyAsset":false,"role":"figure","size":341306,"visible":true,"origin":"","legend":"\u003cp\u003eYOLOv7 model performance curves during the training and validation stages\u003c/p\u003e","description":"","filename":"Picture7.png","url":"https://assets-eu.researchsquare.com/files/rs-4224004/v1/eebb5c3a8701ffdc508fe7c6.png"},{"id":54597137,"identity":"db23797d-0c97-4bfa-be48-137a601898ed","added_by":"auto","created_at":"2024-04-12 19:13:23","extension":"png","order_by":8,"title":"Figure 8","display":"","copyAsset":false,"role":"figure","size":70640,"visible":true,"origin":"","legend":"\u003cp\u003eF1 score of YOLOv7 model for detecting \u003cem\u003eA. angustifolia\u003c/em\u003e\u003c/p\u003e","description":"","filename":"Picture8.png","url":"https://assets-eu.researchsquare.com/files/rs-4224004/v1/3667f1f4461c81bd0158e4b1.png"},{"id":54596559,"identity":"f2159a50-0823-4bff-8d2e-099887e83e29","added_by":"auto","created_at":"2024-04-12 19:05:23","extension":"png","order_by":9,"title":"Figure 9","display":"","copyAsset":false,"role":"figure","size":108656,"visible":true,"origin":"","legend":"\u003cp\u003eDescriptive statistics for minimum error, crown area and DBH\u003c/p\u003e","description":"","filename":"Picture9.png","url":"https://assets-eu.researchsquare.com/files/rs-4224004/v1/d39c60218700eb00370c121c.png"},{"id":54596563,"identity":"c15dbab6-b5b2-4f05-a8b3-0d60216226a5","added_by":"auto","created_at":"2024-04-12 19:05:24","extension":"png","order_by":10,"title":"Figure 10","display":"","copyAsset":false,"role":"figure","size":1309385,"visible":true,"origin":"","legend":"\u003cp\u003eYOLOv7 model classification for \u003cem\u003eA. angustifolia\u003c/em\u003e trees in the urban forest located in Curitiba, Paraná, Brazil\u003c/p\u003e","description":"","filename":"Picture10.png","url":"https://assets-eu.researchsquare.com/files/rs-4224004/v1/bf066aad788ad06969732791.png"},{"id":55354871,"identity":"e728eea0-007b-4f4e-b9cd-b247af40cd73","added_by":"auto","created_at":"2024-04-26 06:58:46","extension":"pdf","order_by":0,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":4724885,"visible":true,"origin":"","legend":"","description":"","filename":"manuscript.pdf","url":"https://assets-eu.researchsquare.com/files/rs-4224004/v1/7273ac3e-6ff7-42a9-bef7-3a751bd9eb2b.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Identification of Araucaria angustifolia trees in an urban forest fragment using UAV images and YOLOv7 structure","fulltext":[{"header":"1. Introduction","content":"\u003cp\u003eUrban forest fragments are remnants of native forests that have been altered by real estate expansion and human activities (HADDAD et al., 2015). These remnants represent vestiges of the original vegetation and play a crucial role in preserving local biodiversity, constituting the remnants of the native vegetation cover that once dominated the landscape (LINDENMAYER; FISCHER, 2013). The existence of these fragments offers the opportunity to understand how nature can adapt and coexist in urbanized environments, as well as highlighting the importance of conserving these locals for the well-being of communities and environmental sustainability (MULLANEY; LUCKE; TRUEMAN, 2015).\u003c/p\u003e\n\u003cp\u003eThe Mixed Ombrophilous Forest (FOM), also known as the Araucaria Forest, is one of the main formations of the Atlantic Forest biome that has been heavily impacted throughout the 20th century (DE DEUS MEDEIROS, 2005). This forest occupied extensive areas of the plateaus in southern Brazil, representing approximately 200.000 km\u0026sup2;, 40% of which is located in the state of Paran\u0026aacute; (MAACK, 1949; KLEIN, 1960). \u003cem\u003eAraucaria angustifolia\u003c/em\u003e (Bertol.) Kuntze, popularly known as araucaria, is the dominant tree species in the upper stratum of the FOM and can reach over 30 m in height (SCHEEREN et al., 1999; CHASSOT et al., 2011; FEDRIZZI, 2018).\u003c/p\u003e\n\u003cp\u003eHowever, over the last century, \u003cem\u003eA. angustifolia\u003c/em\u003e has been extensively exploited due to the quality of its wood for construction and its high cellulose content, which is widely used in papermaking (EIRA et al., 1994). It is estimated that between 1930 and 1990, around 100 million \u003cem\u003eA. angustifolia\u003c/em\u003e trees were logged (BRASIL, 2005). In the state of Paran\u0026aacute;, Southern Brazil, an inventory revealed that primary or untouched Araucaria Forests do not exist, with only 0.8% (66,109 hectares) of forested areas in an advanced stage of succession remaining, which are of significant environmental and scientific importance (CASTELLA; BRITEZ, 2004). These factors led to the inclusion of \u003cem\u003eA. angustifolia\u003c/em\u003e on the list of endangered species by the International Union for Conservation of Nature and Natural Resources \u0026ndash; IUCN, where it is classified as critically endangered (FARJON, 2006). The species is also on the Official List of Endangered Species of Brazilian Flora (BRASIL, 2008).\u003c/p\u003e\n\u003cp\u003eTherefore, the accurate diagnosis and continuous monitoring of \u003cem\u003eA. angustifolia\u003c/em\u003e in forest remnants are crucial for environmental preservation. With technological advances, Unmanned Aerial Vehicles (UAVs), or drones, have increasingly become versatile and accessible tools for research in this field, enabling the mapping and monitoring of trees and forests (SAAD et al., 2021; ECKE et al., 2022; CUNHA NETO et al., 2023). Additionally, computer vision techniques used to analyze images from remote sensors, particularly those based on deep learning, more specifically Convolutional Neural Networks (CNNs), have shown their potential in recognizing tree species in forest regions (KNAUER et al., 2019; SANTOS et al., 2019). These techniques involve applying machine learning models capable of extracting characteristics from images and classifying objects, such as trees, according to their species (ALBUQUERQUE et al., 2022; WAGNER et al., 2022). Such techniques offer the advantage of processing images in real-time and with high precision, outperforming traditional methods based on manual or statistical analysis.\u003c/p\u003e\n\u003cp\u003eThe YOLO (You Only Look Once) is an example of computer vision techniques based on deep learning, which uses a CNN to segment images into smaller regions and estimate bounding boxes, as well as the probabilities of the presence of objects in these boxes and their specific identification (REDMON et al., 2016). YOLO has demonstrated an ability to detect a wide variety of objects in images and video frames, while maintaining a high level of accuracy (REDMON et al., 2016).\u003c/p\u003e\n\u003cp\u003eSeveral researchers have applied these techniques to: \u0026nbsp; crown detection and measurement (WU et al., 2020; SUN et al., 2022; CHEN, 2023); tree species classification (KNAUER et al., 2019; SANTOS et al., 2019; WANG et al., 2019; HAMRAZ et al., 2019; CAO; ZHENG; FANG, 2023); tree counting (HANI et al., 2023; PUTRA; WIJAYANTO, 2023); and \u0026nbsp;identification of tree diseases (JEMAA et al., 2023; MAMALIS et al., 2023; WU et al., 2023). These studies represent a wide range of applications and indicate the versatility and usefulness of these techniques for various purposes, contributing to improvement of monitoring and conservation practices in forest ecosystems.\u003c/p\u003e\n\u003cp\u003eIn summary, FOM remnants in urban ecosystems face significant conservation challenges, in which computer vision techniques, such as CNNs and YOLO, are emerging as tools to identify and monitor tree species, contributing to the assessment and management of forest remnants. The integration of Unmanned Aerial Vehicle (UAV) technology with the YOLOv7 identification method presents and innovative approach to conservation, offering promising prospects for protecting biodiversity and promoting environmental sustainability (D\u0026Iacute;AZ-DELGADO; M\u0026Uuml;CHER, 2019; ZHAO; ZHU, 2023; MOU et al., 2024). In this context, the main aim of this work was to obtain high-resolution images of a FOM in urban forest using a UAV to detect individuals of \u003cem\u003eA. angustifolia\u003c/em\u003e with the YOLOv7 computer model. This research provides an integration of technological advances with an application that can contribute to broader preservation efforts and the formulation of public plans to guarantee the ma intendance of urban forests.\u003c/p\u003e"},{"header":"2\tMaterial and methods","content":"\u003ch2\u003e2.1 Study area\u003c/h2\u003e\n\u003cp\u003eThis study was carried out in a remnant of Mixed Ombrophilous Forest (FOM) located on the urban limits of the municipality of Curitiba, state of Paraná, Brazil, with approximate coordinates of 25°26'50\" - 25°27'33\" S and 49°14'16\" - 49°14'33\" O and an altitude of 900 masl. The total area is estimated at 15.24 hectares, of which 12.96 hectares correspond to Montane Mixed Ombrophilous Forest, while 2.28 hectares are occupied by early succession vegetation, with a predominance of bamboos (\u003cem\u003eMerostachys\u0026nbsp;\u003c/em\u003espp.).\u0026nbsp;Figure 1\u0026nbsp;shows the location of the study area.\u003c/p\u003e\n\u003cp\u003eThe local climate is classified as Cfb according to the Köppen classification, with humid subtropical mesothermal, characterized by cool summers, winters with frequent frosts and no dry season. The average annual temperatures during the hot and cold months are below 22°C and 18°C, respectively, with an average annual temperature of 17°C. As for relative humidity and average annual rainfall, values of approximately 85% and 1,300 to 1,500 mm are recorded, respectively, with a water index ranging from 60 to 100 mm, with no occurrence of water deficiency throughout the year (MAACK, 1981).\u003c/p\u003e\n\u003cp\u003eFigure\u0026nbsp;1\u0026nbsp;– Localization of the study area\u003c/p\u003e\n\u003ch2\u003e2.2 \u0026nbsp;Data collection\u003c/h2\u003e\n\u003cp\u003eThe data were collected through aerial images captured using a DJI Mavic 3 UAV, which has the following technical specifications: speed of up to 21 m/s, image resolution of 20 MP, FOV (Field Of View) lenses of 84º (equivalent to 24 mm) f/2.8 to f/11, generating images of 5280 x 3956 pixels, with a weight of 899 g (including battery and propellers) and focus accuracy of 1 meter vertically and horizontally, respectively. The UAV's remote control operates on the 5.725-5.850 GHz frequencies. \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;The UAV images consist of bands from the visible electromagnetic spectrum, operating in the RGB (Red, Blue, and Green) system for color composition. Data collection was carried out in favorable weather conditions, with a flight close to midday, to minimize shadows due to the solar angle.\u003c/p\u003e\n\u003cp\u003e\u0026nbsp;Processing was carried out using OpenDroneMap software (WebODM) to generate georeferenced orthomosaics. The orthomosaics were then divided into smaller sections using QGIS software version 3.18, as shown in Figure 2. The cut in orthomosaic was necessary due to its size, since the platform used later to identify the individuals has limitations regarding the number of pixels for processing. The size for the polygons was therefore determined to be approximately 100 m x 100 m. Another approach adopted in the study was to avoid cutting out the treetops, to prevent them from being separated into distinct polygons. Thus, the polygons were adjusted to encircle them, minimizing potential issues in subsequent analysis steps.\u003c/p\u003e\n\u003cp\u003eFigure\u0026nbsp;2\u0026nbsp;– Splitting the orthomosaic into smaller sections in QGIS for processing in Roboflow\u003c/p\u003e\n\u003cp\u003eThe images were processed to train the YOLOv7 model using the Roboflow platform (DWYER et al., 2022), which offers resources for creating customized computer vision models. In the platform, training of the model was conducted, which included the creation of bounding boxes for the identification of \u003cem\u003eA. angustifolia\u003c/em\u003e individuals using the YOLOv7 model, as well as the assignment of labels to specific categories.\u003c/p\u003e\n\u003cp\u003eThe training and test of the YOLOv7 model used to detect the trees was carried out using Roboflow Train's AutoML (Automated Machine Learning) tool. This AutoML tool enabled not only the efficient training of the model, but also its implementation for the detection of \u003cem\u003eA. angustifolia\u003c/em\u003e trees (personalized object) in the dataset.\u003c/p\u003e\n\u003cp\u003eTo train the YOLOv7 model in Google Collaboratory, the essential packages were installed, including Roboflow. Roboflow data was accessed and imported from the platform for analysis. The YOLOv7 method was used to identify the images, and the results were stored in spreadsheets for later analysis. This procedure involved setting up the environment, integrating with Roboflow and applying the YOLOv7 model, ensuring the effectiveness of the identification process.\u003c/p\u003e\n\u003ch2\u003e2.3 \u0026nbsp;Model training\u003c/h2\u003e\n\u003cp\u003eWe trained the model on the Roboflow platform after loading the images obtained during the field survey. A total of 3,261 araucaria labels for training the model were made referring to the trees present in 300 images, selected from the 848 images covering the mapped area. The labels were distributed as follows: 2,252 for the training set, 687 for validation and 322 for the test set, as illustrated in\u0026nbsp;Figure 3. The model was trained on approximately 160 epochs. Epochs are the The epochs refer to a complete pass of the training data through the YOLOv7 model.\u003c/p\u003e\n\u003cp\u003eThe Box Loss indicates how well the YOLOv7 model can locate the center and bounding box of the \u003cem\u003eA. angustifolia\u003c/em\u003e in the classification process. Class Loss indicates the classification accuracy of the YOLOv7 model in predicting the classes of araucarias. Object Loss indicates the probability of \u003cem\u003eA. angustifolia\u003c/em\u003e being in a proposed region of interest.\u003c/p\u003e\n\u003cp\u003eIn addition, the YOLOv7 model's precision, recall, mAP50, and mAP50-95 performance metrics are presented, which are the most important metrics for evaluating the model's performance (Figure 7). The Box Loss, Class Loss, and Object Loss curves showed a similar tendency the training stage, indicating efficient convergence of the model. \u0026nbsp;The curves are expected to decline until they reach a stagnation point (CASAS et al., 2023).\u003c/p\u003e\n\u003cp\u003eDuring the pre-processing, we transformed the images to reduce training time. At this stage, we applied the following parameters: automatic orientation of the images in different directions and resizing to 640 x 640 pixels. Automatic orientation disregards the EXIF (Exchangeable Image File Format) data of the images, providing a consistent view regardless of the original orientation determined by the EXIF data. This EXIF data usually indicates the orientation of a specific image. As for resizing, this process adjusts the dimensions of the images while maintaining the proportionality of the annotations. Although this results in square and slightly distorted images, it is important to note that data from the original image were not lost during this procedure.\u003c/p\u003e\n\u003cp\u003eIn the next step, we increased the number of images to improve the model's performance. This was achieved by applying 90º and 180º anticlockwise and clockwise rotations to the existing images. This approach has the potential to improve the model's ability to generalize, resulting in more effective performance when confronted with previously unseen images. During this process, the increments are sequentially chained together with randomization in the settings and values for each setting being applied to each expanded image. Any duplicates identified during this procedure are filtered out of the final version created. In this way, the number of images in the model went from 300 to 659, representing a significant improvement in the model's performance. Figure 3 details the labeling, training, validation, and testing procedure.\u003c/p\u003e\n\u003cp\u003eFigure\u0026nbsp;3\u0026nbsp;– YOLOv7 model labeling, training, validation and testing procedure\u003c/p\u003e\n\u003ch2\u003e2.4 \u0026nbsp;Image georeferencing\u003c/h2\u003e\n\u003cp\u003eAfter classifying the orthomosaics using the YOLOv7 model, the classification results were generated in the form of bounding boxes. These bounding boxes are polygons that surround the \u003cem\u003eA. angustifolia\u003c/em\u003e trees identified by the YOLOv7 model, without a coordinate system. To deal this situation, the pixels from image were converted to UTM coordinates using the georeferenced orthomosaic. To perform this transformation, the bounding boxes coordinates were converted into geospatial coordinates (UTM) though conversion operations using the osgeo library (MIARA, 2019) in Python.\u003c/p\u003e\n\u003ch2\u003e2.5 \u0026nbsp;Description of field data and comparison with the model\u003c/h2\u003e\n\u003cp\u003eThe database used for comparison with the classification data from the YOLOv7 model comes from a forest inventory carried out in 2021, containing information on 12,836 individuals, 342 of which represent \u003cem\u003eA. angustifolia\u003c/em\u003e. In turn, specific filtering was carried out for this species, allowing the coordinates of the respective trees to be extracted. These coordinates can be associated with the coordinates of the centroid of the bounding boxes obtained from classifying the images with the \u003cem\u003eA. angustifolia\u003c/em\u003e individuals identified in the forest inventory.\u003c/p\u003e\n\u003cp\u003eSince the UAV aerial survey captured images exclusively of the upper canopy of the forest, trees in the lower stratum were not sampled. As a result, the number of individuals detected in the training was lower than that recorded in the inventory. To adjust for this discrepancy, a Python command was implemented to integrate the inventory data with the geoprocessing data, considering the shortest distance between the coordinates of both sets.\u003c/p\u003e\n\u003ch2\u003e2.6 \u0026nbsp;Model performance metrics\u003c/h2\u003e\n\u003cp\u003eThe model performance metrics used and provided by the Roboflow platform were precision, recall, mAP (Mean Average Precision), confusion matrix, and F1 score. The definitions of each of the metrics used are presented below. We also present some additional metrics specific to the YOLOv7 model provided by Roboflow, such as Box Loss, Class Loss, and Object Loss.\u003c/p\u003e\n\u003cp\u003emAP can be described as a metric that evaluates the performance of object detection models. The mAP encompasses precision and recall in a single measure, providing a comprehensive view of the model's effectiveness. The annotations mAP50 and mAP50-95 indicate the confidence intervals associated with the metric. mAP50 refers to the average precision considering only detections with a minimum 50% overlap between the predicted bounding box and the reference bounding box. The mAP50-95 expands this analysis to overlap intervals of 50% to 95%.\u003c/p\u003e\n\u003cp\u003eAccuracy is a metric that assesses the quality of the positive predictions made by a classification model. It is calculated as the ratio between the number of true positives (PV) and the sum of true positives and false positives (FP). Accuracy measures the proportion of instances classified as positive by the model that are positive. A high precision indicates that the model is effective in avoiding misclassification of negative instances as positive. Precision is given by Equation 1.\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhMAAABFCAYAAADw62TnAAASL0lEQVR4Ae2dgZHkNBNGL4WLgRTIgRCIgRTIgAwuAyIgAhIgATIgh6He/fXq72sk2xp79mZ3PlU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c5DkunrPPCEVLHODrHrsdrnRd9sW+r4IjUSyCpzha5Oj/61Tni3LGF+iqnjPNxfINZf5UOH3RwNGAow3Fl7sphQ7XVepj4GTn3FXbqhNtoLNtHR2w4Uo7aAze5y9F7Cz8K84Uz9hok7SMTZbVthb3jo2uPRx23rztso06b+jpaXXest5FNe+sOG7Wh2yifeoQVttYCc3VwnJWj97nLo9P729tyHQJHCcxX5lEN6RcCH5SAgXOUnFw5ZZIoAsjqOFuB5Ur7ouvtCLAGSNZGSeojrGDtMd7q2nuELdH5vgkkmXjf9y/WP5gAT2w8UT7K2fIETSLhU/6DpxP174AAbxh4Q/MWhbXtV1RvMV7G+LgEkkx83HubmV1EgKdEXnNfHfBx4rwm92uoi8yNmg9AgHXB55HlLcZ4pP3R/VwEkkw81/2INSEQAiHwlQBvxR7xhoK3bOjN7ySy0K4kkGTiSprRFQIhEAIhEAIvSCDJxAve9Ew5BEIgBEIgBK4kkGTiSprRFQIhEAIhEAIvSCDJxAve9Ew5BEIgBEIgBK4kkGTiSprRFQIhEAIhEAIvSCDJxAve9Ew5BEIgBEIgBK4kkGTiSprRFQIhEAIhEAIvSCDJxAve9Ew5BEIgBEIgBK4kkGTiSprRFQIhEAIhEAIvSCDJxAve9Ew5BEIgBEIgBK4kkGTiSprRFQIhEAIhEAIvSOBfYBzeC6D0ZCMAAAAASUVORK5CYII=\"\u003e\u003c/p\u003e\n\u003cp\u003eRecall is a metric that assesses the model's ability to correctly capture all positive instances. It is calculated as the ratio between the number of true positives (PV) and the sum of true positives and false negatives (FN). Recall measures the proportion of positive instances that were correctly identified by the model in relation to the total number of positive instances in the dataset. A high recall indicates that the model can identify most positive instances. The recall is given by Equation 2.\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhIAAABSCAYAAAAB+j36AAATkUlEQVR4Ae2cgZHUuhJFSYEYSIEcCIEYSIEMyIAMiOBFQAIkQAbksL8Or+6nXyN7bI/t3fUc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hKQwEUJmEhcdGGdlgQkIAEJSOAMAiYSZ1B2DAlIQAISkMBFCZhIXHRhnZYEJCABCUjgDAImEmdQdgwJSEACEpDARQmYSFx0YZ2WBCQgAQlI4AwCJhJnUHYMCUhAAhKQwEUJmEhcdGGdlgQkIAEJSOAMAv8DB0cKCzk5ZdEAAAAASUVORK5CYII=\"\u003e\u003c/p\u003e\n\u003cp\u003eBoth metrics are important, but they can be contradictory to each other. Increasing precision often reduces recall and the other way around. Therefore, when evaluating the performance of a model, it is crucial to consider both metrics. The confusion matrix (Figure 4) provides four crucial pieces of information about the classifier's performance. True Positive (TP) occurs when an image is correctly assigned to its corresponding class. False Positive (FP) occurs when an image is wrongly identified as containing something that is not actually present in the image. True Negative (TN) represents an image correctly identified as not belonging to a particular class. Finally, the False Negative (FN) refers to an image wrongly classified as not belonging to a specific class, when in fact it does belong to that class. However, in the case of object detection, it is not taken into account. Based on the confusion matrix, it is possible to derive essential information for calculating precision and recall.\u003c/p\u003e\n\u003cp\u003eFigure\u0026nbsp;4\u0026nbsp;– Confusion matrix of the YOLOv7 model\u003c/p\u003e\n\u003cp\u003eThe F1 score is a metric that combines the precision and recall measures into a single value, providing a balanced view of the performance of a classification model. It is particularly useful in situations where it is important to consider both false positives and false negatives. F1 ranges from 0 to 1. A score of 1 indicates the best possible performance, indicating an ideal balance between precision and recall. The F1 score is given by Equation 3.\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbgAAABJCAYAAABPczO7AAAMY0lEQVR4Ae2cjZHTOhRGtwVqoAV6oARqoAU6oAM6oAIqoAEaoAN6yJuzM9+ba42cSEk269UezQTZ+rm6OrLvZzlZnk4mCUhAAhKQwIIEnhack1OSgAQkIAEJnBQ4LwIJSEACEliSgAK35LI6KQlIQAISUOC8BiQgAQlIYEkCCtySy+qkJCABCUhAgfMakIAEJCCBJQkocEsuq5OSgAQkIAEFzmtAAhKQgASWJKDALbmsTkoCEpCABBQ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HxKPR6Ph5iZIJ+GyB7jtGOwNlLBMoqJG2bc/XZRdXdWO2fHUoVQHypATxtagDnmHGr0DLPiA1jtHbquHvH2BxNCDHtq6BxXn3AFmXX8kMcq2ifY1H9Dp9a5rEEJPA2CIxHobcxnxfxElFhR1ED5N5ArTjUduymIn7YJFhXAar1BHuEJUE/IkA/ykmMFWGKAFaBo54x6Jty5hGRIHhzHnvYjJ3YpSx9sFPF8dmJnX9mBC47s2qKsrBKeeUzy485woN+zAHxjKiyBpSnrDLulcUfcwlI4NgEFLiB9UkAvrSD6IlDNY9oEGSxE2EhmCbVeoJ5RIn6iBHlEZ/qV0QotsgRiNZnRCo+RABrH+qxVVPPTq3vHTPuSEJsacuH+SRFWOoDQOUzyy99KydYwiA8e4x7ZfHRXAISODaBsSh07Dno3QEJjArcAV3XJQlIYBECCtwiC+k0JCABCUhgS0CB2/LwTAISkIAEFiGgwC2ykE5DAhKQgAS2BBS4LQ/PJCABCUhgEQIK3CIL6TQkIAEJSGBLQIHb8vBMAhKQgAQWIaDALbKQTkMCEpCABLYEFLgtD88kIAEJSGARAgrcIgvpNCQgAQlIYEtAgdvy8EwCEpCABBYhoMAtspBOQwISkIAEtgQUuC0PzyQgAQlIYBECCtwiC+k0JCABCUhgS0CB2/LwTAISkIAEFiGgwC2ykE5DAhKQgAS2BBS4LQ/PJCABCUhgEQL/AfgoQPCDWBtdAAAAAElFTkSuQmCC\"\u003e\u003cbr\u003e\u003c/p\u003e\n\u003cp\u003eThe methodological procedure is illustrated in Figure 5, covering everything from obtaining the real data to evaluating the model's performance. This includes flying the UAV, processing the orthomosaics, training the YOLOv7 model and analyzing the performance metrics.\u003c/p\u003e\n\u003cp\u003eFigure 5 – Flowchart of the work methodology\u003c/p\u003e"},{"header":"3. Results","content":"\u003ch2\u003e3.1 \u0026nbsp; Model Performance\u003c/h2\u003e\n\u003cp\u003eThe training process ended at around 160 epochs. As can be seen in Figure 6, the mAP did not improve from epoch 60 onwards. Training the YOLOv7 model required approximately 24 hours to complete. During the training stage, the model achieved precision of 79.3%, recall of 86.8%, and mAP of 87%. These metrics provide information on the model\u0026apos;s performance in detecting araucarias in the images.\u003c/p\u003e\n\u003cp\u003eFigure\u0026nbsp;6\u0026nbsp;\u0026ndash; Performance of the YOLOv7 model in relation to the mAP metric during the training periods\u003c/p\u003e\n\u003cp\u003eFigure 7 illustrates the results of different performance curves for the YOLOv7 model in identifying \u003cem\u003eA. angustifolia\u003c/em\u003e in the training and validation stages. With a mAP of 87%, the model showed a low rate of false negatives and false positives, indicating precision and recall in its predictions. This score suggests that the model has a robust ability to correctly identify objects of interest, minimizing cases of non-detection and incorrect detection (KUZNETSOVA, 2021; SHI, 2021).\u003c/p\u003e\n\u003cp\u003eFigure\u0026nbsp;7\u0026nbsp;\u0026ndash; YOLOv7 model performance curves during the training and validation stages\u003c/p\u003e\n\u003cp\u003eFigure 8\u0026nbsp;shows a scatter plot representing the F1 scores for each image in the YOLOv7 model. Each point in the plot corresponds to an image from the test and validation of the model, with semantically similar images (similar characteristics) grouped close together. The coloring of the dots reflects the F1 scores associated with each image.\u0026nbsp;When analyzing the F1 scores, it was observed that around 91.01% of the images achieved a score above 60%, while only 8.99% were below this value. The average F1 score was 77.16%.\u003c/p\u003e\n\u003cp\u003eThis metric provides a clear understanding of the relative performance of the images, highlighting those that showed significant agreement between the true labels and the model\u0026apos;s predictions. In addition, this metric makes it easier to identify specific patterns or characteristics that can influence the model\u0026apos;s performance on various types of images. This analysis offers valuable insights for improving the effectiveness of the YOLOv7 model in other locations for detecting \u003cem\u003eA. angustifolia\u003c/em\u003e.\u003c/p\u003e\n\u003cp\u003eFigure 8 \u0026ndash; F1 score of YOLOv7 model for detecting \u003cem\u003eA. angustifolia\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003eThe minimum deviation refers to the difference between the center point of the bounding box generated by the YOLOv7 model and the actual coordinate identified in the \u003cem\u003eA. angustifolia\u003c/em\u003e forest inventory. The largest minimum error found was around 5 m between the actual point and the one estimated by the YOLOv7 model. On average, the error was 1.86 \u0026plusmn; 1.18 m. The data obtained from the forest inventory also reveals the crown area (m\u0026sup2;) and the diameter at breast height (DBH, cm).\u003c/p\u003e\n\u003cp\u003eThe graphical representation of the crown area, as well as the descriptive statistics (Figure 9), is shown in\u0026nbsp;Figure 10. The average crown area was 205.52 \u0026plusmn; 69.64 m\u003csup\u003e2\u003c/sup\u003e, in a range from 52.81 m\u003csup\u003e2\u003c/sup\u003e to 427.36 m\u003csup\u003e2\u003c/sup\u003e. The APC is presented in a range of colors in Figure 10-A. The average APC of the \u003cem\u003eA. angustifolia\u003c/em\u003e was 65.20 \u0026plusmn; 11.42 cm, ranging from 34.47 cm to 102.81 cm.\u003c/p\u003e\n\u003cp\u003eFigure\u0026nbsp;9\u0026nbsp;\u0026ndash; Descriptive statistics for minimum error, crown area and DBH\u003c/p\u003e\n\u003cp\u003eThe final comparison between the trees of \u003cem\u003eA. angustifolia\u003c/em\u003e identified in the forest inventory and those classified by the YOLOv7 model is shown in\u0026nbsp;Figure 10. The red dots indicate the actual position of the trees. The squares in\u0026nbsp;Figure 10-A indicate the actual position of the trees with variation in crown size. By comparison, the circles indicate the araucaria identification by the YOLOv7 model, including the variation in crown size.\u003c/p\u003e\n\u003cp\u003eFigure 10-B shows in color the classification confidence of the YOLOv7 model for identifying the\u003cem\u003e\u0026nbsp;A. angustifolia\u003c/em\u003e trees. The result obtained from the classification indicates a predominance of confidence, as can be seen in most classifications in red. The average classification confidence of the YOLOv7 model was 76.18 \u0026plusmn; 12.88%, with 80.81% being the typical classification for the median.\u003c/p\u003e\n\u003cp\u003eThe classification of the YOLOv7 model proved satisfactory for identifying \u003cem\u003eA. angustifolia\u003c/em\u003e individuals in an urban forest. The generalization of the model can contribute to public management for conservation and monitoring of endangered species), and their sustainable management (S\u0026Uuml;HS; GIEHL; PERONI, 2018; ORELLANA et al., 2021; FINGER et al., 2023).\u003c/p\u003e\n\u003cp\u003eAgainst this backdrop, this work significantly expands the applications of computer vision, especially in the context of YOLO, by identifying a tree of critical importance, the species \u003cem\u003eA. angustifolia\u003c/em\u003e, which appears on lists of endangered species. The approach adopted, inspired by the advances and insights provided by previous studies, stands out as a valuable contribution to the preservation and monitoring of endangered species.\u003c/p\u003e"},{"header":"4. Discussion","content":"\u003cp\u003eOur study builds upon the advancements in computer vision techniques, particularly the utilization of YOLOv7, to detect and monitor tree species, with a specific focus on Araucaria angustifolia in an urban forest environment. The performance of our model was evaluated using various metrics, demonstrating its effectiveness and reliability in identifying target trees in urban ecosystems\u003c/p\u003e\n\u003cp\u003eComparing our results to previous studies employing YOLO for tree species detection, we observed comparable or superior performance. Prasvita et al. (2023) achieved mAP50 and mAP95 values of 85.1% and 45.7%, respectively, in detecting oil palm trees using YOLOv5. In contrast, our model achieved a mAP of 87%, indicating similar levels of accuracy. Similarly, Singh et al. (2023) achieved an F1 score of 81% in detecting cassava stems with YOLOv4, whereas our model achieved an F1 score of 87%. These comparisons highlight the robustness and effectiveness of our approach in identifying tree species.\u003c/p\u003e\n\u003cp\u003eFurthermore, our analysis of F1 scores revealed that 91.01% of the images achieved a score above 60%, with an average F1 score of 77.16%. This suggests strong agreement between true labels and predicted results for most images, indicating the reliability of our model.\u003c/p\u003e\n\u003cp\u003eIn addition to localization accuracy, our model exhibited satisfactory performance in terms of minimum deviation, with an average error of 1.86 \u0026plusmn; 1.18 m between predicted and actual coordinates of the trees. This level of accuracy is crucial for applications requiring precise spatial information, such as forest inventory and management.\u003c/p\u003e\n\u003cp\u003eMoreover, our study contributes to the growing body of research demonstrating the potential of computer vision techniques in ecological monitoring and conservation efforts. By providing accurate and efficient methods for identifying endangered tree species like Araucaria angustifolia, our approach holds promise for enhancing biodiversity conservation and promoting sustainable forest management practices.\u003c/p\u003e\n\u003cp\u003eOur findings align with those of previous studies that have utilized YOLO for tree species detection. Jemaa et al. (2023) achieved an F1 of 86.24% for detecting apple trees and an overall accuracy of 97.52% for assessing tree health. Similarly, Abeyrathna et al. (2023) obtained mAP50 values of 84%, 86%, 90.5%, and 77.5% for different YOLO algorithms in counting apples. These results collectively underscore the versatility and applicability of YOLO in tree detection tasks across diverse ecological settings.\u003c/p\u003e\n\u003cp\u003eIn summary, our study demonstrates the efficacy of YOLOv7 in identifying Araucaria angustifolia trees in an urban forest environment. The robust performance of our model, as evidenced by various metrics, highlights its potential for supporting ecological research, conservation initiatives, and sustainable forest management practices.\u003c/p\u003e\n\u003cp\u003eFigure\u0026nbsp;10\u0026nbsp;\u0026ndash; YOLOv7 model classification for \u003cem\u003eA. angustifolia\u003c/em\u003e trees in the urban forest located in Curitiba, Paran\u0026aacute;, Brazil\u003c/p\u003e"},{"header":"5. Conclusion","content":"\u003cp\u003eTrees identification \u0026nbsp;in urban forest fragments, particularly \u003cem\u003eAraucaria angustifolia\u003c/em\u003e, represent a significant challenge to environment management. The scarcity of resources, the time required in the field and the need for trained personnel stand out as major obstacles. However, the importance of accurately identifying \u003cem\u003eA. angustifolia\u003c/em\u003e for conservation is undeniable, especially considering the threat of extinction hanging over the remnants of the species, which are limited to restricted areas. In this context, the application of advanced computer vision and machine learning techniques, exemplified by the YOLOv7 model, is emerging as a promising solution. These tools not only have the potential to reduce the operational costs associated with identifying species in urban forest fragments, but can also increase the efficiency of the process, providing reliable results within a short timeframe.\u003c/p\u003e\n\u003cp\u003eThe focus of this study involved a novel approach to identifying A. angustifolia in an urban forest fragment. The use of aerial images obtained by drone to capture high-resolution georeferenced data, along with the combined utilization of the YOLOv7 model and the Roboflow training platform, proved effective by simplifying the process and eliminating the need for complex pre-processing.\u003c/p\u003e\n\u003cp\u003eWhen comparing the results obtained with the data from the forest inventory, there was remarkable consistency in the identification of \u003cem\u003eA. angustifolia\u003c/em\u003e. Even though some trees recorded in the inventory were in lower forest strata, the YOLOv7 model proved its ability to detect them effectively. It is therefore concluded that the application of advanced technologies, such as aerial images and deep learning, represents a powerful tool not only for assessing and preserving \u003cem\u003eA.\u003c/em\u003e\u003cem\u003e\u0026nbsp;angustifolia\u003c/em\u003e, but also for making a significant contribution to the identification and conservation of other species in urban forests.\u003c/p\u003e"},{"header":"Declarations","content":"\u003cp\u003e\u003cstrong\u003eConflict of interest statement\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eAll authors have no conflicts of interest. \u0026nbsp; \u003c/p\u003e"},{"header":"References","content":"\u003col\u003e\n \u003cli\u003eABEYRATHNA, RM Rasika D. et al.\u0026nbsp;Recognition and Counting of Apples in a Dynamic State Using a 3D Camera and Deep Learning Algorithms for Robotic Harvesting Systems. Sensors, v. 23, n. 8, p. 3810, 2023.\u003c/li\u003e\n \u003cli\u003eALBUQUERQUE, Rafael Walter et al. Mapping key indicators of forest restoration in the amazon using a low-cost drone and artificial intelligence. Remote Sensing, v. 14, n. 4, p. 830, 2022.\u003c/li\u003e\n \u003cli\u003eBARBIZAN S\u0026Uuml;HS, Rafael; HETTWER GIEHL, Eduardo Luis; PERONI, Nivaldo.\u0026nbsp;Interaction of land management and araucaria trees in the maintenance of landscape diversity in the highlands of southern Brazil.\u0026nbsp;Plos one, v. 13, n. 11, p. e0206805, 2018.\u003c/li\u003e\n \u003cli\u003eBRASIL. Minist\u0026eacute;rio do Meio Ambiente. Instru\u0026ccedil;\u0026atilde;o Normativa N. 148, de 07 de junho de 2022. Lista Oficial das Esp\u0026eacute;cies da Flora Brasileira Amea\u0026ccedil;adas de Extin\u0026ccedil;\u0026atilde;o, 2008. Dispon\u0026iacute;vel em: \u0026lt;(https://www.icmbio.gov.br/cepsul/images/stories/legislacao/Portaria/2020/P_mma_148_2022_altera_anexos_P_ mma_443_444_445_2014_atualiza_especies_ameacadas_extincao.pdf)\u0026gt;. Acesso em: 13 de setembro de 2023.\u003c/li\u003e\n \u003cli\u003eBRASIL. Minist\u0026eacute;rio do Meio Ambiente. Prote\u0026ccedil;\u0026atilde;o e recupera\u0026ccedil;\u0026atilde;o da Floresta com Arauc\u0026aacute;rias: Governo prop\u0026otilde;e novas \u0026aacute;reas protegidas para Paran\u0026aacute; e Santa Catarina, DF, 2005. Dispon\u0026iacute;vel em: \u0026lt;https://www.gov.br/mma/pt-br/noticias/governo-propoe-novas-areas-protegidas-para-parana-e-santa-catarina\u0026gt;. Acesso em: 15 setembro de 2023.\u003c/li\u003e\n \u003cli\u003eCAO, Lianjun; ZHENG, Xinyu; FANG, Luming.\u0026nbsp;The Semantic Segmentation of Standing Tree Images Based on the Yolo V7 Deep Learning Algorithm.\u0026nbsp;Electronics, v. 12, n. 4, p. 929, 2023.\u003c/li\u003e\n \u003cli\u003eCASAS, G. G. et al.\u0026nbsp;Automatic detection and counting of stacked eucalypt timber using the yolov8 model.\u0026nbsp;Forests, MDPI AG, v. 14, n. 12, p. 2369, dez. 2023. ISSN 1999-4907.\u003c/li\u003e\n \u003cli\u003eCASTELLA, P. R.; BRITEZ, R. M.; MIKICH, S. B. \u0026Aacute;reas priorit\u0026aacute;rias de Floresta com Arauc\u0026aacute;ria para conserva\u0026ccedil;\u0026atilde;o no estado do Paran\u0026aacute;. In: Curitiba, Anais do IV Congresso Brasileiro de Unidades de Conserva\u0026ccedil;\u0026atilde;o. 2004. p. 1677-1486.\u003c/li\u003e\n \u003cli\u003eCHASSOT, Tatiane et al. Modelos de crescimento em di\u0026acirc;metro de \u0026aacute;rvores individuais de \u003cem\u003eAraucaria angustifolia\u003c/em\u003e (Bertol.) Kuntze em Floresta Ombr\u0026oacute;fila Mista. Ci\u0026ecirc;ncia Florestal, v. 21, p. 303-313, 2011.\u003c/li\u003e\n \u003cli\u003eCHEN, Youliang et al. An object detection method for bayberry trees based on an improved YOLO algorithm.\u0026nbsp;International Journal of Digital Earth, v. 16, n. 1, p. 781-805, 2023.\u003c/li\u003e\n \u003cli\u003eCUNHA NETO, ERNANDES M. DA et al.\u0026nbsp;Combining ALS and UAV to derive the height of Araucaria angustifolia in the Brazilian Atlantic Rain Forest.\u0026nbsp;Anais da Academia Brasileira de Ci\u0026ecirc;ncias, v. 95, n. 1, p. e20201503, 2023.\u003c/li\u003e\n \u003cli\u003eDE DEUS MEDEIROS, Jo\u0026atilde;o; SAVI, Maur\u0026iacute;cio; DE BRITO, Bernardo Ferreira Alves. Sele\u0026ccedil;\u0026atilde;o de \u0026aacute;reas para cria\u0026ccedil;\u0026atilde;o de Unidades de Conserva\u0026ccedil;\u0026atilde;o na Floresta Ombr\u0026oacute;fila Mista. Biotemas, v. 18, n. 2, p. 33-50, 2005.\u003c/li\u003e\n \u003cli\u003eD\u0026Iacute;AZ-DELGADO, Ricardo; M\u0026Uuml;CHER, Sander (Ed.).\u0026nbsp;Drones for Biodiversity Conservation and Ecological Monitoring.\u0026nbsp;MDPI, 2019.\u003c/li\u003e\n \u003cli\u003eDWYER, B. et al. Roboflow (Version 1.0) [Software].\u003c/li\u003e\n \u003cli\u003eECKE, Simon et al. UAV-based forest health monitoring: A systematic review. Remote Sensing, v. 14, n. 13, p. 3205, 2022.\u003c/li\u003e\n \u003cli\u003eEIRA, M. T. S. et al. Efeito do teor de \u0026aacute;gua sobre a germina\u0026ccedil;\u0026atilde;o de sementes de \u003cem\u003eAraucaria angustifolia\u003c/em\u003e (Bert.) O. Ktze.-Araucariaceae. Revista brasileira de sementes, v. 16, n. 1, p. 71-75, 1994.\u003c/li\u003e\n \u003cli\u003eFARJON, A. 2006. \u003cem\u003eAraucaria angustifolia\u003c/em\u003e. In: IUCN \u0026ndash; International Union for Conservation of Nature and Natural Resources, 2011. IUCN red list of threatened species. Dispon\u0026iacute;vel em: \u0026lt;(https://www.iucnredlist.org/es/species/32975/2829141)\u0026gt;.\u0026nbsp;Acesso em: 13 de setembro de 2023.\u003c/li\u003e\n \u003cli\u003eFEDRIZZI, Joice Cristina. An\u0026aacute;lise da chuva pol\u0026iacute;nica no Parque Nacional das Arauc\u0026aacute;rias\u0026ndash;Santa Catarina, Brasil. 2018.\u003c/li\u003e\n \u003cli\u003eFINGER, C\u0026eacute;sar Augusto Guimar\u0026atilde;es et al.\u0026nbsp;Simulating Sustainable Forest Management Practices Using Crown Attributes: Insights for \u003cem\u003eAraucaria angustifolia\u003c/em\u003e Trees in Southern Brazil. Forests, v. 14, n. 7, p. 1285, 2023.\u003c/li\u003e\n \u003cli\u003eHADDAD, Nick M. et al.\u0026nbsp;Fragmenta\u0026ccedil;\u0026atilde;o do habitat e seu impacto duradouro nos ecossistemas da Terra. A ci\u0026ecirc;ncia avan\u0026ccedil;a, v. 1, n. 2, p\u0026aacute;g. e1500052, 2015.\u003c/li\u003e\n \u003cli\u003eHAMRAZ, Hamid et al. Deep learning for conifer/deciduous classification of airborne LiDAR 3D point clouds representing individual trees. ISPRS Journal of Photogrammetry and Remote Sensing, v. 158, p. 219-230, 2019.\u003c/li\u003e\n \u003cli\u003eHANI, E. Um et al.\u0026nbsp;Automatic Tree Counting from Satellite Imagery Using YOLO V5, SSD and UNET Models: A case study of a campus in Islamabad, Pakistan. In: 2023 3rd International Conference on Artificial Intelligence (ICAI). IEEE, 2023. p. 88-94.\u003c/li\u003e\n \u003cli\u003eJEMAA, Hela et al. UAV-Based Computer Vision System for Orchard Apple Tree Detection and Health Assessment. Remote Sensing, v. 15, n. 14, p. 3558, 2023.\u003c/li\u003e\n \u003cli\u003eKLEIN, Roberto M. O aspecto din\u0026acirc;mico do pinheiro brasileiro. Sellowia, v. 12, n. 12, p. 17-44, 1960.\u003c/li\u003e\n \u003cli\u003eKNAUER, Uwe et al. Tree species classification based on hybrid ensembles of a convolutional neural network (CNN) and random forest classifiers. Remote Sensing, v. 11, n. 23, p. 2788, 2019.\u003c/li\u003e\n \u003cli\u003eKUZNETSOVA, Anna A. Statistical Precision-Recall Curves for Object Detection Algorithms Performance Measurement.\u0026nbsp;Cyber-Physical Systems: Modelling and Intelligent Control, p. 335-348, 2021.\u003c/li\u003e\n \u003cli\u003eLINDENMAYER, David B.; FISCHER, Joern. Habitat fragmentation and landscape change: an ecological and conservation synthesis.\u0026nbsp;Island Press, 2013.\u003c/li\u003e\n \u003cli\u003eMAACK, Reinhard. Geografia f\u0026iacute;sica do Estado do Paran\u0026aacute;. (No Title), 1981.\u003c/li\u003e\n \u003cli\u003eMAACK, Reinhard. Notas complementares a apresenta\u0026ccedil;\u0026atilde;o preliminar do mapa fitogeogr\u0026aacute;fico do Estado do Paran\u0026aacute; (Brasil). Arquivos do Museu Paranaense, v. 7, p. 351-361, 1949.\u003c/li\u003e\n \u003cli\u003eMAMALIS, Marios et al. Deep Learning for Detecting Verticillium Fungus in Olive Trees: Using YOLO in UAV Imagery. Algorithms, v. 16, n. 7, p. 343, 2023.\u003c/li\u003e\n \u003cli\u003eMIARA, I. A dummy placeholder for the gdal package. 2019.\u003c/li\u003e\n \u003cli\u003eMOU, Chao et al. A novel efficient wildlife detecting method with lightweight deployment on UAVs based on YOLOv7. IET Image Processing, 2024.\u003c/li\u003e\n \u003cli\u003eMULLANEY, Jennifer; LUCKE, Terry; TRUEMAN, Stephen J. A review of benefits and challenges in growing street trees in paved urban environments. Landscape and urban planning, v. 134, p. 157-166, 2015.\u003c/li\u003e\n \u003cli\u003eORELLANA, Enrique et al. Predicting the dynamics of a native Araucaria forest using a distance-independent individual tree-growth model. Forest Ecosystems, v. 3, n. 1, p. 1-11, 2016.\u003c/li\u003e\n \u003cli\u003ePRASVITA, Desta Sandya; ARYMURTHY, Aniati Murni; CHAHYATI, Dina.\u0026nbsp;Deep Learning Model for Automatic Detection of Oil Palm Trees in Indonesia with YOLO-V5. In: Proceedings of the 8th International Conference on Sustainable Information Engineering and Technology.\u0026nbsp;2023. p. 39-44.\u003c/li\u003e\n \u003cli\u003ePUTRA, Yoga Cahya; WIJAYANTO, Arie Wahyu. Automatic detection and counting of oil palm trees using remote sensing and object-based deep learning.\u0026nbsp;Remote Sensing Applications: Society and Environment, v. 29, p. 100914, 2023.\u003c/li\u003e\n \u003cli\u003eREDMON, Joseph et al. You only look once: Unified, real-time object detection. In: Proceedings of the IEEE conference on computer vision and pattern recognition.\u0026nbsp;2016. p. 779-788.\u003c/li\u003e\n \u003cli\u003eSAAD, Felipe et al. Detectability of the Critically Endangered Araucaria Angustifolia Tree Using Worldview-2 Images, Google Earth Engine and UAV-LiDAR. \u003cstrong\u003eLand\u003c/strong\u003e, v. 10, n. 12, p. 1316, 2021.\u003c/li\u003e\n \u003cli\u003eSANTOS, Anderson Aparecido dos et al.\u0026nbsp;Assessment of CNN-based methods for individual tree detection on images captured by RGB cameras attached to UAVs. Sensors, v. 19, n. 16, p. 3595, 2019.\u003c/li\u003e\n \u003cli\u003eSCHEEREN, Luciano Weber et al.\u0026nbsp;Crescimento em altura de \u003cem\u003eAraucaria angustifolia\u003c/em\u003e (Bert.) O. Ktze. Em tr\u0026ecirc;s s\u0026iacute;tios naturais, na regi\u0026atilde;o de Canela-RS. Ci\u0026ecirc;ncia Florestal, v. 9, p. 23-40, 1999.\u003c/li\u003e\n \u003cli\u003eSHI, Zihong. Object detection models and research directions. In: 2021 IEEE International Conference on Consumer Electronics and Computer Engineering (ICCECE).\u0026nbsp;IEEE, 2021. p. 546-550.\u003c/li\u003e\n \u003cli\u003eZHAO, LiangLiang; ZHU, MinLing. MS-YOLOv7: YOLOv7 Based on Multi-Scale for Object Detection on UAV Aerial Photography.\u0026nbsp;Drones, v. 7, n. 3, p. 188, 2023.\u003c/li\u003e\n \u003cli\u003eWAGNER, Fabien H. et al. Regional mapping and spatial distribution analysis of canopy palms in an amazon forest using deep learning and VHR images. Remote Sensing, v. 12, n. 14, p. 2225, 2020.\u003c/li\u003e\n \u003cli\u003eWANG, Jiamin et al. Individual rubber tree segmentation based on ground-based LiDAR data and faster R-CNN of deep learning. Forests, v. 10, n. 9, p. 793, 2019.\u003c/li\u003e\n \u003cli\u003eWU, Kunjie et al. An improved YOLO model for detecting trees suffering from pine wilt disease at different stages of infection.\u0026nbsp;Remote Sensing Letters, v. 14, n. 2, p. 114-123, 2023.\u003c/li\u003e\n \u003cli\u003eWU, Jintao et al. Extracting apple tree crown information from remote imagery using deep learning. Computers and electronics in agriculture, v. 174, p. 105504, 2020.\u003c/li\u003e\n\u003c/ol\u003e"}],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":true,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":false,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":false,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"YOLO, tree detection, unmanned aerial vehicles, endangered species, urban ecosystems ","lastPublishedDoi":"10.21203/rs.3.rs-4224004/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-4224004/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"This study addresses the identification of individuals of the Araucaria angustifolia species in urban forest fragments, specifically in the Mixed Ombrophilous Forest (FOM) in Curitiba, Paraná, Brazil. The aim of the study is to use UAV images and the computer vision technique of the YOLOv7 model to detect individuals of A. angustifolia. The FOM is essential for local biodiversity conservation and human well-being but faces challenges due to urban sprawl and the conversion of land use to agriculture. The species is critically endangered, requiring actions and strategies for its conservation. The study highlights the role of Unmanned Aerial Vehicles (UAVs) and deep learning techniques, such as Convolutional Neural Networks (CNNs), in identifying tree species in urban ecosystems. YOLOv7, an architecture based on CNNs, was chosen because of its detection capacity. YOLOv7 is especially effective at detecting a wide variety of objects, including people, vehicles, animals, household objects, road signs and much more, making it an ideal choice for identifying tree species in urban environments. The data was obtained by a DJI Mavic 3 UAV. Utilizing a UAV, the study area of the urban forest was flown over, generating an orthomosaic that was subsequently divided into 14 parts for training, validation, and testing. The YOLOv7 model was trained with the images to detect A. angustifolia trees present in the area. The results show that model achieved a precision of 79.3%, recall of 86.8%, and Mean Average Precision of 87% during training. Comparative analysis with forest inventory data reveals promising performance in detecting A. angustifolia trees. The average confidence of the model's classification was 76.18 ± 12.88%, with 80.81% being the most frequent classification for the median result. The present study uses the effective integration of UAV technology, YOLOv7 model with deep learning technique to detect and assess tree species in urban ecosystems. This approach provides an important tool for conservation strategies aimed at assessing and managing the tree biodiversity in urban forest remnants.","manuscriptTitle":"Identification of Araucaria angustifolia trees in an urban forest fragment using UAV images and YOLOv7 structure","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2024-04-12 19:05:11","doi":"10.21203/rs.3.rs-4224004/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"f9552b45-b750-47a3-ae8b-c26fdbdf8aea","owner":[],"postedDate":"April 12th, 2024","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2024-04-26T06:50:31+00:00","versionOfRecord":[],"versionCreatedAt":"2024-04-12 19:05:11","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-4224004","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-4224004","identity":"rs-4224004","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.