Sensor for motion detection on small scale

How fast do the objects move? If they take more than 1/10th of a second to pass the visual field, then the obviouse answer is a raspberrypi + camera (you can actually get up to ~ 400 Hz framerate from the rpi camera, at least for thw first ~ 100 lines)