{"id":1033,"date":"2012-07-01T04:05:31","date_gmt":"2012-06-30T19:05:31","guid":{"rendered":"http:\/\/daily.belltail.jp\/?p=1033"},"modified":"2012-07-01T05:00:27","modified_gmt":"2012-06-30T20:00:27","slug":"opencvipp","status":"publish","type":"post","link":"https:\/\/daily.belltail.jp\/?p=1033","title":{"rendered":"OpenCV+IPP"},"content":{"rendered":"<p>Linux\u7248OpenCV\u3092\uff0c30\u65e5\u9650\u5b9a\u8a55\u4fa1\u7248\u306eIPP\u4ed8\u304d\u3067\u30d3\u30eb\u30c9\u3059\u308b\u624b\u9806\uff0e<br \/>\nIPP\u3068\u306f\u30de\u30eb\u30c1\u30e1\u30c7\u30a3\u30a2\u51e6\u7406\u30e9\u30a4\u30d6\u30e9\u30eaIntel Performance Primitives\u306e\u3053\u3068\u3067\uff0cintel\u88fdCPU\u3092\u4f7f\u3063\u305f\u30de\u30b7\u30f3\u306b\u304a\u3044\u3066\u30bf\u30b9\u30af\u306b\u3088\u3063\u30662\u500d\u304b\u308910\u500d\u306e\u6027\u80fd\u5411\u4e0a\u304c\u3042\u308b\u3068\u306e\u3053\u3068\uff0e<br \/>\n\u4e8b\u4f8b\u3092\u3050\u3050\u3063\u305f\u304b\u3093\u3058\uff0c\u305d\u308c\u307b\u3069\u8a87\u5f35\u306e\u3042\u308b\u6570\u5b57\u3067\u3082\u306a\u3055\u305d\u3046\uff0e<\/p>\n<p>**IPP\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n+[http:\/\/software.intel.com\/en-us\/articles\/intel-ipp\/]\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<br \/>\n++\u767b\u9332\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059<br \/>\n++\u30e9\u30a4\u30bb\u30f3\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u6dfb\u4ed8\u3057\u305f\u30e1\u30fc\u30eb\u304c\u5c4a\u304d\u307e\u3059<br \/>\n++\u50d5\u306fx86\u306a\u306e\u3067\u73fe\u5728\u6700\u65b0\u306el_ipp_7.0.7.319_ia32.tgz\u3092\u843d\u3068\u3057\u307e\u3057\u305f<br \/>\n+IPP\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n++\u843d\u3068\u3057\u305f\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u5c55\u958b<br \/>\n++% sudo .\/install.sh<br \/>\n++\u3042\u3068\u306f\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051<br \/>\n+++\u30e9\u30a4\u30bb\u30f3\u30b9\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30eb\u30d1\u30b9\u3092\u5165\u529b\u3059\u308b\u3068\u3053\u308d\u304c\u3042\u308a\u307e\u3059<br \/>\n+++\u6b63\u5f0f\u30b5\u30dd\u30fc\u30c8\u5bfe\u8c61\u5916\u306e\u30c7\u30a3\u30b9\u30c8\u30ed\u306e\u5834\u5408(Ubuntu\u7b49)\u3067\u306f\u8b66\u544a\u3055\u308c\u307e\u3059\u304c\u7121\u8996\u3067<\/p>\n<p>**OpenCV\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n+[http:\/\/sourceforge.net\/projects\/opencvlibrary\/files\/opencv-unix\/]\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<br \/>\n+\u5c55\u958b<br \/>\n+\u5c55\u958b\u3057\u305f\u4e2d\u306b&#8221;release&#8221;\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210<br \/>\n+\u305d\u3053\u306bcd<br \/>\n+% cmake -D WITH_IPP=ON -D IPP_H_PATH=\/opt\/intel\/ipp\/include -D BUILD_SHARED_LIBS=OFF ..<br \/>\n++IPP\u95a2\u9023\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3060\u3051\u3064\u3051\u305f\u4f8b\u3067\u3059<br \/>\n+++\u6700\u5f8c\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u306a\u3044\u3068\u30ea\u30f3\u30af\u30a8\u30e9\u30fc\u3067\u307e\u3059(\u00b4\u30fb\u03c9\u30fb`)<br \/>\n+++[http:\/\/stackoverflow.com\/questions\/10508926\/opencv-fails-to-build-with-ipp-support-enabled]<br \/>\n++\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u4ed6\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3082\u3064\u3051\u3066<br \/>\n+% make -s -j8<br \/>\n+% sudo make install<\/p>\n<p>\u3064\u3044\u3067\u306b\uff0cOpenCV\u30d3\u30eb\u30c9\u306e\u3068\u304d\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u5168\u4f53<br \/>\n% cmake -D WITH_TBB=ON -D WITH_IPP=ON -D IPP_H_PATH=\/opt\/intel\/ipp\/include -D BUILD_SHARED_LIBS=OFF -D WITH_FFMPEG=OFF ..<br \/>\n-TBB\u4f7f\u3044\u307e\u3059(objdetect\u3068\u304bimageproc\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4e2d\u3068\u304b\u3067\u4f7f\u3063\u3066\u308b\u307f\u305f\u3044)<br \/>\n-FFMPEG\u304c\u3042\u308b\u3068\u306a\u3093\u304b\u30a8\u30e9\u30fc\u3067\u308b\u306e\u3067\uff1e\uff1c<br \/>\n-OpenMP\u306f\u3082\u306f\u3084\u4f7f\u308f\u308c\u306a\u3044\uff0c\u3093\u3060\u305d\u3046\u3067\u3059\u306d\uff0ehaartraining\u306e\u4e2d\u3067\u306f\u3075\u3064\u30fc\u306b\u4f7f\u3063\u3066\u308b\u3093\u3067\u3059\u304c<\/p>\n<p>**IPP\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u306e\u8a71<\/p>\n<p>IPP\u3092\u5c55\u958b\u3057\u305f\u5834\u6240\u306b\u3042\u308blicense\u30d5\u30a1\u30a4\u30eb\u3068\u304b[http:\/\/software.intel.com\/en-us\/articles\/non-commercial-software-download\/:title=Non-Commercial Software Download &#8211; Intel\u00ae Software Network]\u306b\u3042\u308b\u3068\u304a\u308a\uff0c\u975e\u5546\u7528\u5229\u7528\u306b\u304a\u3044\u3066\u306f\u7121\u6599\u3067\u30e9\u30a4\u30bb\u30f3\u30b9\u3092\u63d0\u4f9b\u3057\u3066\u9802\u3051\u308b\u305d\u3046\u3067\u3059\uff0e<br \/>\n(\u30e9\u30a4\u30bb\u30f3\u30b9\u306f\u5909\u66f4\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\uff0e\u81ea\u5206\u3067\u5229\u7528\u3055\u308c\u308b\u969b\u306b\u518d\u78ba\u8a8d\u3092\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u7248OpenCV\u3092\uff0c30\u65e5\u9650\u5b9a\u8a55\u4fa1\u7248\u306eIPP\u4ed8\u304d\u3067\u30d3\u30eb\u30c9\u3059\u308b\u624b\u9806\uff0e IPP\u3068\u306f\u30de\u30eb\u30c1\u30e1\u30c7\u30a3\u30a2\u51e6\u7406\u30e9\u30a4\u30d6\u30e9\u30eaIntel Performance Primitives\u306e\u3053\u3068\u3067\uff0cintel\u88fdCPU\u3092\u4f7f\u3063\u305f\u30de\u30b7\u30f3\u306b\u304a\u3044\u3066 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[16,7,17,10],"class_list":["post-1033","post","type-post","status-publish","format-standard","hentry","category-1","tag-cv","tag-linux","tag-opencv","tag-10"],"_links":{"self":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts\/1033","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1033"}],"version-history":[{"count":0,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts\/1033\/revisions"}],"wp:attachment":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1033"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1033"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}