Hatim Lechgar

Mr. Hatim Lechgar


Research Focus & Metrics

Academic Career Length

11Years (2016-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
21 February 2019 in The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences
Verified
Journal Article
Open access
PDF file
HLHatim Lechgar
Hatim Lechgar
HBH. Bekkar
H. Bekkar
HRHassan Rhinane
Hassan Rhinane
Recent progress in deep learning methods has shown that key steps in object detection and recognition can be performed with convolutional neural networks (CNN). In this article, we adapt YOLO (You Only Look Once) to a new approach to perform object detection on satellite imagery. This system uses a single convolutional neural network (CNN) to predict classes and bounding boxes. The network looks at the entire image at the time of the training and testing, which greatly enhances the differentiation of the background since the network encodes the essential information for each object. The high speed of this system combined with its ability to detect and classify multiple objects in the same image makes it a compelling argument for use with satellite imagery.

16 April 2016
Verified
Book Chapter
Closed access
PDF file
HLHatim Lechgar
Hatim Lechgar
AMAbdelouahed Mallouk
Abdelouahed Mallouk
MMMohamed El Imame Malaainine
Mohamed El Imame Malaainine
TNTarik Nahhal
Tarik Nahhal
HRHassane Rhinane
Hassane Rhinane

2 February 2026 in The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences
Verified
Journal Article
Open access
SFSaad Farah
Saad Farah
NNNora Nait
Nora Nait
HSHachem Saadaoui
Hachem Saadaoui
HLHatim Lechgar
Hatim Lechgar
MMMehdi Maanan
Mehdi Maanan
HRHassan Rhinane
Hassan Rhinane
Solar energy has become a major contributor to global renewable energy strategies, offering a sustainable alternative to fossil fuels. Photovoltaic (PV) systems, which convert sunlight into electricity, play a central role in this transition. As the demand for large-scale solar energy projects grows, Geographic Information Systems (GIS) and advanced deep learning models have become critical for accurately detecting and mapping PV installations, particularly from satellite imagery. However, challenges remain, especially in regions with suboptimal satellite data quality. This study focuses on the Marrakesh-Safi region of Morocco, where the potential for solar energy is high but hindered by limitations in available satellite imagery. We employ advanced transformer-based models, including Mask2Former, SegFormer, and DeepLabV3+, to enhance the semantic segmentation of PV systems from high-resolution satellite images. By integrating GIS with these deep learning models, we aim to improve the accuracy and scalability of PV detection, even in complex and diverse geographical settings. Our methodology involves training and testing these models on annotated satellite imagery, with performance evaluated using key metrics such as Intersection over Union (IoU), precision, recall, and F1 score. Mask2Former achieved notable results with a recall of 0.95 and an F1 score of 0.936, excelling in the detection of smaller and more complex PV layouts. DeepLabV3+ demonstrated strong overall performance, with an IoU of 0.89 and precision of 0.93, while also being the most computationally efficient model, processing 28 samples per second. This research highlights the effectiveness of integrating GIS with deep learning, particularly transformer-based architectures, for the accurate detection and mapping of PV systems. The results contribute to the broader efforts in renewable energy optimization, supporting more efficient solar energy deployment, especially in regions like Morocco where data quality poses significant challenges.

15 July 2025 in Preprints.org
Verified
Preprint
Open access
PDF file
HSHachem Saadaoui
Hachem Saadaoui
SFSaad Farah
Saad Farah
HLHatim Lechgar
Hatim Lechgar
AGAbdellatif Ghennioui
Abdellatif Ghennioui
HRHassan Rhinane
Hassan Rhinane
Urban roof segmentation plays a pivotal role in applications such as urban planning, infrastructure management, and renewable energy deployment. This study explores the evolution of deep learning techniques from traditional Convolutional Neural Networks (CNNs) to cutting-edge Transformer-based models in the context of roof segmentation from satellite imagery. We highlight the limitations of conventional methods when applied to urban environments, including resolution constraints and the complexity of roof structures. To address these challenges, we evaluate two advanced deep learning models: Mask R-CNN and MaskFormer, which have shown significant promise in accurately segmenting roofs, even in dense urban settings with diverse roof geometries. These models, especially the one based on transformers, offer improved segmentation accuracy by capturing both global and local image features, enhancing their performance in tasks where fine detail and contextual awareness are critical. A case study on Ben Guerir City in Morocco, an urban area experiencing rapid development, serves as the foundation for testing these models. Using high-resolution satellite imagery, the segmentation results offer a deeper understanding of the accuracy and effectiveness of these models, particularly in optimizing urban planning and renewable energy assessments. Quantitative metrics such as Intersection over Union (IoU), precision, recall, and F1-score are used to benchmark model performance. Mask R-CNN achieved a mean IoU of 74.6%, precision of 81.3%, recall of 78.9%, and F1-score of 80.1%. MaskFormer outperformed Mask R-CNN, reaching a mean IoU of 79.8%, precision of 85.6%, recall of 82.7%, and F1-score of 84.1%, highlighting the transformative potential of transformer-based architectures for scalable and precise urban imaging. The study also outlines future work in 3D modelling and height estimation, positioning these advancements as critical tools for sustainable urban development.