Optimum Camera Placement Based on the Flow of Moving Objects