basics of opencv repeat down