问题标签 [cvlib]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
21 问题
0
投票
0
回答
82
浏览
python - 使用 cvlib-AttributeError 的 Opencv 代码:“NoneType”对象没有属性“形状”
我正在尝试使用 YOLOv4 从树莓派 4 中的 picamera 读取数据。这是我写的代码:
我使用了此链接中的代码:https ://predictivehacks.com/object-detection-and-bounding-boxes-with-cvlib/
我收到以下错误:
objectdetection.py 文件如下:
我不知道如何使用此代码解决问题。我也不确定其余的代码。你能帮我吗?