DepthAI Python Library
Project description
DepthAI Python Library
Python bindings for C++ depthai-core library
Documentation
Documentation is available over at Luxonis DepthAI Python API
Installation
Prebuilt wheels are available in Luxonis repository Make sure pip is upgraded
python3 -m pip install -U pip
python3 -m pip install --extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/ depthai
Building from source
Dependencies
- cmake >= 3.2
- C/C++11 compiler (clang, gcc, msvc, ...)
- Python
Along these, dependencies of depthai-core are also required See: depthai-core dependencies
Building
To build a shared library from source perform the following:
mkdir build && cd build
cmake ..
cmake --build . --parallel
To build a wheel, execute the following
python3 -m pip wheel . -w wheelhouse
Tested platforms
- Windows 10
- Ubuntu 16.04, 18.04;
- Raspbian 10;
- macOS 10.14.6, 10.15.4;
Troubleshooting
- Build failure on Ubuntu 18.04 ("relocation ..." link error) with gcc 7.4.0 (default) - issue #3
-
the solution was to upgrade gcc to version 8:
sudo apt install g++-8 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 70 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 70
-
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
depthai-0.2.0.1.zip
(111.6 kB
view hashes)
Built Distributions
Close
Hashes for depthai-0.2.0.1-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b612e8181aa9ddb02260c8a97538cfb0163f80fc93b6c512d5ac023b7fe441c |
|
MD5 | 4df1ed6e24a98e00970d6ef560abae72 |
|
BLAKE2b-256 | 418e8223cd2fbaa015f6ae661ffb6740752ffea9ebaff8e16facabff913f8770 |
Close
Hashes for depthai-0.2.0.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51d29ff0d7e2bb8123ad9c11394c5f32a0a4da3b60e7c0f0fc5c746d1af0871d |
|
MD5 | 52437e291fcf324bdf8d83b763c35b16 |
|
BLAKE2b-256 | 8607a6db20f7c2ae70f073edfeff4d33560e358b0b1af557262c5e4e3a7d074f |
Close
Hashes for depthai-0.2.0.1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c1ce29013a56d2b5c1fa64f12ccbc6d7b56fd30736ade0a69b1052319cc1457 |
|
MD5 | b40bc433ffe391a85f5c7c2bf9402139 |
|
BLAKE2b-256 | 5028ac7a0d0654fedd3a2712725afd0875eac7db4c2a56811474fa9cafd19f6f |
Close
Hashes for depthai-0.2.0.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 146b64ac4a80caa407e1328543f2de88a52103377b73999b4d6d7a263f263366 |
|
MD5 | 6e8f01d43d08dce8b58805a0327cc619 |
|
BLAKE2b-256 | 438499106d1f5c4901f3c99b00a11a25bb5c2065da858e47b1f632666fb88474 |
Close
Hashes for depthai-0.2.0.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79bd56dcfd98a24dc98bce1e0e911e1862be828376a089afdeffdca2f8f67ee9 |
|
MD5 | 1d05b98d3d9b91157ab1c28c9fd3e59a |
|
BLAKE2b-256 | 4de41056b25c348260696a64d69e2dd4515d11331f0acf5583be9d719e0c3794 |
Close
Hashes for depthai-0.2.0.1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9cca1c8855ba6cf0841ceeef7fcb690344190bbde6bb4141833b3d69b05063d |
|
MD5 | 28dce92c79308f057238be7090c575e8 |
|
BLAKE2b-256 | e96fe7f6789af0050b32a213598cf8bd6cc5f8f8581d6d43cb5f5a142ab07ab8 |
Close
Hashes for depthai-0.2.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c06e950561d0b599ae4ef3b4c2e347438cba3d6b56f48ac4fb2badf85fbed139 |
|
MD5 | 332bf0598bb69ce2dcbfa5add0c8cc91 |
|
BLAKE2b-256 | 7473ccc0f86ab019deceec5a4293812e7ddb49c1ca0d9a670e22871d97a5070a |
Close
Hashes for depthai-0.2.0.1-cp37-cp37m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8c1bc10a68e42245a55b2b56c410bd5b97902ba1afff30a32032112783b7869 |
|
MD5 | 6189066adf5f39df2f49782a7e2b27d6 |
|
BLAKE2b-256 | 8fe62c0afba6841b9ea354c1f8593fbfdc4ff02c7c6781e069f29d6944034c19 |
Close
Hashes for depthai-0.2.0.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 060ffb7ef6496595aaf4ee75386db428ae1a295f60df95dd90d9552f33f43689 |
|
MD5 | 5f112acbe9e22daddf42b13adf8b01ef |
|
BLAKE2b-256 | 0329398d307e8f2d35ea7fc79b5c7e5c9a43c275b3c3399709e5a6e06223db03 |
Close
Hashes for depthai-0.2.0.1-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a8ac8eeb2216bb1814b4f90f3aa020c8af1cd7e3b2105b63e43b0b21022d3fc |
|
MD5 | 6df56881b009e83f718c3e04e8d7762f |
|
BLAKE2b-256 | 99b99482e55a10f9b1cb6b2970e8d5b110d0650a0e7e91e208415c67a426e474 |
Close
Hashes for depthai-0.2.0.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ffdeed8e0433df8362f9b747261e8c5fdc107c0b8296e7c3613c7dff230a54d |
|
MD5 | d8805867bb4b76a91466776d4d912bfd |
|
BLAKE2b-256 | 71b3e68ee188e764b0a8912db3609e4115d3a035a0e9e8c4c68cca82d356121a |
Close
Hashes for depthai-0.2.0.1-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad953f576c76a28c91d0d9fdb3f39c21fca7d18207ea4e56bb10556576851de4 |
|
MD5 | 3b25f0e127d9b3e711e3f85101935f7d |
|
BLAKE2b-256 | de51303e4d4514ba84a63ddd35669673de312d698f028dff22fd77e78d21862c |
Close
Hashes for depthai-0.2.0.1-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 604ef31b65c701463d3193f558da04fabb8c6895e027ec15572ef20a4000b919 |
|
MD5 | d0abeeff7d5db4916d475f968262ea6c |
|
BLAKE2b-256 | b7dbe82deb644e4212a52ce70417e58c5d2341e5ed2e08627d2c3cc3e4647e6b |
Close
Hashes for depthai-0.2.0.1-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a6e07d5a50cf8e3fec7c039f00e6a424b46cb2220ea21fcf60389ccefb073cf |
|
MD5 | b994d7f320fa9c29dd8b1817f47af43e |
|
BLAKE2b-256 | 29524a6f798ca2669e3535d2dc08f8b695fc1e7d22d683b069aa1f4f9200f14b |