{"id":196,"date":"2020-05-10T22:00:59","date_gmt":"2020-05-10T14:00:59","guid":{"rendered":"http:\/\/8.154.33.202\/?p=196"},"modified":"2020-05-10T22:00:59","modified_gmt":"2020-05-10T14:00:59","slug":"python%e8%b0%83%e7%94%a8cv2-imshow%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%afthe-function-is-not-implemented","status":"publish","type":"post","link":"http:\/\/8.154.33.202\/?p=196","title":{"rendered":"python\u8c03\u7528cv2.imshow\u51fa\u73b0\u9519\u8befThe function is not implemented"},"content":{"rendered":"\n<p>\u9519\u8bef\u4fe1\u606f\u4e3a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cv2.error: OpenCV(4.2.0) C:\\projects\\opencv-python\\opencv\\modules\\highgui\\src\\window.cpp:717: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvWaitKey'<\/pre>\n\n\n\n<p>\u89e3\u51b3\u65b9\u5f0f\u662fpip \u5b89\u88c5  opencv-contrib-python <br>pip install opencv-contrib-python<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9519\u8bef\u4fe1\u606f\u4e3a cv2.error: OpenCV(4.2.0) C:\\projects\\opencv-pytho &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/8.154.33.202\/?p=196\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cpython\u8c03\u7528cv2.imshow\u51fa\u73b0\u9519\u8befThe function is not implemented\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-196","post","type-post","status-publish","format-standard","hentry","category-python"],"_links":{"self":[{"href":"http:\/\/8.154.33.202\/index.php?rest_route=\/wp\/v2\/posts\/196"}],"collection":[{"href":"http:\/\/8.154.33.202\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/8.154.33.202\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/8.154.33.202\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/8.154.33.202\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=196"}],"version-history":[{"count":1,"href":"http:\/\/8.154.33.202\/index.php?rest_route=\/wp\/v2\/posts\/196\/revisions"}],"predecessor-version":[{"id":197,"href":"http:\/\/8.154.33.202\/index.php?rest_route=\/wp\/v2\/posts\/196\/revisions\/197"}],"wp:attachment":[{"href":"http:\/\/8.154.33.202\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/8.154.33.202\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=196"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/8.154.33.202\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}