
OAK深度相机常见报错
OAK使用过程中的常见报错及解决方法,多多搜索收藏不迷路💓
OAK中国_官方
OAK(OpenCV AI Kit)技术教程、开源资源项目、AI、CV干货分享,网罗全球OAK用户的玩法,助你快速成长。
关注不迷路,一个可爱又专业的官方号。
展开
-
【46】报错Mask is not defined for output layer with width ‘52‘. Define at pipeline build time using:‘ se
Mask is not defined for output layer with width ‘52’. Define at pipeline build time using:’ setAnchorMasks’ for’ side52’原创 2023-02-23 13:35:41 · 181 阅读 · 2 评论 -
【45】报错ImportError: cannot import name ‘PipelineManger‘ from ‘depthai_sdk‘
from depthai_sdk import Previews, resizeLetterbox, PipelineManager, PreviewManagerImportError: cannot import name 'PipelineManger' from 'depthai_sdk'原创 2023-02-21 17:29:25 · 151 阅读 · 0 评论 -
【44】报错ImportError: cannot import name ‘FPSHandler‘ from ‘depthai_sdk‘
报错ImportError: cannot import name ‘FPSHandler’ from ‘depthai_sdk’ (D:\Anaconda\envs\second_py\lib\site-packages\depthai_sdk_小技巧:我们的开源生态非常丰富,API及项目更新速度比较快,出现报错学会追踪溯源、多多搜索会帮助你快速定位问题哦!| OpenCV AI Kit在中国区的官方代理商和技术服务商。或者 将 depthai_sdk 降级。| 追踪AI技术和产品新动态。原创 2023-02-16 15:03:22 · 161 阅读 · 0 评论 -
【42】报错subprocess-exited-with-error,跑OAK相机的gen2-syncing示例
让你的depthai版本和python版本相适配。depthai 2.17.4 支持 python 3.6-3.10,depthai 2.19.1 支持 python 3.6-3.11。小技巧:因为我们的depthai会一直更新,大部分情况下我们建议你使用最新版本depthai。| OpenCV AI Kit在中国区的官方代理商和技术服务商。| 追踪AI技术和产品新动态。原创 2023-01-13 09:22:33 · 203 阅读 · 0 评论 -
【41】报错 [ImageManip(16)] [error] Output image is bigger (1228800B) than maximum frame size specified
[ImageManip(16)] [error] Output image is bigger (1228800B) than maximum frame size specified in properties (1048576B) - skipping frame原创 2023-01-09 15:36:35 · 94 阅读 · 0 评论 -
【43】OAK-PoE设备故障排查详解
当我们在使用OAK PoE设备时,可能会遇到几种常见的问题。在进行任何类型的故障排除之前,我们建议尝试使用最新版本depthai。原创 2023-01-06 16:33:12 · 741 阅读 · 0 评论 -
【40】报错CMake Error at depthat-ros/depthat_bridge/CMakeLists.txt:151 (find_package)
报错提示:编译depthai ros包时出错CMake Error at depthat-ros/depthat_brtdge/CMakeLtsts.txt:151 (ftnd_package):Could not find a package configuration file provided by "depthai" with any of the following names:depthaiConfig.cmakedepthai-config.cmakeAdd the instal原创 2022-12-09 09:18:06 · 210 阅读 · 0 评论 -
【39】警告Device contains calibration data of version 1437204487 which is not supported in this version
报错提示:解决方法:出厂校准数据版本低于当前depthai的版本,需要使用当前版本的depthai重新校准。校准教程其他常见报错:请查看OAK中国| OpenCV AI Kit在中国区的官方代理商和技术服务商| 追踪AI技术和产品新动态戳「+关注」获取最新资讯↗↗原创 2022-12-08 10:29:26 · 145 阅读 · 0 评论 -
【38】报错ModuleNotFoundError: No module named ‘blobconverter‘
报错提示:解决方法:新版本没有在外面的python环境下载那个依赖,depthai-experiments这个仓库里的例子都有各自的依赖,你要自己下。python\python.exe -m pip install -r requirements.txt 直接用pip下载,文件随便放到哪里。其他常见报错:请查看OAK中国| OpenCV AI Kit在中国区的官方代理商和技术服务商| 追踪AI技术和产品新动态戳「+关注」获取最新资讯↗↗原创 2022-12-08 08:48:21 · 318 阅读 · 0 评论 -
【37】警告gyroscope bias initial calibration -nan -nan -nan
用OAK-D跑vins-fusion,陀螺仪偏置初始校准失败,请问怎么解决?原创 2022-11-04 16:50:47 · 353 阅读 · 0 评论 -
【36】报错‘_1‘ was not declared in this scope return boost::python::make_function(boost::bind(&BiFunctio
报错提示:设备oak-d-pro ,用的depthai-ros 2.5.3,编译标定工具kalibr的时候一直编译不过。error: '_1' was not declared in this scope return boost::python::make_function(boost::bind(&BiFunction::getBi, BiFunction(bs->getBiVector(t)),_1)在这里插入图片描述解决方法:加个using namespace std原创 2022-10-18 11:02:02 · 559 阅读 · 3 评论 -
【35】报错Maximum disparaity value ‘1520‘ exceeds the maximum supported \1024‘ by median filter. Disabli
Maximum disparaity value '1520' exceeds the maximum supported \1024' by median filter. Disabling median filter!原创 2022-10-18 09:42:05 · 125 阅读 · 0 评论 -
【34】报错error:(-212:Parsing error)skipSpaces in function ‘src/VINS-Fusion/config/OAK-D/config.yaml(25)
用OAK-D跑VINS-Fusion,运行vins_node时,出现了下面的错误:error:(-212:Parsing error)skipSpaces in function 'src/VINS-Fusion/config/OAK-D/config.yaml(25): Incorrect indentation'原创 2022-10-17 16:50:39 · 297 阅读 · 1 评论 -
【33】警告Monitor thread (device: 1844301081AEE00F00 [2.4]) - ping was missed, closing the device connec
报错提示:连接oak d poe,中途会出现设备丢失[warning] Monitor thread (device: 1844301081AEE00F00 [2.4]) - ping was missed, closing the device connection,但我另开了一个后端,ping 169.254.1.222没有断过,这是什么问题?在这里插入图片描述解决方法:你可以检测:设备发现在 UDP 11491 端口上处理XLink 连接在 TCP 11490 端口上处理原创 2022-10-14 13:51:19 · 216 阅读 · 0 评论 -
【32】报错Cmake Error at cmake_install.camke:51(file):file failed to open for writing (Permission denied
Cmake Error at cmake_install.camke:51(file):file failed to open for writing (Permission denied): /usr/local/.catkin原创 2022-10-14 09:17:04 · 1020 阅读 · 0 评论 -
【31】报错fatal error: no#include ,nop/serializer.h:没有那个文件或目录
找不到serializer.h文件原创 2022-10-13 08:58:50 · 952 阅读 · 0 评论 -
【30】警告Unsupported resolution set for detected camera OV9782
深度画面的大小设置的不对,OV8782支持的分辨率有800P和720P,并且宽度必须是16的倍数!| OpenCV AI Kit在中国区的官方代理商和技术服务商。小技巧:出现警告,一般直接翻译过来即可解决。原创 2022-10-12 15:02:17 · 244 阅读 · 0 评论 -
【29】Windows找不到文件:‘\depthai\depthai_demo_python\python.exe‘。请检查文件名是否正确后,再试一次。
OAK相机Windows找不到文件:'\depthai\depthai_demo_python\python.exe'。请检查文件名是否正确后,再试一次。原创 2022-10-12 14:58:22 · 358 阅读 · 0 评论 -
【28】执行以下命令 cmake -H. -Bbuild 就卡着一直不动了
小技巧:如出现下载卡住、下载很慢等情况,请检查网络哦。部分下载地址是在国外的,需要科学上网才行。原创 2022-10-09 09:25:32 · 1035 阅读 · 0 评论 -
【27】报错AttributeError: ‘depthai.node.Script‘ object has no attribute ‘setScriptData‘
一般导致AttributeError的可能原因有:API名称更新了,可以去我们的API文档里搜索相关对应的内容。如上图的问题,你应该在nodes里查找api,图中所参考的项目来源是这个blazepose,正确设置应如图:在这里插入图片描述你的参数没设置好,那请再核对检查一遍。小技巧:我们的开源生态非常丰富,API及项目更新速度比较快,出现报错学会追踪溯源会帮助你快速定位问题哦!原创 2022-10-09 09:12:54 · 174 阅读 · 2 评论 -
【26】报错[ERROR] [rgb_node-1]: process has died
[INFO] [launch]: Default logging verbosity is set to INFO[INFO] [rgb_node-l]: process started with ptd [15061] [rgb_node-1] /home/ahpc/ros2_ws/install/depthat_exampl.es/lib/depthat_examples/rgb_node: synbol lookup error: /home/ahpc/ros2jkfs/install/dept原创 2022-10-08 11:29:22 · 733 阅读 · 0 评论 -
【25】报错PluginlibFactory: The plugin for class‘rviz_imu_plugin/Imu’ failed to load. Error: According
[ERROR][1664516294.790050695]:PluginlibFactory: The plugin for class‘rviz_imu_plugin/Imu’ failed to load. Error: According to the loaded plugin descriptions the class rviz_imu_plugin/Imu with base class type rviz:: Display dose not exist. Declared types ar原创 2022-09-30 14:11:13 · 1300 阅读 · 0 评论 -
【24】报错 IMU firmware version detected: 3.2.13 is not supported. Latest supported: 3.9.9.
[14442C1011113CD400] [1.9] [24.242] [IMU(4)] [critical] IMU firmware version detected: 3.2.13 is not supported. Latest supported: 3.9.9. Use 'imu.enableFirmwareUpdate(True)' once to update firmware to latest.原创 2022-09-20 09:05:31 · 138 阅读 · 0 评论 -
【23】报错Exception:Calibration failed, Camera Might be heldupside down. start again!
校准教程里有写过这个报错的解决办法,请仔细查看教程。原创 2022-09-05 10:10:04 · 842 阅读 · 0 评论 -
【22】报错ERROR:./depthai_sdk is not a valid editable requirement. It should either be a path to a local
ERROR:./depthai_sdk is not a valid editable requirement. It should either be a path to a local project or a VCS URL(beginning with svn+,git+,hg+,or bzr+).解决方法:你没有进入depthai目录,进入目录后再安装。用以下命令:cd depthaipython3 -m pip install -r requirements.txt或这个命令:...原创 2022-08-03 15:30:57 · 2351 阅读 · 0 评论 -
【21】报错E: Package ‘python-dev‘ has no installation candidate
官方现在并没有适配ubuntu22.04的依赖,如果你还是想用ubuntu22.04上,只能手动找那些依赖去装,不过我们建议使用ubuntu20.04。|OpenCVAIKit在中国区的官方代理商和技术服务商。|追踪AI技术和产品新动态。......原创 2022-07-15 09:15:05 · 3390 阅读 · 3 评论 -
【20】报错version mismatch between installed depthai lib and the required one by the script
报错提示:解决方法:参考这个可以将 47-52 行 注释掉,或者运行时添加 --skipVersionCheck 参数。其他常见报错:请查看OAK中国| OpenCV AI Kit在中国区的官方代理商和技术服务商| 追踪AI技术和产品新动态戳「+关注」获取最新资讯↗↗.........原创 2022-07-13 15:50:26 · 161 阅读 · 0 评论 -
【19】报错Downloading stereo-dataset
========== Downloading /home/zhiy/work/depthai/depthai-3/depthai-python/examples/models/dataset.zipTraceback (most recent call last):File "/home/zhiy/anaconda3/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_connconn = connection.c原创 2022-07-08 15:44:42 · 167 阅读 · 0 评论 -
【18】报错ModuleNotFoundError: No module named ‘cv2.aruco‘
如果找不到 cv2.aruco,请首先确保未安装 opencv-python 。为此,你可以使用:pip uninstall opencv-python然后安装:pip install opencv-contrib-python我们正在卸载 opencv-python,因为安装两个 opencv 的包裹会相互矛盾,并且不会让另一个安装。............原创 2022-07-05 09:35:13 · 1538 阅读 · 0 评论 -
【17】报错Failed to allocate graph: MYRIAD device is not opened.
Failed to allocate graph: MYRIAD device is not opened.原创 2022-06-27 14:25:32 · 255 阅读 · 0 评论 -
【16】报错[warning] Neural network inference was performed on socket ‘RGB’, depth frame is aligned to
[warning] Neural network inference was performed on socket ‘RGB’, depth frame is aligned to socket ‘RIGHT’. Bounding box mapping will not be correct, and will load to erroneus spatial value. Align depth map to socket 'RGB' using 'setDepthAlign'.原创 2022-06-27 13:23:03 · 149 阅读 · 0 评论 -
【15】报错ImportError: numpy.core.multiarray failed to import
报错ImportError: numpy.core.multiarray failed to import原创 2022-06-23 15:39:48 · 418 阅读 · 0 评论 -
【14】警告[DetectionNetwork(1)][warning]Network compiled for 6 shaves,maximum available 10,compiling for
[184430100120060F00][616.851][DetectionNetwork(1)][warning]Network compiled for 6 shaves,maximum available 10,compiling for 5 shaves likely will yield in better performance[184430100120060F00][617.005][DetectionNetwork(1)][error]Tried to allocate '1017039原创 2022-06-06 13:14:54 · 222 阅读 · 0 评论 -
【13】报错Output image is bigger(1228800B) than maximum frame size specified in properties(1048576B)
[14442C1091AF48D400] [83.370] [ImageManip(4)] [error] Output image is bigger (1228800B) than maximum frame size specified in properties (1048576B) - skipping frame原创 2022-06-03 04:30:00 · 111 阅读 · 0 评论 -
【12】报错[error] input tesnor exceeds available data range [NeuralNetwork(3)] [error] Input tensor ‘0‘
[error] input tesnor exceeds available data range[NeuralNetwork(3)] [error] Input tensor '0' (0) exceeds available data range. Data size (6336B), tensor offset (0), size (6912B) - skipping inference原创 2022-06-03 05:00:00 · 183 阅读 · 0 评论 -
【11】报错RuntimeError: BlobReader error: The version of imported blob doesn‘t match graph_transformer
报错提示:解决方法:这是因为你的模型版本和openvino版本不匹配,下载这个看一下你的模型要求哪个版本的openvino。其他常见报错:请查看OAK中国| OpenCV AI Kit在中国区的官方代理商和技术服务商| 追踪AI技术和产品新动态戳「+关注」获取最新资讯↗↗...原创 2022-06-02 08:49:26 · 165 阅读 · 0 评论 -
【10】报错ModularNotFoundError: No module named ‘find_version’
报错提示:ModularNotFoundError: No module named ‘find_version’解决方法:请下载缺失的模块。其他常见报错:请查看OAK中国| OpenCV AI Kit在中国区的官方代理商和技术服务商| 追踪AI技术和产品新动态戳「+关注」获取最新资讯↗↗...原创 2022-06-01 11:38:21 · 138 阅读 · 0 评论 -
【9】报错device = depthai.Device(““, False) TypeError: _init_(): incompatible constructor arguments.
报错提示:Traceback (most recent call last):File "main.py", line 17, in 〈module)device = depthai.Device("", False)TypeError: _init_(): incompatible constructor arguments. The following argument types are supported:解决方法:如果你运行的是官方的一代demo,可能会出现这种错误。目前,一代de原创 2022-05-25 15:54:30 · 759 阅读 · 0 评论 -
【8】报错Version mismatch between installed depthai lib and the required one by the scrip.
报错提示:Version mismatch between installed depthai lib and the required one by the scrip.Required: 2.15.2.0Installed: 2.15.1.0Run: pythons install.requirements.py解决方法:按照提示按照指定版本的depthaipython3 -m pip install depthai==2.15.2.0其他常见报错:请查看 OAK中国| O原创 2022-05-24 13:42:22 · 117 阅读 · 0 评论 -
【7】报错USB Connection speed: UsbSpeed.High
报错提示:USB Connection speed: UsbSpeed.High解决方法:这是因为你用了USB2.0,要么你强制使用USB2.0通信(教程),要么你使用USB3.0(Type C线得能传数据,主机接口用USB3.0)。其他常见报错:请查看 OAK中国| OpenCV AI Kit在中国区的官方代理商和技术服务商| 追踪AI技术和产品新动态戳「+关注」获取最新资讯↗↗.........原创 2022-05-19 17:35:31 · 201 阅读 · 0 评论