OAK 4 D

From Waveshare Wiki
Jump to: navigation, search
OAK 4 D
OAK-4-S

AI Inference Camera, RVC4 48TOPS (INT8) / 12TOPS (FP16) Computing Power, 8K 30 fps H.265 Streaming, USB3.0/Type-C/RJ45/PoE
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

{{{name6}}}

Introduction

The OAK 4 D is a high-performance, high-computing-power, and high-resolution edge AI inference camera, featuring the new fourth-generation design, equipped with OAK's next-generation edge AI processing core — RVC 4 (Robotics Vision Core 4), which integrates a 4nm SoC, delivering powerful edge AI computing and image processing capabilities for the device. A true standalone device running Luxonis OS, the OAK 4 S integrates strong AI inference and depth computation performance in a single unit.

Specifications

  • CPU: Snapdragon 8-Core Arm CPU
  • RAM: 8GB
  • Storage: 128GB
  • AI Computing Power: 48TOPS (INT8) / 12TOPS (FP16)
  • ISP: Supports 5 camera streams, hardware HDR, Electronic Image Stabilization, and 3A (Auto exposure, Auto white balance, and Auto focus), up to 3 × 8K@30FPS
  • IMU: 9-axis high-performance IMU, up to 1000Hz
  • Codec: Decoding: supports 4K@240FPS, VP9, and AV1/Encoding: 4K@120FPS (H.264, H.265)
  • Stereo Depth Camera: 1MP, global shutter
  • RGB Camera: 48MP
  • Maximum Frame Rate: 60FPS (Depth camera) / 30FPS (RGB camera)
  • Audio: Built-in 3-ch microphones
  • Indicator Light: Onboard RGB LED
  • Interfaces: USB 3.2 Type-C, PoE, M8 and M12
  • Baseline Length: 75mm
  • Depth Range: 70mm ~ 12m
  • Power Consumption: 1.5W ~ 25W
  • Mounts: 75mm M4 VESA mount on back and bottom cover, 1/4″ tripod mount
  • Housing: IP67 industrial-grade protection; Industrial-grade Aluminum Alloy enclosure, with cooling fins + airflow vents heat dissipation design
  • Weight: 674g

Camera Parameters

OAK-4-D Camera Parameters
Camera RGB Color Camera Global Shutter Depth Camera
Shutter Type Rolling shutter Global shutter
Sensor Chip IMX586 OV9282
Max Frame Rate 30fps 60fps
Pixels 48MP (8000×6000/0.8μm) 1MP (1280×800/3μm)
FoV 82.4° DFoV 84.5° DFoV
Lens Size 1/2 Inch 1/4 Inch
Focus Type Auto Focus Fixed Focus
Aperture 1.79±5% 2.0±5%

Interface Diagram and Description

OAK-4-D-details-15.png

  • M12 connector: PoE port, compliant with IEEE 802.3at, Class 3 PoE standard, supporting speeds up to 2.5 Gbps. A PoE switch is recommended to power the device and utilize the full potential of PoE connectivity.
  • M8 connector: USB2 (D+, D-), camera IOs (FSIN, STROBE), power, and 2 × GPIO (can be used for UART). Cap for M8 is included when the connector is not used to maintain waterproof protection.
  • USB Type-C port: (USB 3.2 Gen 2, 10 Gbps) as an option for power and connectivity.
  • Reset button: Press and hold for 5 seconds with a SIM eject tool to enter Local Setup Mode. For specific uses, refer to the Local Setup Mode section in the tutorial below.

Hardware Connection

The OAK 4 camera can have a peak power consumption of up to 25W and requires a PoE+ (802.3at, 30W) injector/switch (e.g., TL-SG1008P) for power. After powering on, the status LED should be solid blue, indicating the device is ready.
A standard PoE (802.3af, 15W) injector/switch cannot provide sufficient power. We recommend connecting the switch to the internet for the best experience.
OAK-4-D-hardware-connection.png

Software Download

OAK Viewer is a desktop GUI application for visualizing various data streams from the camera and interacting with the device. It is available for Windows, macOS, and Linux.
OAK-4-D-2.png

OAK_Viewer_1.4.49 for Windows_10/11(x86)

  • You may receive a warning from Microsoft Defender. The software is for Windows 10/11, supporting the x86_64 (AMD64) architecture.

OAK_Viewer_1.4.49 for Ubuntu_24.04/22.04(x86)

  • The Debian package supports Ubuntu 24.04 / 22.04, for the x86_64 (AMD64) architecture.

OAK_Viewer_1.4.49 for macOS_12+_(ARM) | macOS_12+_(x86)

  • The Viewer supports macOS 12 and above, for both ARM (Apple Silicon) and x86_64 (Intel) architectures.

For more details, visit the OAK_Viewer_Documentation_page

Working with Windows

A PoE switch or PoE injector is required to power the camera (see "Powering PoE Devices").
After the device is powered, the power indicator on the switch/injector should light up, as shown in the video below.
OAK-4-D-poe-s2-powering.gif
Once connected, the DepthAI library will search for all available devices on the same local area network.
If the camera is not on the same network, you can manually specify the device's IP address. If a DHCP server is unavailable, the camera will fall back to the static IP address 169.254.1.222.
You can then run OAK Viewer to test the device.
OAK-4-D-3.png

OAK4 Local Setup & ADB Debugging Tutorial

Local Setup Mode

You can make the OAK4 enter Local Setup Mode via the following method, which means you can perform initial setup without connecting to the Luxonis Hub.

  • Local Setup Mode can be used for:
    • Configuring the camera without connecting to the Luxonis Hub
    • Enabling SSH access
    • Resetting the password
    • Configuring advanced network settings (e.g., assigning a static IP when DHCP is unavailable)

Operation Steps

  • Locate the Reset button on the back of the device.
  • Press and hold it with a SIM eject tool for 5 seconds.
  • The device will enter Local Setup Mode.

ADB Debugging Tutorial

Install oakctl (Windows)

To execute advanced commands, you need to install oakctl.
oakctl is a command-line tool for interacting with OAK4 cameras.

ADB Method (Windows)

Applicable for USB connection, as shown in the figure below. The OAK4 will be recognized as a USB device and can be accessed via ADB (Android Debug Bridge). This is only for debugging and modifying network configurations; it does not support running DepthAI programs or oakctl scripts.
Oak4-over-usb.png
Instructions:

  • OAK4 may consume up to 25W
  • Do not connect directly to a computer's USB port, as insufficient current may cause device reboots or damage.
  • Y-shaped USB cables are not supported.
  • PoE+ (802.3at, providing 30W) power is recommended.

Ensure the device is connected to the computer via USB-C and properly powered (PoE+ recommended). Check if the device is recognized. If a device serial number appears, the connection is successful.

(pc)$ oakctl adb devices

Open a device terminal (Shell)

(pc)$ oakctl adb shell

Transfer files to the device

# Upload a single file to /data/
(pc)$ oakctl adb push folder/file.txt /data/
# Upload an entire folder
(pc)$ oakctl adb push folder/ /data/

Setting a Static IP

  • After setting a static IP, the device will use the same address, preventing errors due to IP changes during use.
Method A: Set in Local Setup Mode

After entering Local Setup Mode: Go to Advanced Options
Disable DHCP (Automatic IP acquisition)
Fill in the Static IP / Subnet Mask / Gateway

Method B: Manual Setup after Connection (ADB)

OAK4 uses the agentconfd tool to configure the network. View help

agentconfd configure --help

Command format for setting a static IP

agentconfd configure ipv4,mask,gateway

Example: Setting a static IP

agentconfd configure 192.168.10.15,255.255.255.0,192.168.10.1
This means:
IP: 192.168.10.15
Subnet Mask: 255.255.255.0
Gateway: 192.168.10.1

Revert to DHCP for automatic IP acquisition

agentconfd configure dhcp
  • For other detailed procedures (SSH, password reset, etc.), please visit the web page for more information.

Resources

FAQ

 Answer:
-20°C to 50°C


 Answer:

Below 4m: Less than 2% absolute depth error
4m - 7m: Less than 4% absolute depth error
7m - 10m: Less than 6% absolute depth error


Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)