我正在尝试实现以下代码:
#coding=utf8
from opencv.cv import *
from opencv.highgui import *
# Avame kaamera
capture = cvCreateCameraCapture(0)
while True:
frame = cvQueryFrame(capture)
cvShowImage("Aken", frame)
char = cvWaitKey(33)
但我得到了某种 munmap 错误。谁能指出我的编码中可能出现的问题的方向?
mmap:无效参数 munmap:无效参数 munmap:无效参数 munmap:无效参数 munmap:无效参数 无法停止流。:错误的文件描述符 munmap:无效参数 munmap:无效参数 munmap:无效参数 munmap:无效参数
(Aken:2782): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(Aken:2782): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(Aken:2782): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(Aken:2782): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",