{"id":216,"date":"2021-03-19T17:13:59","date_gmt":"2021-03-19T09:13:59","guid":{"rendered":"https:\/\/www.guger.top\/?p=216"},"modified":"2021-03-19T17:13:59","modified_gmt":"2021-03-19T09:13:59","slug":"%e5%9c%a8windows%e5%b9%b3%e5%8f%b0%e4%b8%8b%e4%bd%bf%e7%94%a8vs%e5%af%b9opencv_contrib%e7%9a%84%e7%bc%96%e8%af%91","status":"publish","type":"post","link":"https:\/\/www.guger.top\/index.php\/2021\/03\/19\/%e5%9c%a8windows%e5%b9%b3%e5%8f%b0%e4%b8%8b%e4%bd%bf%e7%94%a8vs%e5%af%b9opencv_contrib%e7%9a%84%e7%bc%96%e8%af%91\/","title":{"rendered":"\u5728windows\u5e73\u53f0\u4e0b\u4f7f\u7528VS\u5bf9OpenCV_contrib\u7684\u7f16\u8bd1"},"content":{"rendered":"<p>\u73b0\u5728OpenCV\u7684\u5305\u5df2\u7ecf\u53ef\u4ee5\u76f4\u63a5\u4e0b\u8f7d\u5230\u7f16\u8bd1\u597d\u7684OpenCV\u6a21\u5757\uff0c\u672c\u6765\u7528\u7684\u5f88\u597d\uff0c\u4f46\u662f\u7a81\u7136\u53d1\u73b0\u7f51\u4e0a\u7684tracking\u7b97\u6cd5\u9700\u8981\u7684\u5e93\u627e\u4e0d\u5230\uff0c\u67e5\u627e\u540e\u53d1\u73b0\u5728\u5355\u72ec\u7684opencv_contrib\u5de5\u7a0b\u4e0b\uff0c\u9700\u8981\u5355\u72ec\u4e0b\u8f7d\u7f16\u8bd1\u8fdb\u53bb\uff0c\u5f00\u5e72\uff01<br \/>\n\u4eceVS2017\u7248\u672c\u5f00\u59cbvs\u81ea\u5e26cmake\u529f\u80fd\uff0c\u6240\u4ee5\u4e0d\u7528\u53e6\u5916\u4e0b\u4e86\u3002<br \/>\n\u9996\u5148\u4e0b\u8f7d<a href=\"https:\/\/github.com\/opencv\/opencv_contrib\" rel=\"noopener\" target=\"_blank\" rel=\"nofollow\" >OpenCV_contrib<\/a> \u89e3\u538b\u653e\u5728\u76ee\u5f55\u4e0b\u5907\u7528\uff0c\u4ee5\u53carelease\u7248\u672c\u4e2d\u7684\u5bf9\u5e94\u7248\u672c\u53f7\u7684\u76f8\u5173\u6587\u4ef6\u3002\u6ce8\u610f\uff1a\u8be5\u7248\u672c\u53f7\u5e94\u8be5\u4e0e\u6240\u9700\u8981\u7684opencv\u7684\u4e3b\u7248\u672c\u53f7\u4e00\u81f4\u3002<br \/>\n\u7136\u540e\u6253\u5f00vs\u6253\u5f00\u4e00\u4e2acmake\u5de5\u7a0b<img decoding=\"async\" src=\"https:\/\/cache.image.guger.top\/2021\/03\/19\/763a79168f5db.png\" alt=\"image.png\" title=\"image.png\" \/>\u9009\u62e9opencv\u7684\u4e3b\u7a0b\u5e8f\u6253\u5f00cmakelists.txt\u3002\u5148\u7b49\u5f85\u7a0b\u5e8f\u8bfb\u53d6cmake\u914d\u7f6e\uff0c\u914d\u7f6e\u5b8c\u540e\u5927\u6982\u4f1a\u56e0\u4e3a\u7f51\u7edc\u95ee\u9898\u51fa\u73b0\u62a5\u9519\uff0c<img decoding=\"async\" src=\"https:\/\/cache.image.guger.top\/2021\/03\/19\/52b204c66d801.png\" alt=\"image.png\" title=\"image.png\" \/>\u6253\u5f00\u76ee\u5f55\u4e0bout\/bulid\/CMakeDownloadLog.txt\u6587\u4ef6\uff0c\u67e5\u770b\u90fd\u6709\u4ec0\u4e48\u6587\u4ef6\u6ca1\u6709\u6210\u529f\u4e0b\u8f7d<img decoding=\"async\" src=\"https:\/\/cache.image.guger.top\/2021\/03\/19\/385d1806b81f6.png\" alt=\"image.png\" title=\"image.png\" \/>\u6839\u636e\u7f3a\u5c11\u7684\u6587\u4ef6\u8fdb\u884c\u4e0b\u8f7d\u6ce8\u610f\u4e0b\u8f7d\u5b8c\u6210\u540e\u9700\u8981\u6821\u9a8cMD5\u6240\u4ee5\u53ef\u4ee5\u81ea\u5df1\u68c0\u67e5\u4e00\u4e0b\uff0c\u7136\u540e\u4fee\u6539\u6587\u4ef6\u540d\u590d\u5236\u5230\u89c4\u5b9a\u4f4d\u7f6e\u3002<img decoding=\"async\" src=\"https:\/\/cache.image.guger.top\/2021\/03\/19\/b715beb230280.png\" alt=\"image.png\" title=\"image.png\" \/>\u7136\u540e\u70b9\u51fb\u9879\u76ee-\u751f\u6210\u7f13\u5b58\u76f4\u5230\u6ca1\u9519\u4e3a\u6b62\u3002\u6b64\u65f6\u6253\u5f00 \u201c\u6253\u5f00CMake\u8bbe\u7f6e\u7f16\u8f91\u5668\u201d\u4f1a\u751f\u6210\u201cCMakeSettings.json\u201d\u6587\u4ef6\uff0c\u8fd9\u4e2a\u5c31\u662fCMake\u7684\u53ef\u89c6\u5316\u914d\u7f6e\u754c\u9762\u4e86\u3002\u641c\u7d22OPENCV_EXTRA_MODULES_PATH\u628a\u503c\u4fee\u6539\u6210X:\/opencv_contrib-3.4.12\/modules\u3002\u7136\u540e\u6839\u636e\u9700\u8981\u4fee\u6539\u522b\u7684\u503c\u3002\u4fee\u6539\u5b8c\u6210\u540e\u751f\u6210\u7f13\u5b58\uff0c\u6b64\u65f6\u4f1a\u518d\u6b21\u63d0\u793a\u7f3a\u5c11\u6587\u4ef6\u7ee7\u7eed\u901a\u8fc7out\/bulid\/CMakeDownloadLog.txt\u6587\u4ef6\u4e0b\u8f7d\u7f3a\u5c11\u6587\u4ef6\u3002\u5b8c\u6210\u540e\u5c31\u662f0\u9519\u8bef0\u8b66\u544a<img decoding=\"async\" src=\"https:\/\/cache.image.guger.top\/2021\/03\/19\/6568da5448d2b.png\" alt=\"image.png\" title=\"image.png\" \/>\u51fa\u73b0\u8fd9\u79cd\u6d88\u606f\u5c31\u7a0d\u7b49\u4e00\u4e0b\uff0c\u7b49\u7f13\u5b58\u52a0\u8f7d\u5b8c\uff0c\u7136\u540e\u70b9\u51fb \u751f\u6210-\u5168\u90e8\u751f\u6210 \u6b64\u65f6\u8fd8\u7f3a\u6700\u540e\u51e0\u4e2a\u6587\u4ef6\uff0c\u8fd9\u4e9b\u6587\u4ef6\u9700\u8981\u4ece\u4e0a\u9762\u7684\u6e90\u4ee3\u7801\u4e2d\u7684\u76f8\u5e94\u5730\u5740\u590d\u5236\u5230opencv_contrib\/modules\/xfeatures2d\/src\/ \u76ee\u5f55\u4e0b\u9762\u3002\u6b64\u65f6\u4ece\u65b0\u7f16\u8bd1\u5373\u53ef\u3002\u7136\u540e\u7b49\u5f85\u751f\u6210\u5b8c\u6210\u3002 \u6700\u540e\u751f\u6210-\u5b89\u88c5opencv\u5c31\u751f\u6210\u7f16\u8bd1\u597d\u7684\u6587\u4ef6\u4e86\u5728out\/install\/x64-Debug\u6587\u4ef6\u5939\u4e0b\u3002\u7136\u540e\u91cd\u65b0\u8bbe\u5b9a\u7cfb\u7edf\u73af\u5883\u8def\u5f84\u3002Get\u221a<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73b0\u5728OpenCV\u7684\u5305\u5df2\u7ecf\u53ef\u4ee5\u76f4\u63a5\u4e0b\u8f7d\u5230\u7f16\u8bd1\u597d\u7684OpenCV\u6a21\u5757\uff0c\u672c\u6765\u7528\u7684\u5f88\u597d\uff0c\u4f46\u662f\u7a81\u7136\u53d1\u73b0\u7f51\u4e0a\u7684tracking\u7b97\u6cd5\u9700\u8981\u7684\u5e93\u627e\u4e0d\u5230 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":""},"categories":[1],"tags":[],"class_list":["post-216","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.guger.top\/index.php\/wp-json\/wp\/v2\/posts\/216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.guger.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.guger.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.guger.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.guger.top\/index.php\/wp-json\/wp\/v2\/comments?post=216"}],"version-history":[{"count":0,"href":"https:\/\/www.guger.top\/index.php\/wp-json\/wp\/v2\/posts\/216\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.guger.top\/index.php\/wp-json\/wp\/v2\/media?parent=216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.guger.top\/index.php\/wp-json\/wp\/v2\/categories?post=216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.guger.top\/index.php\/wp-json\/wp\/v2\/tags?post=216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}