当前位置:网站首页>openni.utils.OpenNIError: (OniStatus.ONI_STATUS_ERROR, b‘DeviceOpen using default: no devices found‘
openni.utils.OpenNIError: (OniStatus.ONI_STATUS_ERROR, b‘DeviceOpen using default: no devices found‘
2022-06-23 07:12:00 【程序员进化不脱发!】
这次我是在windows 下通过python调用 astra想获得深度图
通过查看openni源码发现,最终调用的dll位于你之前安装 openni的目录OpenNI_2.3.0.66.zip零积分下载
这里有两种方式,
一种是在你的安装目录下将驱动文件添加进去
如我的是D:\\PCL 1.8.1\\3rdParty\\OpenNI2\\Redist
一般人默认的话是C:\Program Files\OpenNI2\Redist\OpenNI2\Drivers

第二种是改一下源码,然后把驱动文件添加到项目路径下
这种项目迁移的时候好用(当然你要记得把项目的环境一起迁移)
如下在88行添加这个即可
然后将驱动文件一个三个文件和一个文件夹
放到你的项目目录下
运行成功

边栏推荐
- Make a record of glib2.14 upgrading glib2.18 and the principle of the steps
- G++ compilation command use
- RFID data security experiment: C # visual realization of parity check, CRC redundancy check and Hamming code check
- 【Kubernetes】Kubernetes各大版本的最新版本下载地址
- MySQL获取系统时间段
- To conquer salt fields and vegetable fields with AI, scientific and technological innovation should also step on the "field"
- 1278_FreeRTOS_借助prvAddCurrentTaskToDelayedList接口理解delayed task
- vs在连接SQL时出现的问题myconn.OPen();无法运行
- Design of temperature detection and alarm system based on 51 single chip microcomputer
- Yolov5 detecting small targets (with source code)
猜你喜欢

Akamai-1.75 version-_ Abck parameter generation JS reverse analysis

启动appium

【PyQt5系列】修改计数器实现控制
![[Planet selection] how to efficiently build fine-grained two-way links between roam and thebrain?](/img/ee/ce9f55694b28c391eb07cb11298caf.jpg)
[Planet selection] how to efficiently build fine-grained two-way links between roam and thebrain?

干货来了|《PaaS》合辑抢先看~

WPS for thesis writing installs MathType plug-in to write mathematical formulas

Sstable details

Heuristic search strategy

Product axure9 (English version), prototype design and production pull-down secondary menu

The sandbox has reached a cooperation with football player to bring popular football cartoons and animation into the metauniverse
随机推荐
Cirium has gradually become the standard for airlines' carbon dioxide emission reporting
Heuristic search strategy
To conquer salt fields and vegetable fields with AI, scientific and technological innovation should also step on the "field"
NFS special attention to permissions
GIF验证码分析
[pit stepping record] a pit where the database connection is not closed and resources are released
User mode and kernel mode
基于51单片机的温度检测监测报警系统设计
职场必备的30套报表模板,满足95%的报表需求,一键套用无需代码
数学知识:欧拉函数—欧拉函数
MySQL获取系统时间段
Decoding and practice of cmaf Technology
Matlab随机波动率SV、GARCH用MCMC马尔可夫链蒙特卡罗方法分析汇率时间序列
[AI practice] xgb Xgbregression multioutputregressor parameter 1
EXCEL VBA 入门与实用例子
浅谈ThreadLocal和InheritableThreadLocal,源码解析
Arthas thread command locates thread deadlock
浅析 Open API 设计规范
Simpledateformat thread safety issues
Wechat multiplayer chat and Roulette Games (websocket Implementation)