<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "https://jats.nlm.nih.gov/nlm-dtd/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="3.0" xml:lang="en">
<front>
<journal-meta>
<journal-id journal-id-type="publisher">ISPRS-Archives</journal-id>
<journal-title-group>
<journal-title>The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences</journal-title>
<abbrev-journal-title abbrev-type="publisher">ISPRS-Archives</abbrev-journal-title>
<abbrev-journal-title abbrev-type="nlm-ta">Int. Arch. Photogramm. Remote Sens. Spatial Inf. Sci.</abbrev-journal-title>
</journal-title-group>
<issn pub-type="epub">2194-9034</issn>
<publisher><publisher-name>Copernicus Publications</publisher-name>
<publisher-loc>Göttingen, Germany</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.5194/isprs-archives-XLVIII-4-W17-2025-317-2026</article-id>
<title-group>
<article-title>Solar Panel Segmentation in High-Resolution Satellite Imagery: A YOLOv8-GIS Approach in the Marrakech-Safi Region, Morocco</article-title>
</title-group>
<contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Smouni</surname>
<given-names>Mohamed</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Saadaoui</surname>
<given-names>Hachem</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Rhinane</surname>
<given-names>Hassan</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Ghennioui</surname>
<given-names>Abdellatif</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
</contrib-group><aff id="aff1">
<label>1</label>
<addr-line>Geosciences Laboratory, Faculty of Sciences-Ain Chock, Hassan II University, Casablanca, Morocco</addr-line>
</aff>
<aff id="aff2">
<label>2</label>
<addr-line>Green Energy Park (GEP), Regional Road Kelaa Km 3, Benguerir, R206, Morocco</addr-line>
</aff>
<pub-date pub-type="epub">
<day>15</day>
<month>01</month>
<year>2026</year>
</pub-date>
<volume>XLVIII-4/W17-2025</volume>
<fpage>317</fpage>
<lpage>329</lpage>
<permissions>
<copyright-statement>Copyright: &#x000a9; 2026 Mohamed Smouni et al.</copyright-statement>
<copyright-year>2026</copyright-year>
<license license-type="open-access">
<license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri"  xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p>
</license>
</permissions>
<self-uri xlink:href="https://isprs-archives.copernicus.org/articles/XLVIII-4-W17-2025/317/2026/isprs-archives-XLVIII-4-W17-2025-317-2026.html">This article is available from https://isprs-archives.copernicus.org/articles/XLVIII-4-W17-2025/317/2026/isprs-archives-XLVIII-4-W17-2025-317-2026.html</self-uri>
<self-uri xlink:href="https://isprs-archives.copernicus.org/articles/XLVIII-4-W17-2025/317/2026/isprs-archives-XLVIII-4-W17-2025-317-2026.pdf">The full text article is available as a PDF file from https://isprs-archives.copernicus.org/articles/XLVIII-4-W17-2025/317/2026/isprs-archives-XLVIII-4-W17-2025-317-2026.pdf</self-uri>
<abstract>
<p>Green energy usage in Morocco is gaining traction, particularly in the realm of solar panels, which hold great potential for use in agriculture and residential settings. Recently, there has been growing interest in exploring ways to automatically gather important information about solar installations in specific geographic areas of interest. To address this goal, we developed a geoAI approach that utilizes satellite high-resolution imagery and the YOLOv8 computer vision algorithm for accurate solar panel segmentation in the Marrakech-Safi region of Morocco. Training images were obtained from open-source, annotated datasets available on the web, and we pseudo-labeled images from our Area of Interest using a semi-supervised learning approach. We built, trained, and tested the solar panel dataset, which included 4660 images. Subsequently, we performed geoprocessing analysis to extract estimated geometric parameters such as the area, perimeter, and angles of the segmented solar panels. These shape parameters were then employed in unsupervised machine learning to detect anomalies in the segmented data by using the Isolation Forest algorithm. Precision, recall rate, and mAP50 were used for the evaluation of the Yolov8 segmentation model. The results showed a high precision rate of 96.9%, a recall rate of 97.6%, and an mAP score of 0.99, indicating the effectiveness of the Yolov8 segmentations in accurately segmenting solar panels. Our approach successfully segmented 18,050 PV modules, covering an estimated area of 1.47 km&lt;sup&gt;2&lt;/sup&gt; in the study area, with an average confidence of 89%. This demonstrates the model&apos;s capability to accurately identify and isolate solar panels within complex scenes. The high precision and recall rates suggest that our approach is robust for large-scale solar panel detection in diverse landscapes. Successfully segmenting over 18,000 PV modules indicates the scalability of our method. Additionally, integrating geoprocessing analysis and the Isolation Forest algorithm enhances our approach, allowing for the identification of anomalies in solar panel installations. This research provides valuable insights into the extent of solar panel adoption in the Marrakech-Safi region, offers a robust methodology for large-scale solar installation mapping, and establishes a foundation for future nationwide studies, potentially informing energy policies and supporting sustainable development initiatives across Morocco.</p>
</abstract>
<counts><page-count count="13"/></counts>
</article-meta>
</front>
<body/>
<back>
</back>
</article>