{"id":4205,"date":"2020-01-12T13:39:09","date_gmt":"2020-01-12T13:39:09","guid":{"rendered":"http:\/\/www.ipsych.me\/?p=4205"},"modified":"2020-01-13T01:42:55","modified_gmt":"2020-01-13T01:42:55","slug":"finally-intel-openvino-supports-ncs2-in-macos","status":"publish","type":"post","link":"https:\/\/www.ipsych.me\/?p=4205","title":{"rendered":"Finally Intel OpenVino supports NCS2 in MacOS"},"content":{"rendered":"<p>From Intel OpenVino Version 2019R3, NCS2 is fully supported in MacOS.<\/p>\n<p>The <a href=\"https:\/\/docs.openvinotoolkit.org\/2019_R3.1\/_docs_install_guides_installing_openvino_macos.html\">Official page<\/a> mentioned the minimum requirement is 10.4.4, but the Installation and Compilation completed flawlessly in 10.3.6.<\/p>\n<p>As expected, slight fluctuations in probability were observed.<\/p>\n<p>To run examples, it is recommended to install OpenCV independently, instead of OpenCV-Core-Vino automatically installed with OpenVino installer. Some dylib needs via install_name_tool like below.<\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\">sudo install_name_tool -change @rpath\/libmkl_tiny_tbb.dylib\u00a0<\/span>\/opt\/intel\/openvino\/deployment_tools\/inference_engine\/external\/mkltiny_mac\/lib\/libmkl_tiny_tbb.dylib \/opt\/intel\/openvino_2019.3.376\/deployment_tools\/inference_engine\/lib\/intel64\/libMKLDNNPlugin.dylib<\/p>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.ipsych.me\/wp-content\/uploads\/2020\/01\/Screen-Shot-2020-01-12-at-10.33.55-PM.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-4206\" src=\"http:\/\/www.ipsych.me\/wp-content\/uploads\/2020\/01\/Screen-Shot-2020-01-12-at-10.33.55-PM.png\" alt=\"\" width=\"1771\" height=\"1010\" srcset=\"https:\/\/www.ipsych.me\/wp-content\/uploads\/2020\/01\/Screen-Shot-2020-01-12-at-10.33.55-PM.png 1771w, https:\/\/www.ipsych.me\/wp-content\/uploads\/2020\/01\/Screen-Shot-2020-01-12-at-10.33.55-PM-300x171.png 300w, https:\/\/www.ipsych.me\/wp-content\/uploads\/2020\/01\/Screen-Shot-2020-01-12-at-10.33.55-PM-768x438.png 768w, https:\/\/www.ipsych.me\/wp-content\/uploads\/2020\/01\/Screen-Shot-2020-01-12-at-10.33.55-PM-1024x584.png 1024w\" sizes=\"(max-width: 1771px) 100vw, 1771px\" \/><\/a><\/p>\n<p>Also, the c++ error might be raised in OpenCV 4.1 homebrew environment. (Due to <a href=\"https:\/\/developer.apple.com\/documentation\/avfoundation\/cameras_and_media_capture\/requesting_authorization_for_media_capture_on_macos?language=objc\">AVCaptureDeviceauthorization<\/a> issue in &lt;10.14 Mojave). Upgrade OpenCV to 4.2.1 resolves the issue.<\/p>\n<blockquote>\n<p class=\"p1\"><span class=\"s1\">InferenceEngine: <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\"> API version &#8230;&#8230;&#8230;&#8230; 2.1<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\"> Build &#8230;&#8230;&#8230;&#8230;&#8230;&#8230; 32974<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\"> Description &#8230;&#8230;. API<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">[ INFO ] Parsing input parameters<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">[ INFO ] Reading input<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">2020-01-13 01:34:57.003 interactive_face_detection_demo[97791:3322633] +[AVCaptureDevice authorizationStatusForMediaType:]: unrecognized selector sent to class 0x7fff821896a0<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">[ERROR:0] global \/localdisk\/jenkins\/workspace\/OpenCV\/OpenVINO\/build\/opencv\/modules\/videoio\/src\/cap.cpp (193) open VIDEOIO(AVFOUNDATION): raised unknown C++ exception!<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">[ ERROR ] Cannot open input file or camera: cam<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>From Intel OpenVino Version 2019R3, NCS2 is fully supported in MacOS. The Official page mentioned the minimum requirement is 10.4.4, but the Installation and Compilation completed flawlessly in 10.3.6. As expected, slight fluctuations in probability were observed. To run examples, it is recommended to install OpenCV independently, instead of OpenCV-Core-Vino automatically installed with OpenVino installer. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4206,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[42,40,41,39],"class_list":["post-4205","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-myrid","tag-ncs","tag-ncs2","tag-openvino"],"_links":{"self":[{"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/posts\/4205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4205"}],"version-history":[{"count":4,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/posts\/4205\/revisions"}],"predecessor-version":[{"id":4210,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/posts\/4205\/revisions\/4210"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=\/wp\/v2\/media\/4206"}],"wp:attachment":[{"href":"https:\/\/www.ipsych.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ipsych.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}