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.4.0.0.tar.gz
(84.6 kB
view hashes)
Built Distributions
Close
Hashes for depthai-0.4.0.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 211a0f1d092038b64520ed992864632465c538b62efc00fdac08a7d6ddbfb251 |
|
MD5 | 8ac2aca08b00dd247ba86ada88b68fc5 |
|
BLAKE2b-256 | 9e4c4489d05895575dd9aa7ef4ef56bca7230b2e1bcb0733b64363ed765d72d6 |
Close
Hashes for depthai-0.4.0.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d01733b89d10ce640e58b9a52c6e87c989f155444536e7481c0abd5ee279bdcb |
|
MD5 | f8fc23856530be4ab5254dbc81354684 |
|
BLAKE2b-256 | 8f9c6f9c0f1a1027e04934249f08207c259c4d2834890362d8c54e9fd96aa155 |
Close
Hashes for depthai-0.4.0.0-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9db07c825bb3cd53181d522b3302195ec4fe83a5a6874f0c6586a6cdefc7bfee |
|
MD5 | 1d0302db91fff8b742f67bb10e1835dc |
|
BLAKE2b-256 | a7733cbe0702b2bb0f79ae699940e049646e98d110e1e6b4757cbf6613cddaf0 |
Close
Hashes for depthai-0.4.0.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab18b73ba9c55a6dabc3cd48fbc19850418aeae21c8e5a0006102d10da92df9a |
|
MD5 | 6f1494de2a9995e2686fb51b549bb8db |
|
BLAKE2b-256 | 41989dbea6a5060b25503476b0a9a5ece2157c4178d80f7027b7a8e790634c48 |
Close
Hashes for depthai-0.4.0.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df6a32568d10cc63e99aaf31dca715ca1938b5aa57d56a7e17bf19923ec962b9 |
|
MD5 | 5bccfd17f0a46ce3e7f0f8572d95f2b5 |
|
BLAKE2b-256 | 5c075822e720e706fd9858f7fa994bcfd7a1d550038b5a2af024cab9d038e0f2 |
Close
Hashes for depthai-0.4.0.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3033441103ac5280a171f1da101dff595a344a88ead2617bb76d543ee5114cce |
|
MD5 | b38121e261649682b7bd5cd82af3c76d |
|
BLAKE2b-256 | 5916d7d0fe733751e9dc1b5afe57e953845c290e2f69b5c58d30223cc8d263e5 |
Close
Hashes for depthai-0.4.0.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18354645a770f21f743ed40231480879cd1e34095fec8937e05fe1e900c79996 |
|
MD5 | dc992f4e22513cc05f1d132adcc4f3b4 |
|
BLAKE2b-256 | bfd9eecc79071e1576ea39d876d383458563f558417945035a8716fab8c04569 |
Close
Hashes for depthai-0.4.0.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b402ea86f6718835bbdcdbf4ee08b14e246b1c4e316c456969c322c387182df4 |
|
MD5 | 2e78c59100ad318bfa84cbcee6573cbc |
|
BLAKE2b-256 | fe5b39977093946bf55a30e8b50212aaf15d403558164e577a1b335629372a6a |
Close
Hashes for depthai-0.4.0.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a5531d96a583906d69ecafd6508afdfa5f549b18c220557c3cff7413ad443b1 |
|
MD5 | f8261c53d835636f667a082b5b88fd15 |
|
BLAKE2b-256 | 87d355993bb86b3031dc07a2a429b0a72fe14bfcdf2465ea640b73d27d5f667b |
Close
Hashes for depthai-0.4.0.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c82fbca3312ba964383798807af52327277cc513ba37170759a0a215d0ab296 |
|
MD5 | f8e0063e8576ed7b0c184c9df50c68cb |
|
BLAKE2b-256 | 5818be227912b3a9873ce9787a0270a4fe403058f2f0291d3cd59321676caea1 |
Close
Hashes for depthai-0.4.0.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1541d634ef4c4053626ddf8e722819b7a0a412b46bfad5e424fc721dc183ce21 |
|
MD5 | 7c359ac6a1635ecaa6c917a78e4cd6fe |
|
BLAKE2b-256 | 6611f971d7e8c7259f9355a6e5a286dc36e10ed068ec376882650abc9d6c80f5 |
Close
Hashes for depthai-0.4.0.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0692bab95a7d6083ad69f2a9f15ac317d9842b5c183f3ddb45fcbfb0eef09962 |
|
MD5 | 7efa6582075ab134d1d3b097e260635c |
|
BLAKE2b-256 | 4eda6ef4b30c9949dda8eb8a3ee6d20342d76da6d93e61905776278f175cd332 |
Close
Hashes for depthai-0.4.0.0-cp37-cp37m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea4c93245495930e1d5612cc5076fdce897887042e19260b4e8b99a8c1c60670 |
|
MD5 | d404c22c473c6e4b3805c06a385d1e7e |
|
BLAKE2b-256 | e69f364e0459b09ba5fc5805a39b9489a6f06693522c5dbfe80a4e96d92a406e |
Close
Hashes for depthai-0.4.0.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2420b300ecf1b2dd4746ee1d70f062b83ee675f918d44e0ff00a04cd135263ad |
|
MD5 | 8950e52c4ebbaa0c385cff6507c74976 |
|
BLAKE2b-256 | 7a8c2ff2392b7fa1117b16a58283c4103ceda5db74e33a21f9e35858446ecfcf |
Close
Hashes for depthai-0.4.0.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 310f2cc9a216c495ab476b349a1f126f22912acac675c7bfa4ffb40082b3b595 |
|
MD5 | 763a6d1031e8333eced2f0d19edcbf8f |
|
BLAKE2b-256 | 89a36b0881519b308f1ddddbfb6adc23ac10c1ad05354fdbdca4a704c74645f1 |
Close
Hashes for depthai-0.4.0.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bada1e44ab8cf011716841d15c8d162f7d310a799a013ae094767ec5c35688e9 |
|
MD5 | 3fd654e9477c3b445c3eba225a7ea1c0 |
|
BLAKE2b-256 | c17f52be085a7dd30041d0763feacdb8936268e7d4ed58a84cf8bb0172bfcc9e |
Close
Hashes for depthai-0.4.0.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66cabf208abd5a9fb35482949a676cfd8ced9224e7d8f5cb209e9899a34c34df |
|
MD5 | 3007592195c49f2e89452cf562c76d83 |
|
BLAKE2b-256 | defe784c7fc93a48cc6424f0a2f92509e27cb17267f471409c432c4d6ad3327a |
Close
Hashes for depthai-0.4.0.0-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9089e7d8f73f020a1cfb0d7e40d695b0aa7debaa0ff8745f3404f59a3085cafd |
|
MD5 | e7c02097b647eb733ece9c359d936d3e |
|
BLAKE2b-256 | a39156c9b7df94f33d832530dae1a790084c2de203f2361bce717e7df9359afb |