Autonomous driving and in-vehicle cameras
In autonomous driving and driver assistance, it is important to watch the surroundings with cameras and notice dangers early. Using a car driving at 120 km/h as an example, this page compares in numbers what changes between a conventional camera (30 fps) and INFINICAM (1,000 fps).
1. How far does the car travel between frames?
Section titled “1. How far does the car travel between frames?”A camera cannot see what happens between one frame and the next. The table compares the distance the car travels in that time at different speeds.
| Car speed | 30 fps (every 33.3 ms) | 60 fps (every 16.7 ms) | 1,000 fps (every 1 ms) |
|---|---|---|---|
| 60 km/h (16.7 m/s) | About 56 cm | About 28 cm | About 1.7 cm |
| 100 km/h (27.8 m/s) | About 93 cm | About 46 cm | About 2.8 cm |
| 120 km/h (33.3 m/s) | About 1.1 m | About 56 cm | About 3.3 cm |
At 120 km/h, a 30 fps camera captures only one image for every 1.1 m or so traveled. INFINICAM captures one image for every 3.3 cm or so.
2. How far does the car travel before it notices?
Section titled “2. How far does the car travel before it notices?”Noticing a danger with a camera takes the following time:
- The wait from when something happens until the next frame is captured
- The time for the captured image to reach the PC (computer) that processes it
- The time to analyze the image and decide “this is dangerous”
The wait in step 1 is up to about 33 ms at 30 fps, and up to 1 ms at 1,000 fps. At 120 km/h, this means the car sees nothing while traveling up to about 1.1 m at 30 fps, or up to about 3.3 cm at 1,000 fps.
As for step 2, INFINICAM does not store captured images inside the camera but sends them to the PC right away (see Data transmission mechanism). You can start analysis the moment an image arrives.
Confirming over several frames without becoming slower
Section titled “Confirming over several frames without becoming slower”If you decide from a single image, you may react by mistake to something misread (a shadow, a reflection, noise, and so on). A common method is therefore to confirm “is it really there?” using several consecutive images.
| Frames used to confirm | 30 fps | 1,000 fps |
|---|---|---|
| Time for 5 frames | About 167 ms | 5 ms |
| Distance traveled in that time (120 km/h) | About 5.6 m | About 17 cm |
At 1,000 fps, confirming over 5 frames takes only 5 ms. Even if you confirm more times, you notice hardly any later.
3. Reading the motion of other cars and people
Section titled “3. Reading the motion of other cars and people”The speed and direction of the car ahead, or of a person or bicycle coming out from the side, are found from the change in position across several images. At 1,000 fps, positions from dozens of frames are collected within just a few tens of milliseconds, so there are possibilities such as:
- Noticing changes in motion early, such as sudden braking or someone suddenly stepping out
- Reducing the scatter in speed and direction, because they are calculated from many positions
You can also try the idea of calculating speed in the application Measuring the speed of a ball.
4. Key points and limitations
Section titled “4. Key points and limitations”Resolution and field of view
Section titled “Resolution and field of view”At 1,000 fps, the image size is 800 × 600 pixels. High-resolution cameras are better at seeing small, distant objects in detail.
For example, one possible approach is to divide roles and combine cameras: a high-resolution camera for distant scenes, and INFINICAM for fast changes nearby.
Capturing fast objects without blur
Section titled “Capturing fast objects without blur”If an object moves while a frame is being captured (while the shutter is open), the image is blurred. For example, when capturing something that flows past at the car’s speed, such as the road surface, the amount of blur at each shutter speed is as follows.
| Shutter speed | Distance traveled in that time (120 km/h) |
|---|---|
| 1/1,000 s | About 3.3 cm |
| 1/10,000 s | About 3.3 mm |
| 1/100,000 s | About 0.3 mm |
The shorter the shutter speed, the smaller the blur. However, more light is needed to capture the image. Outdoors in daytime it is bright, so short shutter speeds are easy to use, but at night or in tunnels you need lighting. The INFINICAM shutter speed can be set as short as 4 μs (1/250,000 s).
Processing each image within 1 ms
Section titled “Processing each image within 1 ms”Because 1,000 images arrive every second, each image must be processed within 1 ms. Instead of examining the whole image in detail, you use techniques such as:
- Searching roughly in a scaled-down image (DC components), then examining only the areas of interest in detail
- Narrowing the area to examine (ROI) based on the result of the previous frame
- Processing in parallel with multiple threads or a GPU
For concrete methods, see the programs in Applications.
Related pages
Section titled “Related pages”- Possibilities of INFINICAM (overview): what changes when the camera is fast, and the shared ideas
- Finding moving objects: an application that finds areas that moved, at full 1,000 fps
- Why object tracking is easier: why small motion between frames makes objects easier to follow
- Inspecting the road surface: capturing the road surface while driving
- Measuring the speed of a ball: an application that calculates speed from changes in position
- Data transmission mechanism: how captured images are sent to the PC right away
