<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tino Álvarez on Medium]]></title>
        <description><![CDATA[Stories by Tino Álvarez on Medium]]></description>
        <link>https://medium.com/@arritmic?source=rss-e02df8df7627------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*vC62iQqVj-F6u3d_</url>
            <title>Stories by Tino Álvarez on Medium</title>
            <link>https://medium.com/@arritmic?source=rss-e02df8df7627------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 11:40:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arritmic/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Fighting Boreal Wildfires: Drone Swarms and Data at the Frontline for Smarter Decisions]]></title>
            <link>https://arritmic.medium.com/fighting-boreal-wildfires-drone-swarms-and-data-at-the-frontline-for-smarter-decisions-590d1455b3b6?source=rss-e02df8df7627------2</link>
            <guid isPermaLink="false">https://medium.com/p/590d1455b3b6</guid>
            <category><![CDATA[environmentalresilience]]></category>
            <category><![CDATA[autonomous-vehicles]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[drone-technology]]></category>
            <category><![CDATA[wildfires]]></category>
            <dc:creator><![CDATA[Tino Álvarez]]></dc:creator>
            <pubDate>Tue, 25 Mar 2025 15:16:23 GMT</pubDate>
            <atom:updated>2025-03-28T09:13:34.431Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>The Growing Threat of Wildfires in Boreal Forests</strong></h3><p>Wildfires in the Northern Hemisphere, particularly in boreal regions like Canada, have reached unprecedented levels in recent years, as depicted in Figure 1. In 2023, <a href="https://atmosphere.copernicus.eu/record-breaking-boreal-wildfire-season">record-breaking fires in Canada</a> alone released massive amounts of carbon dioxide and methane, accelerating climate change (source: Copernicus Atmosphere Monitoring Service). Boreal peatlands, which store up to 64% of global forest carbon, are increasingly vulnerable, emitting not only greenhouse gases but also harmful mercury during fires (Kohlenberg et al., 2018).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XDT0xaxuN__QJ4q9x3w7WA.jpeg" /><figcaption>Fig. 1. Annual tree cover loss due to fires by climate domain, 2001–2023, highlighting the sharp rise in boreal forest losses in recent years. Data Source: <a href="https://www.globalforestwatch.org/">https://www.globalforestwatch.org</a> (Tyukavina et al., 2019).</figcaption></figure><p>These fires devastate ecosystems, leading to slow recovery due to harsh climates, while threatening human settlements and public health through poor air quality caused by long-traveling smoke particles. With rising Arctic temperatures and climate change creating warmer, drier conditions, the urgency for innovative, efficient solutions to detect and manage wildfires has never been greater (<a href="https://www.wired.com/story/the-world-is-ignoring-the-other-deadly-kind-of-carbon">https://www.wired.com/story/the-world-is-ignoring-the-other-deadly-kind-of-carbon</a>).</p><p><strong>Challenges in Monitoring Boreal Forests in Nordic Countries<br></strong>Monitoring boreal forests in Nordic countries, including Finland, presents significant challenges due to their vast size, dense vegetation, and remote locations. In Finland, aerial forest fire surveillance is a key strategy for early wildfire detection, with regular flights organized by the Regional State Administrative Agency for Northern Finland (<a href="https://avi.fi/en/services/businesses/guidance-and-advice/aerial-forest-fire-surveillance">https://avi.fi/en/services/businesses/guidance-and-advice/aerial-forest-fire-surveillance</a>). These flights, often conducted by local aviation clubs or companies, aim to detect wildfires early and prevent their spread. However, this method is resource-intensive, weather-dependent, uses fossil fuels and relies on human vigilance, which can result in delayed responses.</p><p>Ground-based methods, such as watch towers, are constrained by limited visibility in dense forests and require extensive infrastructure to cover large areas. Remote areas are particularly difficult to access, with limited road networks and rugged terrain complicating manual monitoring and firefighting operations. Satellite monitoring, while offering broader coverage, faces challenges in Nordic regions due to infrequent revisit times, low spatial resolution, false positives (e.g., alerts due to road construction sites) and cloud cover, which reduce its effectiveness for real-time wildfire detection. These combined factors highlight the need for advanced technologies to improve wildfire monitoring and response in the boreal forests of Nordic countries.</p><h4>Opportunities for Autonomous Systems in Wildfire Monitoring and Disaster Management</h4><p>Advances in sensor technology, drone capabilities, and deep learning are reshaping wildfire monitoring and disaster management. Modern sensors, including <a href="https://en.wikipedia.org/wiki/Thermography">thermal infrared</a>, RGB, and even <a href="https://en.wikipedia.org/wiki/Multispectral_imaging">multispectral</a> and <a href="https://en.wikipedia.org/wiki/Hyperspectral_imaging">hyperspectral</a> cameras, deliver high-resolution data that enable precise fire detection and tracking. When integrated into drones (e.g., as payloads), these sensors provide a flexible and efficient solution, capable of surveying vast, remote, and rugged terrains that traditional methods struggle to cover. Communication technologies and autonomous operation frameworks further enhance these systems, allowing even swarms of drones to work collaboratively with minimal human intervention. Deep learning algorithms can process real-time data, identifying fire outbreaks and predicting their spread, providing crucial insights for decision-making. These technologies not only support early detection but also improve situational awareness for firefighting teams, enabling safer and more effective responses, as shown in Figure 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZAJBaRiHNX7dTb7kzpEsDA.jpeg" /><figcaption>Fig. 2. A wildfire spreads through a boreal forest, illustrating the growing frequency of such events in northern regions. Drones monitor the flames, showcasing modern firefighting technologies. <em>Image generated using the Ideogram.ai generative tool.</em></figcaption></figure><h3><strong>FireMan Project: Advancing Autonomous Systems for Wildfire Detection and Management</strong></h3><p>In this context, the Finnish <strong>FireMan project</strong> has leveraged advancements in sensor technology, AI algorithms, and communication systems, setting a foundation for smarter, data-driven wildfire management strategies in boreal forests and beyond. By integrating semi-autonomous drones, cutting-edge sensors, and AI, the project has addressed critical challenges in wildfire detection and situational awareness: <a href="https://www.maanmittauslaitos.fi/en/research/fireman">https://www.maanmittauslaitos.fi/en/research/fireman</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fc6-zHUXTkqo%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dc6-zHUXTkqo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fc6-zHUXTkqo%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a03551ba9996fd5822e021446967ced6/href">https://medium.com/media/a03551ba9996fd5822e021446967ced6/href</a></iframe><p>Funded by the <strong>Research Council of Finland</strong> and <strong>NextGenerationEU</strong>, FireMan has operated with a total budget of €2.8 million (2022–2024) and has been driven by a multidisciplinary consortium including the <a href="https://www.maanmittauslaitos.fi/en/research">Finnish Geospatial Research Institute</a>, the <a href="https://www.oulu.fi/en">University of Oulu</a>, <a href="https://www.vttresearch.com/en">VTT</a>, and the <a href="https://www.jyu.fi/en">University of Jyväskylä</a>.</p><h4>Project Objectives:</h4><p>The FireMan Project has focused on researching and developing <strong>unmanned aerial systems (UASs) </strong>to detect and monitor wildfires in real time, advancing current methods with innovative autonomous solutions. More info about the project can be seen in the next video:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FqBe0sXOH81Y%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DqBe0sXOH81Y&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FqBe0sXOH81Y%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5bcada968c93ba17bd993ec0f6575e01/href">https://medium.com/media/5bcada968c93ba17bd993ec0f6575e01/href</a></iframe><h4><em>Key Features of the FireMan Project’s Solutions:</em></h4><ul><li><strong>Drone swarms</strong>: Semi-autonomous drones equipped with thermal and visual sensors that dynamically adapt to changing fire conditions.</li><li><strong>Situational awareness</strong>: Drones form intelligent perimeters around fires, providing actionable real-time data on fire behavior and spread.</li><li><strong>Advanced sensor technology</strong>: Employing visual, thermal infrared, and potentially multispectral and hyperspectral cameras to improve detection accuracy.</li><li><strong>Autonomous operation</strong>: Designed for minimal human intervention, drones execute high-level commands and self-organize based on fire scenarios.</li></ul><h4><em>Applications of the Solutions of the FireMan Project:</em></h4><ul><li><strong>Forest monitoring</strong>: Real-time surveillance in remote, hard-to-access boreal forests, enhancing early fire detection.</li><li><strong>Firefighting support</strong>: Providing critical data to fire brigades, improving decision-making and response times.</li><li><strong>Future innovations</strong>: Developing nature-friendly fire detection and monitoring solutions .</li></ul><p>The FireMan project is not only addressing immediate challenges in wildfire detection but has also paved the way for a future where autonomous systems enhance disaster management and environmental resilience. Through its multidisciplinary approach, the project has tackled critical aspects of wildfire monitoring and response, laying the foundation for long-term advancements in technology, operations, and environmental protection. Some of the significant contributions and developments achieved during the project include:</p><h4>Modeling Autonomous Swarm Behavior for Wildfire Monitoring</h4><p>The project began with fundamental research into the behavior of autonomous <strong>drone swarms </strong>during simulated wildfire events. A study by Saffre et al. (2022) used numerical simulations to assess the feasibility of using a self-organizing drone fleet for wildfire localization and perimeter establishment, without direct human intervention. This research examined how fire dynamics, observation area, and swarm size influence the swarm’s performance. The simulations focused on creating a continuous perimeter to provide real-time data to firefighters, using simple, distributed decision functions for swarm self-organization. An example of such an autonomous encirclement is illustrated in Figure 3, where a group of drones forms a coordinated loop around a simulated fire zone based on communication with their nearest neighbors. The system detects when a closed perimeter has been established and allows for continuous monitoring of fire spread. Results indicated that autonomous swarms could effectively locate and monitor wildfires, and begin containment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a1WtmLR1x6I99qgBas9AXQ.png" /><figcaption>Fig. 3. Simulation of a drone swarm forming a perimeter around a wildfire using local communication between nearest neighbors. <em>Image source</em>: Saffre et al. (2022). © 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (<a href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</a>).</figcaption></figure><blockquote><strong>Citation:</strong><br>Saffre, Fabrice, Hanno Hildmann, Hannu Karvonen, and Timo Lind. 2022. “Monitoring and Cordoning Wildfires with an Autonomous Swarm of Unmanned Aerial Vehicles” <em>Drones</em> 6, no. 10: 301. <a href="https://doi.org/10.3390/drones6100301">https://doi.org/10.3390/drones6100301</a></blockquote><h4>Advancing Wildfire Management: Concept of Operations for Drone Swarms</h4><p>Building on the simulation-based insights into autonomous swarm behavior discussed in the study by Saffre et al. (2022), the FireMan Project advanced this work by developing a practical <strong>Concept of Operations (ConOps)</strong> for real-world deployment. This approach, described in the study by Karvonen et al. (2023), integrates human factors into the design and coordination of semi-autonomous drone swarms for wildfire response. The <strong>ConOps</strong> was informed by a comprehensive review of existing wildfire management practices in Finland and supported by qualitative data from interviews and workshops with 40 field professionals. It addresses current operational challenges and outlines how drone swarms could be integrated into surveillance, decision-making, and situational support. This work complements earlier simulation efforts by focusing on how autonomous capabilities can be aligned with the needs and constraints of human teams in active firefighting contexts. It also proposes general design principles that may be extended to other applications of swarm robotics.</p><blockquote><strong>Citation:</strong><br>Karvonen, H., Honkavaara, E., Röning, J., Kramar, V., &amp; Sassi, J. (2023). Using a semi-autonomous drone swarm to support wildfire management–a concept of operations development study. <em>International Conference on Human-Computer Interaction</em>, pp. 234–252. Cham: Springer Nature Switzerland.</blockquote><h4><strong>FireMan-UAV-RGBT database</strong></h4><p>The <strong>FireMan-UAV-RGBT database</strong> is a crucial contribution to wildfire detection research, addressing the lack of region-specific data for <a href="https://en.wikipedia.org/wiki/Taiga"><strong>boreal forests</strong>.</a> This publicly available dataset, hosted on <a href="https://zenodo.org/records/13732947"><strong>Zenodo</strong></a>, includes over 103,000 RGB and thermal frames captured during controlled burns in <strong>Finnish boreal forests</strong>. It represents a significant step forward in creating realistic and high-quality resources for AI-driven wildfire monitoring.The database combines manual and semi-automatic labeling techniques to ensure accurate annotations, including tags, objects, masks, and metadata as shown in Figure 4. Such detailed labeling is essential for training robust models, as careful human oversight remains a key factor despite advancements in automation. For a comprehensive description of the dataset, refer to the paper:</p><blockquote>Kularatne, S. D. M. W., Constantino Álvarez Casado, Janne Rajala, Tuomo Hänninen, Miguel Bordallo López, and Le Nguyen. “FireMan-UAV-RGBT: A novel UAV-based RGB-Thermal video dataset for the detection of wildfires in the Finnish forests.” <em>2024 IEEE 29th International Conference on Emerging Technologies and Factory Automation (ETFA)</em>, pp. 1–8. IEEE, 2024.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eHfYBZzTVZ5GnTr37hQQyQ.jpeg" /><figcaption>Fig. 4. A frame from the Fireman-UAV-RGBT database, showcasing manual labeling with the CVAT tool (<a href="https://www.cvat.ai/">https://www.cvat.ai/</a>) and semi-automatic tracking. Objects such as smoke, fire, people, and lakes are annotated, along with metadata on weather conditions (e.g., sunny) and light brightness.</figcaption></figure><p>The FireMan-UAV-RGBT database is one of the few resources focused on boreal forests, offering valuable insights into wildfire characteristics in these underrepresented regions. Captured during controlled burns, the data reflects realistic UAV monitoring scenarios, combining RGB and thermal imagery to support classification tasks and advance AI-driven wildfire detection. Key lessons include the challenges of aligning RGB and thermal data, highlighting the need for improved registration techniques. The project identified best practices for UAV camera setups, angles, and distances to enhance detection reliability. Temporal patterns in the data revealed opportunities for dynamic wildfire monitoring, while balancing onboard analysis with data transmission emphasized the importance of energy-efficient algorithms for UAV operations.</p><h4>Advancing Autonomous Drone Systems for Under-Canopy Wildfire Monitoring</h4><p>A critical step within the FireMan Project involved developing a drone system capable of autonomous navigation under dense boreal forest canopies. While <a href="https://en.wikipedia.org/wiki/Satellite_navigation"><strong>GNSS-based</strong></a> automation is widely used above the forest canopy, under-canopy flights remain challenging due to signal loss and complex obstacle environments. Researchers implemented a prototype drone using open-source algorithms, <em>EGO-Planner-v2</em> for path planning and <em>VINS-Fusion</em> for localization, combined with stereo-depth cameras for mapping and obstacle avoidance, as depicted in Figure 5. The system was evaluated through simulations and real-world tests in Finnish boreal forests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RidCiKeCGGx5dnaQevvCUw.jpeg" /><figcaption>Fig. 5. This system architecture illustrates how drones use onboard computers and cameras for mapping, planning, and navigation during wildfire management tasks. Equipped with depth and grayscale cameras, drones map their surroundings, localize their position, and plan routes to operate autonomously. The setup includes flight control and motor commands for precise movements, showcasing advancements in drone technology for critical missions like fire monitoring. <em>Image source</em>: Karjalainen et al., 2023. DOI: <a href="https://doi.org/10.5194/isprs-archives-XLVIII-1-W2-2023-597-2023">10.5194/isprs-archives-XLVIII-1-W2–2023–597–2023</a>. © Author(s) 2023. Licensed under the Creative Commons Attribution 4.0 License.</figcaption></figure><p>This development contributes to FireMan’s objectives of improving situational awareness and supporting wildfire management through drone-based solutions. Future work may integrate high-level path planners, GNSS fusion, and swarm-based systems to enhance reliability in operational conditions.</p><blockquote><strong>Citation</strong>:<br><em>Karjalainen, V., Hakala, T., George, A., Koivumäki, N., Suomalainen, J., &amp; Honkavaara, E. (2023). A Drone System for Autonomous Mapping Flights Inside a Forest–A Feasibility Study and First Results.</em> The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, 48, 597–603.</blockquote><h3><strong>Conclusion: From Wildfire Detection to Broader Societal Impact</strong></h3><p>The <strong>FireMan project</strong> is more than a technological response to the growing threat of wildfires in boreal forests. While it has advanced the state of the art in early detection, monitoring, and situational awareness through autonomous drone systems and AI, its broader significance lies in the long-term foundations it has laid for <strong>resilience, sustainability, and innovation</strong> in environmental protection and emergency response.</p><p>By developing and testing autonomous swarm behavior, robust under-canopy navigation systems, real-time sensing and analysis platforms, and curated datasets for AI development, the project has contributed not only to wildfire management but also to the core technologies needed for future emergency and environmental systems. These include <strong>edge AI</strong>, <strong>decentralized coordination</strong>, <strong>semantic understanding</strong>, and <strong>context-aware operation</strong>s. The project has also played a key role in developing national capabilities. It has trained <strong>new experts</strong>, generated research <strong>knowledge</strong>, and fostered multidisciplinary collaboration across institutions. In doing so, it supports <strong>Finland’s green and digital transitions</strong> and builds capacity for next-generation public safety and civil protection infrastructures.</p><p>Through its practical demonstrations, data-driven methods, and foundational research, FireMan shows how drone swarms, AI, and real-time data systems can improve how societies respond to environmental challenges. Its impact extends beyond firefighting, pointing to a future where intelligent systems support sustainability, public safety, and operational efficiency in complex and uncertain conditions.</p><p><strong>Authors:</strong> <br>This article was written by:</p><ul><li><a href="https://scholar.google.es/citations?user=vLYIwqUAAAAJ&amp;hl=en">Constantino Álvarez Casad</a>o Ph.D., <em>Postdoctoral Research at Center for Machine Vision and Signal Analysis (CMVS), University of Oulu, Finland.</em></li><li><a href="https://www.linkedin.com/in/hannukarvonen/">Hannu Karvonen,</a> Ph.D., <em>Senior Scientist at VTT Technical Research Centre of Finland Ltd.</em></li><li><a href="https://www.linkedin.com/in/tuomo-h%C3%A4nninen-927b8a20b/">Tuomo Hänninen</a>, Ph.D., Research Director at Center for Wireless Communication (CWC), <a href="https://www.linkedin.com/company/university-of-oulu/">University of Oulu</a></li><li><a href="https://scholar.google.es/citations?user=OP62LioAAAAJ&amp;hl=en&amp;oi=ao">Eija Honkavaara, Ph.D.</a>, <em>Research Professor at Finnish Geospatial Research Institute (FGI), Finland.</em></li></ul><h3><strong>References</strong></h3><p>Karvonen, H., Honkavaara, E., Röning, J., Kramar, V., &amp; Sassi, J. (2023). Using a semi-autonomous drone swarm to support wildfire management–a concept of operations development study. <em>International Conference on Human-Computer Interaction</em>, pp. 234–252. Cham: Springer Nature Switzerland.</p><p>Kohlenberg, A. J., Turetsky, M. R., Thompson, D. K., &amp; Kane, E. S. (2018). Controls on boreal peat combustion and resulting emissions of carbon and mercury. <em>Environmental Research Letters, 13</em>(3), 035005. <a href="https://doi.org/10.1088/1748-9326/aaa983">https://doi.org/10.1088/1748-9326/aaa983</a></p><p>Tyukavina, A., Potapov, P., Hansen, M. C., Pickens, A. H., Stehman, S. V., Turubanova, S., … &amp; Harris, N. (2022). Global trends of forest loss due to fire from 2001 to 2019. <em>Frontiers in Remote Sensing</em>, <em>3</em>, 825190.</p><p>Kularatne, S. D. M. W., Constantino Álvarez Casado, Janne Rajala, Tuomo Hänninen, Miguel Bordallo López, and Le Nguyen. “FireMan-UAV-RGBT: A novel UAV-based RGB-Thermal video dataset for the detection of wildfires in the Finnish forests.” <em>2024 IEEE 29th International Conference on Emerging Technologies and Factory Automation (ETFA)</em>, pp. 1–8. IEEE, 2024.</p><p>Karjalainen, V., Hakala, T., George, A., Koivumäki, N., Suomalainen, J., &amp; Honkavaara, E. (2023). <em>A Drone System for Autonomous Mapping Flights Inside a Forest–A Feasibility Study and First Results</em>. The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, 48, 597–603.</p><p>Saffre, F., Hildmann, H., Karvonen, H., &amp; Lind, T. (2022). Monitoring and Cordoning Wildfires with an Autonomous Swarm of Unmanned Aerial Vehicles. <em>Drones</em>, <em>6</em>(10), 301. <a href="https://doi.org/10.3390/drones6100301">https://doi.org/10.3390/drones6100301</a></p><p><strong>Other interesting links:</strong></p><ol><li>Vairio, Tuure (2023), “Semi-Autonomous Drones in Wildfire Detection: a proof of concept”. Link: <a href="https://www.theseus.fi/handle/10024/802602">https://www.theseus.fi/handle/10024/802602</a></li><li>Coffeng, Sebastian (2024), “Decentralised drone swarm for wildfire detection and monitoring”. Link: <a href="https://aaltodoc.aalto.fi/items/5883ef94-a0c3-4451-a831-29e2c03cf9cc">https://aaltodoc.aalto.fi/items/5883ef94-a0c3-4451-a831-29e2c03cf9cc</a></li><li>Sanda Durage, Manura Windula Kularatne (2024), “UAV-based wildfire analysis”. Link: <a href="https://oulurepo.oulu.fi/handle/10024/51081">https://oulurepo.oulu.fi/handle/10024/51081</a></li><li><a href="https://www.maanmittauslaitos.fi/en/topical_issues/drones-and-ai-can-help-suppress-wildfires-future">https://www.maanmittauslaitos.fi/en/topical_issues/drones-and-ai-can-help-suppress-wildfires-future</a></li><li><a href="https://www.vttresearch.com/en/news-and-ideas/drones-and-ai-monitor-and-combat-wildfires">https://www.vttresearch.com/en/news-and-ideas/drones-and-ai-monitor-and-combat-wildfires</a></li><li><a href="https://www.wired.com/story/the-world-is-ignoring-the-other-deadly-kind-of-carbon">https://www.wired.com/story/the-world-is-ignoring-the-other-deadly-kind-of-carbon</a></li><li><a href="https://www.fao.org/interactive/forest-resources-assessment/2020/en/">https://www.fao.org/interactive/forest-resources-assessment/2020/en/</a></li><li><a href="https://www.lemonde.fr/en/environment/article/2024/08/15/gigantic-fires-in-canada-the-amazon-and-greece-have-been-amplified-by-global-warming_6715675_114.html">https://www.lemonde.fr/en/environment/article/2024/08/15/gigantic-fires-in-canada-the-amazon-and-greece-have-been-amplified-by-global-warming_6715675_114.html</a></li></ol><p><strong><em>Disclaimer:</em></strong><em><br> This article was written by the authors based on the research conducted within the FireMan project. </em><a href="https://openai.com/chatgpt/overview/"><em>ChatGPT</em></a><em> was used as a tool to support text formatting, improve clarity, and enhance readability. All ideas, concepts, and technical content originate from the authors and are documented in the project’s scientific publications, public datasets, and related media articles referenced in the text.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=590d1455b3b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Faster, smoother, smaller, more accurate and more robust face alignment models]]></title>
            <link>https://medium.com/data-science/faster-smoother-smaller-more-accurate-and-more-robust-face-alignment-models-d8cc867efc5?source=rss-e02df8df7627------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8cc867efc5</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[editors-pick]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[thoughts-and-theory]]></category>
            <dc:creator><![CDATA[Tino Álvarez]]></dc:creator>
            <pubDate>Tue, 20 Apr 2021 19:22:04 GMT</pubDate>
            <atom:updated>2021-04-26T22:11:59.497Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://towardsdatascience.com/tagged/thoughts-and-theory">Thoughts and Theory</a></h4><h3>Faster, smoother, smaller, more accurate and more robust face alignment models on CPU</h3><h4>Training strategies, implementation optimization and new evaluation methods for face landmark detectors.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*3Et97MeRGltEwZ-Zh_eU6g.png" /><figcaption>Inferences from DAN, ERT and LBF methods for images with frontal faces with and without using GTX training (Image by the author).</figcaption></figure><p>Do you use face landmark detection as a core component in your face analysis project or application? Do you use the face alignment methods from popular computer vision libraries such as <strong>OpenCV </strong>[1] or <strong>Dlib </strong>[2]? If you want to improve your face alignment models, throughout this post, I will explain how to make them faster, smoother, smaller, more accurate, and more robust, especially for face tracking applications. In addition, I provide a set of already improved models for <em>OpenCV</em> and <em>Dlib </em>in my <a href="https://gitlab.com/visualhealth/vhpapers/real-time-facealignment">Gitlab repository</a> created for the article we have published in the <strong>Journal of Real Time Image Processing</strong> (Springer):</p><blockquote>Alvarez Casado, C., Bordallo Lopez, M. <br>Real-time face alignment: evaluation methods, training strategies and implementation optimization. <br>Springer Journal of Real-time image processing, 2021</blockquote><p>Face alignment is a crucial component in most face analysis systems. It focuses on identifying the location of several key points of the human faces in images or videos. Although several methods and models are available to developers in popular computer vision libraries such as <em>OpenCV</em> or <em>Dlib</em>, they still struggle with challenges such as insufficient illumination, extreme head poses, or occlusions, especially when they are constrained by the needs of real-time applications.</p><p>As aforementioned, we have recently published a journal article where we propose a set of rules for optimal training strategies and implementations based on data augmentation and software optimization techniques that help in improving a large variety of models belonging to several <strong>real-time algorithms</strong> for face alignment. We name them <strong>General Training eXtensions</strong> (<strong>GTX</strong>) strategies. In addition, we also propose an extended set of evaluation metrics that allow novel evaluations to mitigate the typical problems found in real-time tracking contexts and real scenes. The experimental results show that the generated models using our proposed techniques are faster, smaller, more accurate, more robust in specific challenging conditions, and smoother in tracking systems as shown in the next video.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FU3jx43uuAGg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DU3jx43uuAGg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FU3jx43uuAGg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/cff01c410156524b85f9d3162f0a68f4/href">https://medium.com/media/cff01c410156524b85f9d3162f0a68f4/href</a></iframe><p>This training strategy shows to be applicable across different types of devices and algorithms, making them versatile in both academic and industrial uses.</p><p>In order to evaluate our methods, we focus on three face alignment methodologies that are considered to be state-of-the-art for different applications, <strong>LBF</strong> (Local Binary Features) [3] used in <em>OpenCV</em>, <strong>ERT</strong> (Ensemble of Regression Trees) [4] used in <em>Dlib</em> and <strong>DAN</strong> (Deep Alignment Network) [5], available in pip (Python). The LBF and ERT methods, also known as fast face alignment methods, are based on cascades of regressors, while DAN algorithm is based on a deep learning approach. We use the 68 landmark locations defined by the Multi-PIE landmarks scheme.</p><p><strong>Evaluation metrics and benchmarks<br></strong>The standard metrics for face alignment include typically those that are related to the quality of the predictions when compared with the ground truth annotations. This include mainly <strong>accuracy</strong> and <strong>error</strong>, and in some cases <strong>failure rate</strong>. Also, it is typical to calculate the <strong>computational efficiency</strong>, usually expressed in milliseconds per face, and the number of the processed frames per second (fps).</p><p>The problem is that these metrics do not measure several phenomena observed in the most of the face alignment models such as:</p><ul><li><strong>Jitter</strong>: an annoying inter-frame noisy and small variation. This effect could be produced by lack of training samples, imprecise annotations with high variance, unclean datasets or non deterministic inference methods that use some kind of (pseudo)random information during e.g. the initialization stage.</li><li><strong>Face Alignment Sensitivity</strong>: most of the face alignment algorithms rely on a face detection bounding box for the shape initialization. The face detectors are not always consistent in consecutive frames. In addition, most of the face alignment models are trained with the face rectangle of one face detector.</li></ul><p>Based on these phenomena, we define <strong>three novel metrics</strong>, and use them to evaluate how good performance a model has during tracking applications. We propose to compute that inter-frame error between the estimated shapes of two consecutive frames:</p><ul><li><strong>Landmarks Mean Squared Displacement</strong> metric (laMSD), compute how the landmarks moved along a video with a static face.</li><li><strong>Normalized Jitter Sensitivity Mean Square Error</strong> (NJS-MSE_σ<strong>²</strong> ) is a metric computed by inferring the face landmarks on a set of reference images using random variations of the face rectangle based on small center shifts in the horizontal and vertical axis. The error measurement results in an evaluation metric to compare the <strong><em>jitter robustness </em></strong>of a face alignment model.</li><li><strong>Normalized Face Detection Sensitivity Mean Square Error</strong> (NFDS-MSE_σ<strong>²</strong>). For this metric, the random variations are based on face rectangle center shifts in the horizontal and vertical axis and random changes in the size (width and height) of the face bounding box. This results in an evaluation metric to compare the robustness of our face alignment model to <strong><em>different face detectors</em></strong>.</li></ul><p>To evaluate our models, we test them in a mix of well established standard benchmarks previously proposed in the literature and a set of benchmarks carefully designed by us. Most of the related works are mainly concerned about two performance indicators, <strong>accuracy</strong> and <strong>efficiency</strong>, but we argue that they are not the only key indicators to evaluate a face alignment model. We believe this combination of benchmarks are relevant for describing a more <strong>objective</strong> and <strong>realistic behavior in real-time applications</strong> running under unconstrained contexts. Those benchmarks are described as follows:</p><ul><li><strong>Common In-the-Wild</strong> <strong>benchmarks</strong> (300-W) [6], to test the general accuracy and error as reference to compare with other models.</li><li><strong>Jittering benchmarks</strong>, focused on measuring the jittering effect of the models</li><li><strong>Domain-specific benchmarks</strong>, focused on testing the models in specific domains such as low light conditions, extreme pitched heads, strong backlight scenes, etc</li></ul><p><strong>Training strategies</strong><br>The main idea is to achieve “better” face alignment models. Traditionally, this is referred to more accurate models. But as explained previously, we have extended this concept by evaluating other aspects which are critical in real-time applications and real scenes, especially when tracking landmarks.</p><p>To achieve that, we propose several rules to perform during the training such as:</p><ul><li><strong>Data Augmentation based on image manipulations</strong>: geometric and color transformations.</li><li><strong>Data Augmentation based on statistical manipulations</strong>: image normalization, noise injection, initialization variations, outliers removal.</li><li><strong>Addition of domain specific data</strong>: we study the collection of images that belong to specific conditions that have proven to fail in the base models. The images are annotated using a slow and accurate model and a teacher<br>student architecture. More details on the formulation of this technique can be seen in our previous <a href="https://www.semanticscholar.org/paper/Face-alignment%3A-improving-the-accuracy-of-fast-data-Casado-L%C3%B3pez/717f526e371992cc439244ff229d5fc0f880c747">publication</a>.</li></ul><p><strong>Implementation and parallelization</strong><br>We have depicted a set of implementation techniques ranging from serial optimization to parallelization strategies. The solutions are analyzed in terms of performance, and its possible accuracy trade-offs.</p><p>To test some of these proposed optimizations, we have implemented our own C++ version of the LBF method. Hence, we can compare our own implementation against the <em>OpenCV</em> implementation as same algorithm for example, and also perform some other optimizations in the implementation versions of the <em>OpenCV</em> and <em>Dlib</em>.</p><p>In the article, we explain how to speed up the training and the inference processes. In the training, mostly, we accelerate the loops where the topology of the algorithm permits to do it, using <em>OpenMP </em>[7]. More exactly, we accelerate the learning of the local feature mapping functions in the LBF algorithm, since each landmark is independent from the rest as shown in the Figure 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_jxhni2DpPYR6K97o4HNqA.png" /><figcaption>Figure. 1 (Image by the author): Training process in the LBF method. The learning process follows a cascaded fashion topology. A linear regression of local features minimizes the distance between the current shape and the target ground truth shape .</figcaption></figure><p>After training our face alignment models, we accelerate the inference by applying mainly three strategies:</p><ul><li><strong>Parallelization of the computation for each landmark</strong> (local feature mapping functions).</li><li><strong>Acceleration of the multiplication of the high dimensional features</strong> extracted in the above mentioned process and the global linear regression or transfer matrix W. We apply three different optimization techniques as shown in the Figure 2.</li><li><strong>Quantization of the generated models.</strong> We convert the data of our models from float to short integers. This increases the speed of the inference, especially on devices with cache and memory constrains such as mobile devices.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lq00VBvt9_pGzTAljMyUKg.png" /><figcaption>Figure 2 (Image by the author): Multiplication of the sparse linear projection W t , computed at every stage in the face alignment<br>process with 3 different techniques.</figcaption></figure><p><strong>Comparative evaluation</strong><br>To understand a little bit better the previous set of rules to improve our face alignment models, we empirically evaluate and analyze the impact of both training strategies and implementation optimization techniques in the final models, in terms of error, model size, computation time and performance in tracking mode and challenging scenarios. As a result of the GTX training strategies, we have obtained a set of boosted models, labelled as LBF_gtx models, that will be compared with the LBF_base models and other complementary ones.</p><p><strong>Accuracy vs Size vs Speed comparison:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-hSj1vKVNMh7Jcma9lyuOw.png" /><figcaption>Average error (%) and failed images (%) on the 300W-fullset test. In the central column the size of each model is provided in MegaBytes (MB). In the last colunm, the average computational time in that benchmark is provided in milliseconds per face. In the evaluated LBF models, “q” means quantized models and “float” are the raw models, all of them already integrated in our C++ pipeline. The DAN model is the original model provided in the original paper. And the ERT model is used through the Dlib library, comparing the model provided by the library and our own training ERT model. The OpenCV LBF models are used through the OpenCV library. The indexes 1,2,3 and 4 indicate that the OpenCV default model is used with different face detectors, including the onboard HaarCascade face detector and DNN face detector. The Inference was made using the laptop computer with the Intel Core(TM) i7 processor at 2.6 GHz (Image by the author).</figcaption></figure><p><strong>Jitter evaluation in our Jitter benchmark:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-ixWebUBWe-UlA6gMS7LqA.png" /><figcaption>Amount of total jitter and jitter per frame in our self-designed Jittering benchmark ordered by growing laMSD per frame. The Inference was made using the laptop computer with the Intel Core(TM) i7 processor at 2.6 GHz. Our LBF models are the float version, for a fair comparison with the OpenCV one (Image by the author).</figcaption></figure><p><strong>Domain-specific benchmark:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kuxS22JvHdH-gi7ompkaaA.png" /><figcaption>Average error (%) and failed images (%) on the 300W-fullset and domain-specific testing subsets after training the base models <strong>using domain-specific unlabeled data and a teacher-pupil scheme </strong>(Image by the author).</figcaption></figure><p><strong>Impact of model quantization:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9f8hQBWTNyXOUZpA7vuF3g.png" /><figcaption>Impact of quantization in terms of accuracy (300W-common dataset), speed and size for different<br>hardware devices (Image by the author).</figcaption></figure><h3><strong>Qualitative results</strong></h3><p>To see the impact of the proposed training strategies and implementation optimization, I have created some videos to observe their effects.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FZyv3VUHrLgQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DZyv3VUHrLgQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FZyv3VUHrLgQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2f53bb198ab1114481f192690a555720/href">https://medium.com/media/2f53bb198ab1114481f192690a555720/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FELQptvXR3R4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DELQptvXR3R4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FELQptvXR3R4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/312776db39cb253ca536370d891f5628/href">https://medium.com/media/312776db39cb253ca536370d891f5628/href</a></iframe><h3><strong>Conclusion</strong></h3><p>The results of this article show the impact of a set of optimization and training strategies in the context of a face alignment system that is intended to be integrated in a solution that runs in real-time, both in desktop computers and mobile devices. Without any algorithmic development, we show how clever strategies for training, implementation and system design can show tremendous impact on the performance of the models in terms of accuracy, speed, model size, or failure rate in challenging conditions.</p><p>Thanks for reading. I hope you learned as much from reading this post as I did from writing it. Cheers!</p><p><strong>This work was done in collaboration with </strong><a href="https://medium.com/u/f20d4f60ca7e"><strong>Miguel Bordallo</strong></a><strong>.</strong></p><ul><li>Ph.D. Miguel Bordallo López, Assistant Professor and Docent at the University of Oulu. <a href="https://sites.google.com/view/miguelbordallo">https://sites.google.com/view/miguelbordallo</a></li></ul><p><strong>Further details in:</strong></p><blockquote>Alvarez Casado, C., Bordallo Lopez, M. <br>Real-time face alignment: evaluation methods, training strategies and implementation optimization. <br>Springer Journal of Real-time image processing, 2021</blockquote><p><strong>Download the models from:<br></strong>Download code, models, benchmark datasets and example videos from the article’s <a href="https://www.google.com/url?q=https%3A%2F%2Fgitlab.com%2Fvisualhealth%2Fvhpapers%2Freal-time-facealignment&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNFSpOaKHL10u4WecuzO6SytAeMGOg">GitLab repository</a> The models produced in the article are now the standard ones in the <a href="https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fdavisking%2Fdlib-models&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNEe9SzwKWueU1Zk6cbjq4RjbRlBEA">Dlib library models repository</a>.</p><ul><li>Our LBF_gtx and ERT_gtx models: <a href="https://drive.google.com/drive/folders/1t1fRQfTaL1-XgGA1JSzuvLSXsitZ6Scj">Our models</a></li><li>Original and default OpenCV LBF model: <a href="https://raw.githubusercontent.com/kurnianggoro/GSOC2017/master/data/lbfmodel.yaml">OpenCV LBF Model</a></li><li>Original DAN models: <a href="https://drive.google.com/drive/folders/168tC2OxS5DjyaiuDy_JhIV3eje8K_PLJ">DAN Model</a></li><li>Original and default Dlib ERT model: <a href="https://github.com/davisking/dlib-models">Dlib ERT Model</a></li></ul><h4><strong>References</strong></h4><p>[1] OpenCV library: <a href="https://opencv.org/">https://opencv.org/</a><br>[2] Dlib library: <a href="http://dlib.net/">http://dlib.net/</a><br>[3] S. Ren, X. Cao, Y. Wei and J. Sun, “Face Alignment at 3000 FPS via Regressing Local Binary Features,” <em>2014 IEEE Conference on Computer Vision and Pattern Recognition</em>, Columbus, OH, USA, 2014, pp. 1685–1692, doi: 10.1109/CVPR.2014.218.<br>[4] V. Kazemi and J. Sullivan, “One millisecond face alignment with an ensemble of regression trees,” <em>2014 IEEE Conference on Computer Vision and Pattern Recognition</em>, Columbus, OH, USA, 2014, pp. 1867–1874, doi: 10.1109/CVPR.2014.241.<br>[5] M. Kowalski, J. Naruniec and T. Trzcinski, “Deep Alignment Network: A Convolutional Neural Network for Robust Face Alignment,” <em>2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)</em>, Honolulu, HI, USA, 2017, pp. 2034–2043, doi: 10.1109/CVPRW.2017.254.<br>[6] C. Sagonas, E. Antonakos, G, Tzimiropoulos, S. Zafeiriou, M. Pantic. “300 faces In-the-wild challenge: Database and results”. Image and Vision Computing (IMAVIS), Special Issue on Facial Landmark Localisation “In-The-Wild”. 2016.<br>[7] OpenMP library: <a href="https://www.openmp.org/">https://www.openmp.org/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8cc867efc5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/faster-smoother-smaller-more-accurate-and-more-robust-face-alignment-models-d8cc867efc5">Faster, smoother, smaller, more accurate and more robust face alignment models</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>