REST API for Kinect Azure.
Project description
Kinect Azure Service
Usage Instructions
- By default, the service runs on port 5016.
- This can be changed by setting
ARCOR2_KINECT_AZURE_URL
.
- This can be changed by setting
- Kinect SDK has to be installed beforehand (
sudo ./build-support/install_kinect_prerequisites.sh
). - You may need to run following commands when using the real sensor to set permissions:
sudo wget https://raw.githubusercontent.com/microsoft/Azure-Kinect-Sensor-SDK/develop/scripts/99-k4a.rules -P /etc/udev/rules.d/
sudo udevadm control --reload-rules && udevadm trigger
Environment variables
ARCOR2_KINECT_AZURE_URL=http://localhost:5016
- by default, the service listens on port 5016.ARCOR2_KINECT_AZURE_MOCK=1
- the service will start in a mock (simulator) mode.ARCOR2_REST_API_DEBUG=1
- turns on Flask debugging (logs each endpoint call).
Changelog
The format is based on Keep a Changelog,
[0.5.0] - 2022-10-28
Changed
- BREAKING: Implement new error handling flow. Error codes of every endpoint were replaced with error types as described in swagger documentation.
- Changed service name.
- Switched to Python 3.10, updated dependencies.
[0.4.0] - 2021-10-25
Changed
- New environment variable
ARCOR2_KINECT_AZURE_MOCK
.
Fixed
- Depth file was not packaged (used in mock mode).
[0.3.0] - 2021-05-21
Changed
- Lazy import of
pyk4a
- mock can run without it.
[0.2.0] - 2021-02-08
Changed
- Mock now sends real images.
- Part of the code refactored into
arcor2/flask.py
.
[0.1.0] - 2020-12-14
Changed
- Initial release of the package.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arcor2_kinect_azure-0.5.0.tar.gz
(611.3 kB
view hashes)
Built Distribution
Close
Hashes for arcor2_kinect_azure-0.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 856d3a09aa46de4bb0110c58a0ed21e3a90e26b35bc877b288ac58f43e8aab1d |
|
MD5 | 8b30fdf2836bf893c5e48adb602f751c |
|
BLAKE2b-256 | ce3786f195b20f7fcc65ba699f64bbd437e2f74166043fb5355b7f6c572653f2 |
Close
Hashes for arcor2_kinect_azure-0.5.0-py310-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00545ef033c77ae6b0b0dbe0d8859309844c0d360df6aeb333c76fddccc92aad |
|
MD5 | 4ba407acc4bba81e9f444ceb7dbc6164 |
|
BLAKE2b-256 | 09690b99bb4413b72400f3537fc476f18572678fe62e2b931c87063cb67aca57 |