Install Point Cloud Library (WINDOWS). Follow the instructions on the PCL github page.
Install the appropriate PCL 1.8.1 for your system. (Then Restart your computer)
To get the appropriate pip install, download the wheel (the first green and the appropriate version, the download exists under Artifacts)
Under User variables for ______, Edit the variable named Path. Add both OpenNI2 and PCL to the path, it will look similar to this:
C:\Program Files\OpenNI2\Samples\Bin
C:\Program Files\PCL 1.8.1\bin
After all this is complete, (replacing XXX by the right string) It will, and MUST look something like this: python_pcl-0.3-cp36-cp36m-win_amd64.whl
pip install python_pcl-XXX.whl
Make sure your LD_LIBRARY_PATH contains the directory of k4a.lib
pip install pyk4a
- You can 1.4.1 Windows Installer Here, Or Visit the Microsoft Kinect Azure page for more details.
Follow the instructions mentioned on the Pyk4a Github Page, as mentioned below:
Make sure you replace the paths in the following instructions with your own k4a sdk path.
pip install pyk4a --global-option=build_ext --global-option="-IC:\Program Files\Azure Kinect SDK v1.2.0\sdk\include" --global-option="-LC:\Program Files\Azure Kinect SDK v1.2.0\sdk\windows-desktop\amd64\release\lib"
Don't forget to add the folder containing the release k4a.dll
to your Path env variable C:\Program Files\Azure Kinect SDK v1.2.0\sdk\windows-desktop\amd64\release\bin
You can install it with anaconda though this takes a long time.... Install anaconda and create an environment for python 3.6.
-
Once anaconda is installed, link conda to your path in environment variables.
-
Under home search, type "environment variables" and click the Environment Variables... button.
-
Under User Variables window, click on the Path and then click the Edit... button.
-
Click New and then add the path where you installed it. By default, it should look something like this. Hit ok, open a terminal window and navigate to the path where you want your project to be. The first allows you to access the command and the seconds allows anaconda to work with your other variables needed.
C:\Users\username\Anaconda3\condabin C:\Users\username\Anaconda3\Scripts
-
You activate the environment with the keyword activate followed by the environment name.
activate env
Follow these instructions from conda forge. To install this package (point cloud library) with conda run one of the following:
conda install -c sirokujira python-pcl --channel conda-forge