luxonis / depthai-viewer

Log images, point clouds, etc, and visualize them effortlessly. Built in Rust using egui
https://rerun.io
Apache License 2.0
26 stars 2 forks source link

banner

PyPi MIT Apache

Depthai Viewer: The visualization tool for DepthAi

image

Getting started

Prerequisites

On linux

sudo apt-get -y install \
    libclang-dev \
    libatk-bridge2.0 \
    libfontconfig1-dev \
    libfreetype6-dev \
    libglib2.0-dev \
    libgtk-3-dev \
    libssl-dev \
    libxcb-render0-dev \
    libxcb-shape0-dev \
    libxcb-xfixes0-dev \
    libxkbcommon-dev \
    patchelf

On RaspberryPI (Luxonis OS Image)

Install linux dependencies listed above and the dependencies listed below.

sudo apt-get -y install \
    libvulkan1 \
    libxcb-randr0 \
    mesa-vulkan-drivers \
    adwaita-icon-theme-full

Install

# ---------- Linux / MacOS ----------
python3 -m pip install depthai-viewer
# ------------- Windows -------------
python -m pip install depthai-viewer

Run

python3 -m depthai_viewer
# --------  OR  ---------
depthai-viewer

Documentation

Depthai Viewer can be used as a visualization tool, just like rerun. It uses largely the same python logging api, so you can reefer to the relevant rerun documentation:

Status

We are in early beta, however any DepthAi capable device should work with the viewer. If it doesn't, feel free to open an issue.