This used to detct the sand dune there are two approches ML and AI AI ha better results

input image will always be LBP since its a illumination invarient LBP is image processing techinque whose code is available on net

i m here showing AI results

output: