Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Vivo TOF 3D Camera: How It Works

· 7 min read · Home Security

In this article
  1. What Is a TOF 3D Camera?
  2. How Vivo's TOF Camera Works
  3. Which Vivo Phones Have a TOF Camera?
  4. TOF vs. Other Depth-Sensing Technologies
  5. Common Problems and Misconceptions
  6. How to Use a Vivo TOF Camera
  7. Is TOF Worth It in 2024?
  8. Frequently Asked Questions

Yes, Vivo has worked on Time-of-Flight (TOF) 3D cameras for its smartphones, most notably in the NEX and X series around 2018–2019, and the technology is still used in some current models. A TOF camera measures the time light takes to bounce back from an object, creating a depth map that enables face unlock, augmented reality (AR), and bokeh effects. This article explains what Vivo's TOF camera does, how it works, which phones have it, and how it compares to other depth-sensing technologies.

What Is a TOF 3D Camera?

A Time-of-Flight (TOF) camera is a depth sensor that emits infrared light and measures the time it takes for that light to reflect off objects and return to the sensor. Because the speed of light is constant, the round-trip time directly gives the distance to each point in the scene. The result is a 3D map of the environment, updated in real time, with millimeter-level accuracy at close range.

In smartphones, TOF cameras are typically placed on the rear (for AR and depth effects) or on the front (for face unlock and selfie bokeh). Vivo was one of the first manufacturers to adopt rear TOF sensors, using them in the NEX Dual Display Edition and the X21, X23, and X27 series. These sensors work alongside the main camera to separate the subject from the background, enabling more accurate portrait mode and AR applications.

How Vivo's TOF Camera Works

The TOF module consists of three main parts: an infrared emitter, an infrared sensor, and a processor that calculates distances. The emitter sends out a modulated light pulse; the sensor captures the reflected light; and the processor measures the phase shift between the emitted and received signals. That phase shift is converted into a distance value for each pixel, producing a depth map.

Vivo's implementation uses a dedicated TOF chip, often from suppliers like Sony or Samsung, and integrates it with the phone's image signal processor (ISP). The depth data is then used by the camera app to:

  • Create a precise bokeh effect (blurring the background while keeping the subject sharp).
  • Enable AR stickers and games that place virtual objects in the real world.
  • Improve face unlock by verifying the 3D shape of the face, not just a 2D image.
  • Support 3D scanning and measurement apps.

Unlike stereo cameras that use two lenses to triangulate depth, TOF works in any lighting condition, including total darkness, because it emits its own light.

Which Vivo Phones Have a TOF Camera?

Vivo introduced TOF on the NEX Dual Display Edition (December 2018). This phone had a TOF sensor on the rear, which doubled as the front camera when flipped around. Later models with TOF include:

  • Vivo X21 (2018) – rear TOF for portrait and AR.
  • Vivo X23 (2018) – rear TOF.
  • Vivo NEX 3 (2019) – rear TOF.
  • Vivo X27 (2019) – rear TOF.
  • Vivo NEX 3S (2020) – rear TOF.

However, Vivo has gradually moved away from dedicated TOF sensors in favor of software-based depth estimation using the main camera and AI. As of 2024, most Vivo flagships (like the X100 series) do not include a separate TOF module; they rely on dual-camera stereo depth or single-camera AI segmentation. That shift mirrors the industry trend—Apple's Face ID still uses a dot projector, but many Android phones have dropped TOF to save cost and space.

TOF vs. Other Depth-Sensing Technologies

Depth sensing in phones can be done in several ways, each with trade-offs:

  • TOF – Measures light travel time. Works in the dark, fast, but requires extra hardware and can be less accurate at long distances.
  • Stereo vision – Uses two cameras to triangulate depth. Works in daylight, but struggles in low light and needs a baseline distance between lenses.
  • Structured light – Projects a pattern of dots and measures their distortion (like Apple's Face ID). Very accurate at close range, but expensive and less effective in bright sunlight.
  • AI depth from a single camera – Uses machine learning to guess depth from a single image. No extra hardware, but less precise and can fail on unusual objects.

Vivo's TOF was a differentiator in 2018–2019 because it offered real-time depth at 30 frames per second, enabling live bokeh previews and AR that were more responsive than stereo or AI methods. Yet the added cost and the fact that most users rarely use AR led manufacturers to phase it out.

Common Problems and Misconceptions

One common misconception is that TOF cameras are the same as 3D scanners used for industrial measurement. In phones, TOF has a limited range—usually about 1 to 5 meters—so it cannot capture large scenes accurately. Another misconception is that TOF improves photo quality directly. In reality, it only provides depth information; the final image still comes from the main camera. The depth map is used for blur and AR, not for resolution or color.

Problems users have reported with Vivo TOF phones include:

  • TOF sensor getting smudged or scratched, leading to inaccurate depth readings.
  • AR apps not being optimized for Vivo's specific TOF API, causing crashes or poor performance.
  • Battery drain because the TOF sensor is always on when the camera is active.
  • Portrait mode failing on fine hair or transparent objects, because the depth map has limited resolution (typically 240×320 or 640×480).

If you own a Vivo with TOF and experience issues, make sure the sensor is clean and that you are using apps that support the official TOF interface (like Vivo's own camera app).

How to Use a Vivo TOF Camera

Using the TOF camera on a compatible Vivo phone is straightforward—it works automatically in the camera app. Here is how to get the most out of it:

  1. Open the Camera app and select “Portrait” mode. The phone will automatically use TOF to create a depth map.
  2. Adjust the bokeh level using the slider after taking the photo, if your model supports it.
  3. For AR, download apps from the Vivo app store that are marked “AR” or “3D.” The TOF sensor will be used to place objects in your environment.
  4. For face unlock, go to Settings > Fingerprint, Face & Passcode and register your face. The TOF sensor will map your face in 3D, making it harder to fool with a photo.

Note that not all Vivo phones with TOF have front-facing TOF. The NEX Dual Display Edition uses the rear TOF for face unlock when the screen is flipped, so you must rotate the phone to use that feature.

Is TOF Worth It in 2024?

For most users, a dedicated TOF camera is not necessary. Modern AI depth estimation is good enough for portrait photos, and AR apps are still niche. The main advantage of TOF is speed and accuracy in low light, but that matters mainly for face unlock and 3D scanning—features that few people use daily. If you are buying a Vivo phone today, you will not miss TOF because the camera software compensates with machine learning. However, if you are a developer or a tech enthusiast who wants to experiment with 3D sensing, a used Vivo NEX or X-series with TOF can be an interesting device, but note that Vivo has not updated the TOF SDK recently, so support for new Android versions may be limited.

Frequently Asked Questions

Does my Vivo phone have a TOF camera?

Check the official specifications for your model. If it was released before 2020 and is from the NEX, X20–X27, or NEX 3 series, it likely has a TOF sensor. Newer models (X50 and later) generally do not.

Can I use a TOF camera to measure distances?

Yes, but only at close range (under 5 meters) and with specialized apps. The accuracy is typically within a few centimeters, which is fine for furniture placement but not for precision engineering.

Is TOF the same as Face ID?

No. Face ID uses structured light (a dot projector), while TOF uses time-of-flight. Both create a 3D map, but structured light is more accurate at very short distances, while TOF is faster and works better at longer ranges.

Why did Vivo stop using TOF cameras?

Cost and consumer demand. TOF adds hardware cost and takes up space, while AI-based depth is “good enough” for most users. The industry shifted to under-display sensors and larger main cameras, so TOF was dropped to keep prices competitive.

Can I add a TOF camera to my Vivo phone?

No. TOF requires dedicated hardware and integration with the phone's processor and camera software. It is not possible to add it externally.

Does TOF work in the dark?

Yes, because it emits its own infrared light. That is one of its main advantages over stereo cameras, which need ambient light.