python安装openni
时间: 2023-08-27 17:15:01 浏览: 256
您可以按照以下步骤在Linux系统下安装OpenNI和配置Python以使用OpenNI:
1. 首先,您需要下载OpenNI的SDK。您可以从OpenNI官方网站下载SDK的最新版本。
2. 解压下载的SDK文件,并将其放置在您选择的目录中。
3. 接下来,您需要安装GLFW库。您可以从GLFW官方网站下载适用于Linux系统的库文件。解压下载的文件,并将其放置在OpenNI SDK目录的"depends/glfw"文件夹下。
4. 配置环境变量。打开终端并输入以下命令来设置GLFW_ROOT环境变量:
```
export GLFW_ROOT=/path/to/OpenNI-SDK/depends/glfw
```
确保将"/path/to/OpenNI-SDK"替换为您实际放置OpenNI SDK的目录。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [(17)深度点云学习--python安装openni打开奥比中光RGBD](https://blog.csdn.net/chencaw/article/details/128282578)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [在linux下使用python+openni获取Orbbec astra pro的RGB和深度图](https://blog.csdn.net/weixin_43387635/article/details/124121780)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [Win10安装OpenNI2并通过python接口调用Kinect](https://blog.csdn.net/Peng154/article/details/79127630)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文