A computer vision system for staff gauge in river flood monitoring