gpt4 book ai didi

python - 导入错误: No module named cvtypes

转载 作者:太空宇宙 更新时间:2023-11-03 19:11:19 25 4
gpt4 key购买 nike

有人可以帮我说我收到了这个错误吗?

Traceback (most recent call last):
File "/home/xpfotografia/Documentos/deteccion4.py", line 3, in <module>
from cvtypes import cv
ImportError: No module named cvtypes

最佳答案

文档位于 http://www.cs.unc.edu/~gb/blog/2007/02/04/python-opencv-wrapper-using-ctypes/有:

from CVtypes import cv
win = 'Show Cam'
cv.NamedWindow(win)
# rest snipped....

举个例子...所以我想你需要更改导入以包含大写的CV,如上所述

关于python - 导入错误: No module named cvtypes,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12920983/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com