Shore detection for water surfaces

How goes with this project? Were you able to solve the?