报错提示:
AttributeError: 'depthai.node.Script' object has no attribute 'setScriptData'

解决方法:
一般导致AttributeError的可能原因有:
- API名称更新了,可以去我们的API文档里搜索相关对应的内容。如上图的问题,你应该在nodes里查找api,图中所参考的项目来源是这个blazepose,正确设置应如图:

- 你的参数没设置好,那请再核对检查一遍。
小技巧:我们的开源生态非常丰富,API及项目更新速度比较快,出现报错学会追踪溯源会帮助你快速定位问题哦! |