报错:module ‘cv2’ has no attribute ‘gapi wip_ gst GStreamerPipeline’
这种情况是opencv版本过高,降一下版本就好了,但是要注意,YOLO要求的opencv版本opencv-python>=4.1.2
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python==4.6.0.66
报错:module ‘cv2’ has no attribute ‘gapi wip_ gst GStreamerPipeline’
这种情况是opencv版本过高,降一下版本就好了,但是要注意,YOLO要求的opencv版本opencv-python>=4.1.2
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python==4.6.0.66