{"id":13949181,"url":"https://github.com/mhscience/landslides_detection","last_synced_at":"2025-07-20T11:31:03.307Z","repository":{"id":47570778,"uuid":"207683047","full_name":"mhscience/landslides_detection","owner":"mhscience","description":"Machine learning tool to detect landslides from optical satellite imagery ","archived":false,"fork":false,"pushed_at":"2022-12-08T11:43:56.000Z","size":29679,"stargazers_count":108,"open_issues_count":11,"forks_count":35,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-07T00:04:32.958Z","etag":null,"topics":["geomatics","google-earth-engine","image-segmentation","k-means","landslides-detection","merging-algorithms","obia","object-based-image-analysis","optical-satellite-imagery","random-forest","rsgislib"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mhscience.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-10T23:45:24.000Z","updated_at":"2025-07-05T16:12:38.000Z","dependencies_parsed_at":"2023-01-25T12:45:51.056Z","dependency_job_id":null,"html_url":"https://github.com/mhscience/landslides_detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mhscience/landslides_detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhscience%2Flandslides_detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhscience%2Flandslides_detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhscience%2Flandslides_detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhscience%2Flandslides_detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhscience","download_url":"https://codeload.github.com/mhscience/landslides_detection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhscience%2Flandslides_detection/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264708183,"owners_count":23652204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geomatics","google-earth-engine","image-segmentation","k-means","landslides-detection","merging-algorithms","obia","object-based-image-analysis","optical-satellite-imagery","random-forest","rsgislib"],"created_at":"2024-08-08T05:01:40.070Z","updated_at":"2025-07-20T11:31:03.287Z","avatar_url":"https://github.com/mhscience.png","language":"Python","funding_links":[],"categories":["Natural Resources","Access and Monitoring of Resources"],"sub_categories":["Soil and Land","Soil"],"readme":"# landslide_detector\n\n\nThe landslide_detector is a tool developed to detect landslides from optical remotely sensed images using Object-Based Image Analysis (OBIA) and Machine Learning (Random Forest classifier).\n\nI  developed this tool to test the methodology proposed in [my master thesis](https://repository.tudelft.nl/islandora/object/uuid%3A52fe6b3b-ec0b-4cad-b51d-7798830688a4?collection=education) in Geomatics at Delft University of Technology. This implementation can be used to assist landslides experts/non-experts in detecting new landslides events and improve existing inventories.\n\nThis project was made in join collaboration [Delft University of Technology](https://www.tudelft.nl/en/) and [Deltares Research Institute](https://www.deltares.nl/en/).\n\nThe tool is built using open source software: [Google Earth Engine(GEE)](https://earthengine.google.com/) and Python with their libraries [Remote Sensing and GIS software library (RSGISLib)](https://www.rsgislib.org/) and [Scikit-Learn](https://scikit-learn.org/stable/). It includes three main components:\n\n![name me](/doc/img/segmentation.png)\n*Image pre-processing and segmentation; sample in a remote area in Italy. (a) Cloud-free pre-landslide image. (b) Cloud-free post-landslide image. (c) Image difference using band ratioing red/green (RGD). (d) Image segmentation.*\n\n- [Pre-processing script](https://github.com/mhscience/landslides_detection/blob/master/pre_processingGEE/pre_processing_thesis_mh.js) developed for Google Earth Engine. The script obtains cloud-free images from optical satellite imagery (Sentinel-2), extracts spectral and topographic features from Sentinel-2 and global Digital Elevation Model (DEM), and computes new landslides diagnostic features at pixel level\n\n- [Image segmentation program](https://github.com/mhscience/landslides_detection/tree/master/segmentation) developed in Python.  Image segmentation is the first step towards the application of OBIA. It consists on the subdivision of an image into spatially continuous, disjoint, and relative homogeneous regions that refer to segments. This stage is implemented as a two-step approach: (a) an initial segmentation using a [k-means script](https://github.com/mhscience/landslides_detection/tree/master/segmentation/k_means_segmentation)   (developed using [RSGISLib](https://www.rsgislib.org/)); (b) [merging algorithm script](https://github.com/mhscience/landslides_detection/tree/master/segmentation/merging_algorithm) using a region-growing implementation\n\n- [Image classification script](https://github.com/mhscience/landslides_detection/tree/master/model) to detect the landslide segments. Once segments with features statistics are obtained from the Image segmentation step, the image is classified by assigning each segment to a class. The classification is conducted using supervised Machine Learning, specifically the Random Forest algorithm\n\nWe provide a [script](https://github.com/mhscience/landslides_detection/tree/master/training_script) for model training and testing.\n\n#### Quickstart\n[See our tutorial](https://github.com/mhscience/landslides_detection/wiki)\n\n#### Author: \nMSc.ir. Meylin Herrera Herrera  \nMaster in Geomatics @ Delft University of Technology   \nContact: mhscience@gmail.com  \n\n#### Contributors\nDr.ir. Mathias Lemmens @ Delft University of Technology  \nDr.ir. Amin Askarinejad @ Delft University of Technology  \nDr.ir. Faraz Tehrani @ Deltares Research Institute  \nIr. Giorgio Santinelli @ Deltares Research Institute\n\n#### Contributing\n\nWe encourage you to contribute. Please check our [contributing guidelines](https://github.com/mhscience/landslides_detection/blob/master/contributing.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhscience%2Flandslides_detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhscience%2Flandslides_detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhscience%2Flandslides_detection/lists"}