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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for depthai-0.2.0.0-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50b42615185cefe8cb8bd554fe4a299c31b8a396648cd26364ddb96e37d4c3fc |
|
MD5 | ce16fb0cdba965e2c9bd42c49e818add |
|
BLAKE2b-256 | a29e95036fd65840dd47d0d1bb786c810f93f9ddd39f810e63d73742170fa12d |
Close
Hashes for depthai-0.2.0.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5da5a6a0897f281a5637b9bf781c3cfa0d018a1381291d7becf5f9a003be9b25 |
|
MD5 | 0b9482069739bf0dbcb8c2312e1f847b |
|
BLAKE2b-256 | cc5a2a00ce2a4411a869178943a49a34435e32b387ebbfe04f655ffa64390274 |
Close
Hashes for depthai-0.2.0.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e4e5748fbaa1b3922452eb98173c704b8aeff929e2f91b004c1480b8dff0e76 |
|
MD5 | 8c8943562176f93fcdcf5e274e48192c |
|
BLAKE2b-256 | 476f80e29586569563064bc4f3a278643291b6b114584f3c1b1134d3b1c97eb7 |
Close
Hashes for depthai-0.2.0.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4002230e1b6c192cbc094ce5c004eb12df6d5258afbc6c2d9d285e4141a83575 |
|
MD5 | 02517ea7e9dcad1103e58c8849021040 |
|
BLAKE2b-256 | 69ed5cc64bf7d0deff72731b59730c3f0fa7efba02d206596cbbf09c06ea3eb2 |
Close
Hashes for depthai-0.2.0.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a77bd51a8b8ab7acfb2a0f3a36da7aad997e00395b3d44c95e66046f3c180c2 |
|
MD5 | 548b01d897b7cf3a99644709772aab09 |
|
BLAKE2b-256 | fcfb5613818ceb36d1f1ff5c88e47b739dbc39c104169a7496bb29eb422042ed |
Close
Hashes for depthai-0.2.0.0-cp37-cp37m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae29ecb6712e2095d5904f4aff62983bd19518d3496314cc3f6a40103d399f1e |
|
MD5 | e4e043d8cef1840251520f6f8eaa8205 |
|
BLAKE2b-256 | c5c78cfee68a8efb5720af10af8d168fc1666460ebc4f0697623c7a48b5922ef |
Close
Hashes for depthai-0.2.0.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9acdae5ee01a6bd606dfe4212d9a6d18d8ca2fd16887effe532f3b1b743d9f89 |
|
MD5 | 3b7cbf946cacec4cd49bbac650e9763d |
|
BLAKE2b-256 | cb1cf482ef9a919c891064d2415280d2a28b7d06c830ca96fc2ab72d412e94ad |
Close
Hashes for depthai-0.2.0.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48a3e9b2a170c2805c446c77051efd2fa3fa64b6e2f4b04db992dee9cfa96ba9 |
|
MD5 | a4c39999fe6196e6f294b70ec6c58954 |
|
BLAKE2b-256 | 5dfed21d9ea19fd277573bbab4ac18ab4a678b79e041c45d973f0ca5b91ddc4f |
Close
Hashes for depthai-0.2.0.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99e8fc69a7323ba03716b837dbb54ea926c5b120e7367d65367e376762bad37d |
|
MD5 | 19d82a3274e7b6bb893c5bc61e168dcc |
|
BLAKE2b-256 | 0277f50a185e34c80e998289dc912a9960a45bd6979f7b0cc6eb2045b400b2cd |
Close
Hashes for depthai-0.2.0.0-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b50e3c8bc953aafa9649efb0b9180386f4ab4c0260b70b7ff55ba219e75abdcb |
|
MD5 | 0f765156aa4d9318e4b7877da04ef5c4 |
|
BLAKE2b-256 | a97e1ca62c51d72c2547ee008fe5deaf5d6ac656d57378ede4fe4e3184caf1e4 |