Updated vision assignment to do batch computation.