Luxonis OAK

Deploy your Roboflow Train model to your OpenCV AI Kit with Myriad X VPU acceleration.

The Luxonis OAK (OpenCV AI Kit) is an edge device that is popularly used for the deployment of embedded computer vision systems.

OAK devices are paired with a host machine that drives the operation of the downstream application. For some exciting inspiration, see Luxonis's use cases and Roboflow's case studies.

By the way: if you don't have your OAK device yet, you can buy one via the Roboflow Store to get a 10% discount.

Task Support

The following task types are supported by the hosted API:

Task Type
Supported by Luxonis OAK Deployment

Object Detection:

  • YOLOv8 models, trained on Roboflow, both Fast and Accurate

  • YOLOv11 models trained on Roboflow

Classification

Instance Segmentation

Semantic Segmentation

Deploy a Model to the Luxonis OAK

Supported Luxonis Devices and Host Requirements

The Roboflow Inference Server supports the following devices:

  • OAK-D

  • OAK-D-Lite

  • OAK-D-POE

  • OAK-1 (no depth)

Installation

Install the roboflowoak, depthai, and opencv-python packages:

Now you can use the roboflowoak package to run your custom trained Roboflow model.

Running Inference: Deployment

If you are deploying to an OAK device without Depth capabilities, set depth=False when instantiating (creating) the rf object. OAK's with Depth have a "D" attached to the model name, i.e OAK-D and OAK-D-Lite.

Also, comment out max_depth = np.amax(depth) and cv2.imshow("depth", depth/max_depth)

Enter the code below (after replacing the placeholder text with the path to your Python script)

The inference speed (in milliseconds) with the Apple Macbook Air (M1) as the host device averaged around 15 ms, or 66 FPS. Note: The host device used with OAK will drastically impact FPS. Take this into consideration when creating your system.

Troubleshooting

If you are experiencing issues setting up your OAK device, visit Luxonis' installation instructions and be sure that you can run the RGB example successfully on the Luxonis installation. You can also post for help on the Roboflow Forum.

See Also

Last updated

Was this helpful?