Inside AI
← Discover
Device profile / Edge AI

Luxonis OAK 4 D Auto Focus

Run a stereo vision application on the camera itself and compare classical depth with neural depth. This RVC4 device suits a substantial Linux vision project; power, model deployment and incorrect depth estimates still need careful testing.

Projects and experiments

Proposed build / Luxonis OAK 4 D Auto Focus

From a depth map to an installed OAK App

Untested first-build guide: obtain a plausible distance map before packaging and testing an on-camera application.

Experiment · unrun / Luxonis OAK 4 D Auto Focus

When does a filled depth map become misleading?

Proposed experiment, unrun: compare classical and neural stereo on measured targets, then test independent startup and concurrent inference.

Is this for me?

For robotics, spatial-perception and Linux developers who need applications to keep running on the camera after the development computer disconnects. This profile is specifically the standard, non-active-IR OAK-4-D-AF Auto Focus SKU. Its case for inclusion is standalone Luxonis OS plus RVC4 depth methods; it is an expensive route for a basic RGB detector.

What you can do with it

First use the official DepthAI v3 depth examples or local OAK Viewer to obtain a depth map of a textured target at a measured distance. Check that the target moves closer/farther in the expected direction. Then follow OAK Apps to package a minimal camera/depth application, install it and enable startup with oakctl. The proposed extension logs one event when a target enters a chosen distance interval; that event logic must be written and tested. Depth starting points · OAK Apps · First build · Unrun experiment

What the complete setup costs

Official US store / USD, checked 14 Nov 2026: OAK-4-D-AF $1,049. Embedded variant data marks AF available=true; the page says In stock and 100+ PCS, but that count is not proven to belong only to AF. Actual dispatch time is unverified. The $200 temporary surcharge is already represented in the displayed price; do not add it a second time. The checkout page also says VAT incl.; confirm actual taxes for the destination before ordering. Store · Variant/specification page

For the PoE+ first build, first-year cost = $1,049 camera + $29.99 optional-to-buy injector (or an adequate PoE+ source already owned) + missing network uplink cable/adapter + development computer + stable mounting if needed. The camera includes a 2 m M12-to-RJ45 cable, not an injector. Known camera/injector subtotal is $1,078.99; host/network/mount prices are unknown, so this is conditional, not a complete total. Reuse means zero incremental purchase cost. USB-C with adequate 25 W power is an alternative, unquoted setup; do not buy both power routes by default. No required cloud inference subscription/API fee for the local application. Downloads require connectivity; custom training, optional Hub plans, APIs and hosting are outside this budget. Tax, shipping, electricity and labor are excluded.

How to start — and what you need to learn

Have suitable PoE+ power, the included M12 cable and a computer for setup. Use current DepthAI v3/RVC4 instructions and match oakctl to the installed Luxonis OS version using the official table. Begin with stock depth output before adding object detection. Learn container configuration, logs, autostart and network discovery; disconnecting the computer and disconnecting the WAN are separate tests.

Custom ONNX/TFLite models take a further SNPE conversion path to DLC, optional UINT8 quantization and DSP/HTP graph preparation. SNPE, DepthAI and OS compatibility must be checked together, and supported operators still constrain conversion. Downloading the tool image does not make an arbitrary model compatible. Deployment · Conversion

When another product is a better choice

Choose OAK-D Lite when a host-connected RVC2 stereo workflow is sufficient and you do not need on-camera Linux apps or RVC4 neural depth. Choose ESP32-P4X-EYE for an inexpensive camera with screen/controls when metric stereo depth is unnecessary. These choices follow project needs rather than a sum of unlike TOPS ratings.

What we know — and what still needs testing

Official store specifications, variant availability, OAK Apps deployment and depth tradeoffs were re-read. No Inside AI hardware tests yet (none yet): power adequacy, network-free cold boot, sustained heat, conversion accuracy and depth errors are unmeasured. LENS is explicitly a proprietary Luxonis architecture. A visually filled depth map is not evidence that every surface has a correct distance. Photo reuse permission, complete OS/firmware openness, destination tax and dispatch time remain unverified.

Architecture

The left and right OV9282 cameras capture a stereo pair; rectification aligns their views before classical matching or the NeuralDepth/LENS path generates disparity. Calibration converts disparity to metric depth. RGB frames from the IMX586 can pass through image preparation and a compatible detector, with detections aligned to depth for spatial outputs. CPU-side application logic chooses what to log or transmit. These stages run on the RVC4 device under Linux-based Luxonis OS; memory and storage serve the application and its buffers/artifacts. A development computer builds/deploys the container through oakctl, but a successfully provisioned OAK App can run on-device. The diagram shows functional roles, not hidden chip positions. Depth methods · Hardware · OAK Apps

Documented capabilities

Documented paths include configurable classical StereoDepth, RVC4 GPU stereo and neural depth, RGB/depth alignment, and 2D/3D ObjectTracker use. OAK Apps packages applications for the preinstalled oak-agent service; an already-built .oakapp can be moved and installed offline. A distance-triggered event logger is a proposed application, not a demonstrated factory feature here. Start with one known depth pipeline before running inference and tracking concurrently. Depth · App deployment

SDKs, APIs & extensibility

DepthAI v3 offers Python/C++ camera, image, inference and depth APIs. You can read results, adjust nodes and deploy a custom container, while custom models require target-compatible conversion and operators. The offline RVC4 route accepts ONNX/TFLite, produces DLC and prepares accelerator graphs using Qualcomm SNPE; compatibility depends on SDK and OS versions. depthai-core is MIT. LENS is proprietary, and the complete Luxonis OS/firmware and model-license boundary is not established by the core SDK license. An installable application does not imply replaceable low-level firmware. Local runtime does not require a cloud inference subscription; Hub publishing/account requirements and model download access must be checked for the chosen workflow. Core license · Conversion · LENS

Limitations

Neural depth can consume substantial AI compute, add latency and lose small-object detail; the official guide warns of incorrect filling in distant regions. Classical stereo can leave holes on low-texture or reflective surfaces. Choose and measure the failure behavior that matters for your scene. Sensor maxima of 480/240 FPS are not inference throughput. Adequate PoE+ or 25 W USB-C input is required for nominal performance; lower-power modes reduce performance. Temperature, model/depth contention, restart recovery and autofocus behavior remain untested. Documented tradeoffs · Power specification

Privacy & data flow

The proposed event recorder keeps image processing and event logs on the camera and can be designed without cloud uploads. Already-built apps can be installed offline, but build dependencies and model downloads may need network access; selected apps or Hub integrations may transmit data. Neither local inference nor an offline installer proves that a particular installation has no network traffic, retention or account dependencies. Inspect app configuration and test with the WAN disconnected while retaining the required local management link. Define log retention and export explicitly. Application packaging and configuration

Primary sources

Luxonis: OAK 4 D store Luxonis: OAK 4 D specifications and AF availability Luxonis: depth methods and tradeoffs Luxonis: deploying OAK Apps Luxonis: offline RVC4 model conversion Luxonis: DepthAI v3 DepthAI core MIT license Luxonis: temporary OAK 4 surcharge