An automated lineament extraction model was successfully applied in the mountainous region of Ait Semgane, Morocco, enabling the identification of geological and tectonic linear features. Our research implemented several approaches including Topographic Position Index (TPI), shading, and Digital Elevation Models (DEMs), as input for the lineament extraction algorithm and applied to various Dems. We aimed to compare all of these strategies to determine the optimal method and the most favorable input DEM. Results revealed variable performance among methods, emphasizing the importance of choosing the optimum method based on specific objectives. TPI and Hillshade methods showed high sensitivity in detecting lineaments, while ALOS PALSAR and Sentinel 1 InSAR datasets were effective for subtle features. Lineament density exhibited specific orientations for highly-dissected zones, with TPI highlighting NE-SW and E-W orientations. Lineament orientations demonstrated consistency with established geology, confirming pre-existing tectonic knowledge. Cartographic analysis of faults emphasized the success of the SRTM DEM model with the TPI method, highlighting significant faults. Results also revealed a concentration of faults in the NW and southern sectors, corroborating bibliographic references and the well-documented tectonic setting of the study area. This automated methodology facilitated lineament extraction in unmapped areas, reinforcing the validity of the undertaken cartographic analysis.