GithubHelp home page GithubHelp logo

depthai-sandbox's Introduction

Luxonis OAK Cameras Sandbox

Background Information

YouTube Videos

Hello World

Video Feed

Medium Posts

Post1

Post 2

Pipelines

Pipeline first steps

To get DepthAI up and running, you have to create a pipeline, populate it with nodes, configure the nodes and link them together. After that, the pipeline can be loaded onto the Device and be started.

Install Libraries

pip install numpy opencv-python depthai blobconverter imutils

Reference Material

Luxonis API Documentation

Luxonis SDK Documentation

RaspberryPI

If you have setup OpenCV on the RaspberryPI then you should only need to install the following into your cv2 environment:

Use this script to install OpenCV along with image libraries.

pip install depthai blobconverter

Luxonis RaspberryPI Setup

If you get an error like:

RuntimeError: Failed to find device (ma2480), error message: X_LINK_DEVICE_NOT_FOUND

See this troubleshooting guide

  • Unplug OAK Device

  • Run the following:

echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666"' | sudo tee /etc/udev/rules.d/80-movidius.rules
sudo udevadm control --reload-rules && sudo udevadm trigger
  • Plug the OAK device back into USB3 slot

If your system still does not work, run the folllowing:

sudo curl -fL https://docs.luxonis.com/install_dependencies.sh | bash

From Luxonis RaspberryPI Setup

Examples

Simple Video Feed

Inside of the simple-camera-feed directory, there is a script called, videostream.py.

This was the basis for the Gitrepo below, and the Medium Post

[Source Code]https://github.com/youngsoul/depthai-video-stream

depthai-sandbox's People

Contributors

youngsoul avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.