{"id":2182,"date":"2018-11-04T22:06:11","date_gmt":"2018-11-04T13:06:11","guid":{"rendered":"https:\/\/mattyan.net\/blog\/?p=2182"},"modified":"2018-11-04T22:06:11","modified_gmt":"2018-11-04T13:06:11","slug":"opencv%e3%81%ae%e3%82%ab%e3%83%a1%e3%83%a9%e3%82%ad%e3%83%a3%e3%83%97%e3%83%81%e3%83%a3%e3%82%92%e8%a9%a6%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f","status":"publish","type":"post","link":"https:\/\/mattyan.net\/blog\/?p=2182","title":{"rendered":"OpenCV\u306e\u30ab\u30e1\u30e9\u30ad\u30e3\u30d7\u30c1\u30e3\u3092\u8a66\u3057\u3066\u307f\u305f"},"content":{"rendered":"<p><a herf=\"https:\/\/mattyan.net\/blog\/?p=2174\">\u524d\u56de<\/a>\u30d3\u30eb\u30c9\u3057\u305fOpenCV\u3067\u30ab\u30e1\u30e9\u30ad\u30e3\u30d7\u30c1\u30e3\u3092\u8a66\u3057\u3066\u307f\u305f\u3002<br \/>\n<!--more--><br \/>\n\u30bd\u30fc\u30b9\u306f<a href=\"https:\/\/qiita.com\/vs4sh\/items\/4a9ce178f1b2fd26ea30\">OpenCV\u306b\u3088\u308bUSB\u30ab\u30e1\u30e9\u753b\u50cf\u306e\u53d6\u5f97(@vs4sh\u3055\u3093)<\/a>\u306e\u3092\u30b3\u30d4\u30da\u3002<br \/>\nOpenCV\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u304c\u306a\u3093\u304b\u5999\u3060\u3063\u305f\u306e\u3067\u3001<br \/>\n{PREFIX}\/x64\/mingw\/bin\u3068lib\u3092{PREFIX}\/bin,{PREFIX}\/lib\u306b\u305d\u308c\u305e\u308c\u30b3\u30d4\u30fc\u3002<br \/>\n\u3055\u3089\u306b{PREFIX}\/x64\/lib\/*.cmake\u3092{PREFIX}\/cmake\u306b\u30b3\u30d4\u30fc\u3057\u3066cmake\u5b9f\u884c<br \/>\n[powershell]<br \/>\ncmake -G &quot;MinGW Makefiles&quot; -DCMAKE_SH=&quot;CMAKE_SH-NOTFOUND&quot; -DCMAKE_CXX_FLAGS=&quot;-std=gnu++14&quot; -DCMAKE_MODULE_PATH=&quot;D:\\\\Scoop\\\\lib&quot; -DCMAKE_PREFIX_PATH=&quot;D:\\\\Scoop\\\\lib&quot; ..<br \/>\n[\/powershell]<br \/>\n\u3092\u5b9f\u884c\u3002-DCMAKE_MODULE_PATH\u3060\u3068\u99c4\u76ee\u3067\u3001-DCMAKE_PREFIX_PATH\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u3060\u3063\u305f\u3002<br \/>\n\u3042\u3068\u306fmake\u3057\u3066\u5fc5\u8981\u306adll\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304b\u3089<br \/>\n[powershell]<br \/>\n .\\OpenCVCameraTest.exe<br \/>\n[\/powershell]<br \/>\n\u3067\u5b9f\u884c<\/p>\n<blockquote class=\"twitter-tweet\" data-lang=\"ja\">\n<p lang=\"ja\" dir=\"ltr\">\u9069\u5f53\u306b\u30ab\u30e1\u30e9\u30ad\u30e3\u30d7\u30c1\u30e3\u30b5\u30f3\u30d7\u30eb\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u305f\u3089\u52d5\u3044\u305f\u3002 <a href=\"https:\/\/t.co\/cGrDIrhXph\">pic.twitter.com\/cGrDIrhXph<\/a><\/p>\n<p>&mdash; \u307e\u3063\u3061\u3083\u3093 (@mattyan_1117) <a href=\"https:\/\/twitter.com\/mattyan_1117\/status\/1059066586827390976?ref_src=twsrc%5Etfw\">2018\u5e7411\u67084\u65e5<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><br \/>\n\u52d5\u3044\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u30d3\u30eb\u30c9\u3057\u305fOpenCV\u3067\u30ab\u30e1\u30e9\u30ad\u30e3\u30d7\u30c1\u30e3\u3092\u8a66\u3057\u3066\u307f\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2182","post","type-post","status-publish","format-standard","hentry","category-4"],"_links":{"self":[{"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2182","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2182"}],"version-history":[{"count":0,"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2182\/revisions"}],"wp:attachment":[{"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}