我試圖從GoBot Go Lang OpenCV運行OpenCV測試應用程序。我試圖運行該頁面中給出的示例代碼,我得到的只是一個錯誤:Gobot OpenCV失敗
2016/06/10 20:15:26 Initializing Robot cameraBot ...
2016/06/10 20:15:26 Initializing devices...
2016/06/10 20:15:26 Initializing device window ...
2016/06/10 20:15:26 Initializing device camera ...
2016/06/10 20:15:26 Starting Robot cameraBot ...
2016/06/10 20:15:26 Starting connections...
2016/06/10 20:15:26 Starting devices...
2016/06/10 20:15:26 Starting device window...
/usr/share/themes/Yuyo-Dark/gtk-2.0/Apps/libreoffice.rc:40: Unable to locate image file in pixmap_path: "Entry/entry-border-bg-solid.png"
/usr/share/themes/Yuyo-Dark/gtk-2.0/Apps/libreoffice.rc:43: Background image options specified without filename
/usr/share/themes/Yuyo-Dark/gtk-2.0/Apps/libreoffice.rc:49: Unable to locate image file in pixmap_path: "Entry/entry-border-active-bg-solid.png"
/usr/share/themes/Yuyo-Dark/gtk-2.0/Apps/libreoffice.rc:52: Background image options specified without filename
init done
opengl support available
2016/06/10 20:15:26 Starting device camera...
HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP
2016/06/10 20:15:26 Starting work...
我在做什麼錯?我已經安裝和運行C++ OpenCV之前
除了缺少圖像文件的警告,我在這裏看到的唯一的問題是你的HIGHGUI錯誤日誌。你見過[this](http://stackoverflow.com/questions/16287488/runtime-opencv-highgui-error-highgui-error-v4l-v4l2-vidioc-s-crop-opencv-c)? – mass
謝謝,我修復了那部分,你能告訴我那些圖片丟失了嗎? –
很難說,看起來像一個影響多個用戶的gtk錯誤。你在什麼操作系統上?我會嘗試運行你的例子。 – mass