Skip to content
⚡ Developer documentation for INFINICAM, the real-time high-speed camera (UC-1.1 / GbE-2)

Inspecting the road surface

Road inspection requires finding cracks, holes (potholes), bumps, ruts, wet areas and so on in the road surface. If the road could be inspected while driving at normal speed, without closing it to traffic, the effort of inspection could be greatly reduced.

Using the example of capturing the road surface while driving at 120 km/h, this page considers what INFINICAM might be able to do.

1. Can the road surface be captured without gaps?

Section titled “1. Can the road surface be captured without gaps?”

Suppose the camera is mounted on a car so that it captures a 1 m long section of road surface in the direction of travel. When driving at 120 km/h (about 33.3 m/s), the distance traveled during one frame and the number of times the same spot on the road is captured are as follows.

30 fps 1,000 fps
Distance traveled during one frame About 1.1 m About 3.3 cm
Times the same spot on the road is captured 0 to 1 (gaps appear) About 30

At 30 fps, the car travels farther during one frame than the length captured (1 m), so there are spots that do not appear in any frame. At 1,000 fps, every spot on the road is captured about 30 times.

Benefits of capturing the same spot many times

Section titled “Benefits of capturing the same spot many times”

Because the same spot is captured many times from slightly different angles, the following may be possible:

  • Combining several images to make a clear image with less noise
  • Using light reflections, which change with the viewing angle, as a clue to tell wet areas apart, or to tell dirt from cracks
  • Making up with other frames when one image happens to be blurred or washed out white by a reflection

Raising resolution by combining shifted images (super-resolution)

Section titled “Raising resolution by combining shifted images (super-resolution)”

When capturing while driving, the same spot on the road appears at a slightly different position in each frame. For example, if 1 mm of road surface is captured as 1 pixel, the road shifts by about 33 pixels plus a fraction during one frame, and this “fraction” changes from frame to frame.

If you measure these shifts accurately and combine the images, you may be able to create an image finer than any single image (super-resolution). Cracks that are thinner than 1 pixel and do not appear in a single image might become visible. The idea and the conditions under which it works are explained in Raising resolution by combining shifted images (super-resolution).

2. Finding defects on the spot and keeping only what you need

Section titled “2. Finding defects on the spot and keeping only what you need”

If you keep capturing at 1,000 fps, the amount of data becomes very large. The compressed data for an 800 × 600 pixel image is about 120 KB, so one second produces about 120 MB, and one hour produces about 430 GB.

Because INFINICAM sends captured images to the PC right away, you can analyze them on the spot while driving and save only the frames before and after places that seem to have cracks or other defects. This greatly reduces the data you need to save. You can try the idea of saving the frames before and after an event in the application Recording the moment of motion.

INFINICAM images include information on the time they were captured. By linking them by time to position records from GPS or similar, you can check the locations you found on a map.

Reducing blur: short shutter speeds and lighting

Section titled “Reducing blur: short shutter speeds and lighting”

The road surface flows past the camera at the car’s speed. The distance traveled while the shutter is open becomes blur in the image.

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

To see a thin crack about 1 mm wide, you need a short shutter speed of around 1/100,000 s. The INFINICAM shutter speed can be set as short as 4 μs (1/250,000 s).

The shorter the shutter, the more light is needed to capture the image. You need to light the road surface strongly, but the lighting does not have to stay on all the time. INFINICAM can output an Expose signal only while the image sensor is exposing, so one possible approach is to use this signal to turn on the lighting only during exposure (see External IO).

At 1,000 fps, the image size is 800 × 600 pixels. If you capture the width of a lane (about 3.5 m) with 800 pixels, one pixel is about 4.4 mm, and thin cracks will not appear. To make one pixel about 1 mm, one approach is to have each camera capture a width of about 80 cm and place multiple cameras side by side. The super-resolution explained above might also make it possible to widen the area each camera captures. Multiple GbE-2 cameras can be connected to one PC through a switching hub (see PC operating environment and network settings).

The car bounces up and down as it drives, so the distance between the camera and the road surface changes, which changes the focus and the size of what is captured. You need a lens with enough depth of field, or processing that corrects for the effects of the vibration.