Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

luxonis/DepthAI-PyFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DepthAI-PyFlow

DepthAI-PyFlow is a easy to use rapid prototyping GUI tool for creating custom AI pipelines on DepthAI hardware. DepthAI-PyFlow enables you to drag and drop building blocks and compose a desired pipeline, that when exported, will be able to run and produce desired results - with no coding needed!

quickdemo

PyFlow is a general-purpose Visual Dataflow Programming library. Nodes represent algorithms with certain inputs and outputs. Connections transfer data from the output (source) of the first node to the input (sink) of the second one. DepthAI-PyFlow is a visual scripting extension for PyFlow for DepthAI.

Installation

DepthAI-PyFlow is not a standalone software, it is an extension package of PyFlow. PyFlow has to be installed first. You can refer to PyFlow Project to install PyFlow.

The easy way to install PyFlow is::

    pip install git+https://github.com/wonderworks-software/PyFlow.git@master

After PyFlow installed through pip or setup.py.

Clone or download DepthAI-PyFlow repository

    git clone https://github.com/luxonis/DepthAI-PyFlow.git

Install requirements for your use case::

    pip install -r requirements.txt

To run the program in standalone mode, you can invoke pyflow.exe on windows or pyflow on unix OS. Program is located inside PATH/TO/PYTHON/Scripts. You can also run pyflow.py in the root folder of PyFlow(not DepthAI-PyFlow) project.

You can enable the DepthAI-PyFlow package by one of the following ways ( Just pick one, not all).

  • put the addition package path to 'Additional package locations' on preferences dialog.Make sure you add path of PyFlow/Packages under DepthAI-PyFlow project to the 'additional package location' edit. addpackage
  • Copy the DepthAI-PyFlow package to .PyFlow/Packages
  • User can add location of package to env variable for PYTHONPATH
  • Paths listed in PYFLOW_PACKAGES_PATHS env variable (; separated string)

If everything works out, you should able to see 'DepthAI' in your NodeBox dialog of the GUI.

gui

Getting Started

To allow you to start smoothly:

Discussion / Support

Join us to our discuss / slack or write us and email or post comment under original issue and ask anything related to project! Please also let us know what features you'd need to achieve your goal with DepthAI - we'll be happy to help!

Attributions

Icons made by Smartline from www.flaticon.com