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.6.0] - 2023-03-06
Changed
- Health check end-point at
/healthz/ready
. - Requires
pose
in the body ofGET /state/start
.
Added
- New endpoint
GET /state/pose
.
[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.6.0.tar.gz
(611.7 kB
view details)
Built Distribution
File details
Details for the file arcor2_kinect_azure-0.6.0.tar.gz
.
File metadata
- Download URL: arcor2_kinect_azure-0.6.0.tar.gz
- Upload date:
- Size: 611.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f149dabf1b5a002594e3e089c830ed01234f7aa0e9ed3fab43b04d948c385fc0 |
|
MD5 | 6c8facf85df4dfc3fc9492f97fed18bc |
|
BLAKE2b-256 | 19d1c4e35b0f61ffd0c1bcd85083910756ef2598cc378ee29e25b4be124c4edd |
File details
Details for the file arcor2_kinect_azure-0.6.0-py310-none-any.whl
.
File metadata
- Download URL: arcor2_kinect_azure-0.6.0-py310-none-any.whl
- Upload date:
- Size: 610.4 kB
- Tags: Python 3.10
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fdb3135abe2e05b1dd6ffcc90c8fc627d3c362ce512e140f7470db91144988c |
|
MD5 | b30732abdd1d2d9ec67138ec3cf61486 |
|
BLAKE2b-256 | 247f67d7a9c67e329da567c94c12cea91bee81d8d95c34ce985f56abb7411d10 |