Landslide detection using optical sensor