moving ball detection--vision thread