1

can someone help me to say that I get this error?

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

1 回答 1

1

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....

作为一个例子......所以我想你需要改变你的导入以包括一个大写的简历,如上所述

于 2012-10-16T19:24:28.693 回答