A learning approach for river debris detection