This library is pre-alpha, weekend hack quality. It can capture single frames correctly, but it likely has lots of bugs, and there are definitely missing features.
k4viewer
works for you.apt-get install python3-dev
)git clone https://github.com/brendandburns/py-k4a.git
cd py-k4a
python3 setup.py build
sudo python3 setup.py install
python3 example.py
If all goes well, this will leave a file named test.jpg
in your directory with a single frame capture
from your device.
Add support for Audio and IMU. Fix bugs. Accept PRs.
This may not be the most elegant or minimal solution, but it worked for me on two different Windows 10 machines.
k4viewer
works for you.
C:\Program Files\Azure Kinect SDK v1.2.0\sdk\include\k4a
C:\Program Files\Azure Kinect SDK v1.2.0\sdk\windows-desktop\x86\release\lib\k4a.lib
C:\Program Files\Azure Kinect SDK v1.2.0\sdk\windows-desktop\x86\release\bin\k4a.dll
C:\Program Files\Azure Kinect SDK v1.2.0\sdk\windows-desktop\x86\release\bin\k4a.pyd
C:\Program Files\Azure Kinect SDK v1.2.0\sdk\windows-desktop\x86\release\bin\depthengine_2_0.dll
C:\Users\amy\AppData\Local\Programs\Python\Python37\include
C:\Users\amy\AppData\Local\Programs\Python\Python37\DLLs
C:\Users\amy\AppData\Local\Programs\Python\Python37\libs
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx86\x86\cl.exe
C:\Program Files\Azure Kinect SDK v1.2.0\sdk\include
"C:\Program Files\Azure Kinect SDK v1.2.0\sdk\windows-desktop\amd64\release\lib\k4a.lib"
git clone https://github.com/brendandburns/py-k4a.git
cd py-k4a
python setup.py build
python setup.py install
python example.py
If all goes well, this will leave a file named test.jpg
in your directory with a single frame capture
from your device.
Add support for Audio and IMU. Fix bugs. Accept PRs.