首页 > 解决方案 > 树莓派中的 CV2.dnn_Detection

问题描述

我的简历版本是 4.1.0,因此我得到了这种类型的错误:

Traceback (most recent call last):
File "/home/pi/Desktop/Obj_Detection/ObjectDetectorModule.py", line 12, in <module>
net = cv2.dnn_DetectionModel(weightsPath,configPath)
AttributeError: module 'cv2.cv2' has no attribute 'dnn_DetectionModel'

标签: python-3.xraspberry-pi

解决方案


推荐阅读