What Is a Time-of-Flight Camera and How Does It Work?

Time Of Flight Camera And How It Works Featured

When Huawei announced its P30 and P30 Pro models, the latest of its photography-focused series of phones, the time-of-flight camera carried the day. You’ve probably noticed this bit of hardware on more smartphones recently, and the trend isn’t about to stop there any time soon.

But what is a time-of-flight camera, and how does it work?

Also read: Does a Phone’s Multiple-Lenses Camera Take Better Photos?

What Is a Time-of-flight Camera?

Time Of Flight Camera And How It Works P30 Pro

A Time-of-flight (ToF) camera is a standard feature appearing on several recently released smartphones.

ToF cameras use the speed of light instead of sound to detect things and measure distances, ultimately creating sharper photos.

They also measure the depth in a scene and help navigate around obstacles while mapping the surroundings and creating basic 3D representations of the objects or anything else in front of them.

Besides their use on smartphones, ToF cameras (or depth cameras) can be used for gesture recognition, subject identification, and security applications among other uses. They’re also becoming increasingly common on drones and industrial robots.

They are also critical in augmented and virtual reality applications like gaming.

How Time-of-flight Cameras Work

Time Of Flight Camera And How It Works How

ToF cameras aren’t new.

The technology has been around for some time, though the processing speeds needed slowed down the time taken to bring depth-sensing technology to every day devices. But they’re still cutting-edge and quickly becoming more affordable, efficient, and accessible.

Through its imaging sensor, a ToF camera works by shooting out a pulse of infra-red light rays into the scene, which bounce off the object and return to the camera.

The camera then measures the distance to each pixel in its range through photosites on the CCD sensor. The scene is captured and measured, creating a 3D “map” of the space, so there aren’t any moving parts.

All this takes place in less than the blink of an eye as light travels 300,000km per second, so it gets all the information it needs in mere nanoseconds. In short, everything must work very fast, at the speed of light.

Also read: How to Shoot Amazing Photos on Android with Manual Camera Controls

ToF Cameras on Phones

Time Of Flight Camera And How It Works Phone

Current ToF cameras are available on the latest generation of phones like Samsung Galaxy S10 5G, Huawei P30 Pro, Oppo RX17 Pro, and LG G8 ThinQ.

These mobile phones don’t just have one camera. Several front cameras are available with a minimum of two and up to six different lenses, each with their sensors.

However, one of these extra front cameras are increasingly going to be a ToF sensor, which give extra features and depth information. This is useful especially for gesture recognition or defocusing backgrounds to give the bokeh blur effect.

Ideally, ToF cameras will allow users more control over the display of subjects in photographs. You can also use them to measure distance, height, and width especially in augmented reality applications.

For now, these cameras are limited to these applications. But it’s a good time to acquaint yourself with the technology as they’ll be everywhere eventually.

Have you used ToF technology before? Or does your smartphone have a ToF camera? Share your experience in a comment below.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Elsie Biage Avatar

Read next

Tristan Harris, Google’s former design ethicist, told the US Senate that the pull-to-refresh gesture on nearly every app works like the lever of a Las Vegas slot machine, and he has long warned that we now reach for our phones around 150 times a day without ever calling it gambling
In 1969, László Bélády and two IBM colleagues published a paging-machine anomaly showing FIFO could make four memory frames suffer ten page faults after three frames suffered nine, leaving generations of operating-systems students staring at the moment more memory became the wrong answer
When Bell Labs engineer Karl Jansky pointed a rotating antenna at the sky in 1932 looking for sources of transatlantic radio static, he kept picking up a faint hiss that peaked every 23 hours and 56 minutes, and he eventually realized he had become the first human to hear the center of the Milky Way.
The colour magenta does not exist anywhere in the spectrum of visible light, and your brain manufactures it on the spot whenever red and blue cones fire together, inventing a hue to fill a gap that physics never bothered to provide.
On 28 May 2009, Google demoed a product called Wave on stage at I/O for 80 minutes and got a standing ovation from developers who had no idea what they had just watched, and 15 months later the company quietly shut it down because almost nobody could explain to a friend what it was actually for
When Clair Patterson set out in 1948 to measure the age of the Earth using lead in meteorites, his samples kept coming back contaminated, and the seven-year detour he took to find the source ended with him almost single-handedly forcing leaded gasoline out of American cars by 1986.
The IBM 305 RAMAC stayed in production until 1961, weighed more than a ton, stored five million characters on fifty spinning platters, and still drew customers because the alternative was a room full of punched cards
In 1977, Ann Druyan recorded an hour of her brainwaves and heartbeat two days after she and Carl Sagan agreed to marry, and NASA pressed the compressed minute onto Voyager’s Golden Record as a private love signal now more than 25 billion kilometres from Earth