{"id":2354,"date":"2018-12-25T15:45:44","date_gmt":"2018-12-25T06:45:44","guid":{"rendered":"http:\/\/research.itplants.com\/?p=2354"},"modified":"2018-12-31T14:10:55","modified_gmt":"2018-12-31T05:10:55","slug":"intel-neural-compute-stick-2","status":"publish","type":"post","link":"https:\/\/research.itplants.com\/?p=2354","title":{"rendered":"Intel Neural Compute Stick 2"},"content":{"rendered":"<p>Intel Neural Compute Stick 2\u304c\u3001Intel Neural Compute Stick 1\u3088\u308a\u3082\uff18\u500d\u3082\u9ad8\u901f\u5316\u3055\u308c\u305f\u3068\u306e\u3053\u3068\u3067\u3001\u8a66\u3057\u306b\u8cfc\u5165\u3057\u3066\u307f\u307e\u3057\u305f\u3002Mac\u306eVirtualBox\u306bUbuntu\u3092\u5165\u308c\u3066 OpenVino\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u8a66\u3057\u3066\u307f\u308b\u3068\u3001MYRAID\u6307\u5b9a\u3059\u308b\u3068\u3001Neural Compute Stick 2\u304cUSB\u30c7\u30d0\u30a4\u30b9\u304b\u3089\u5207\u308a\u96e2\u3055\u308c\u3066\u3057\u307e\u3046\u3002<\/p>\n<p>\u3068\u3093\u3067\u3082\u306a\u304f\u4f7f\u3048\u306a\u3044\u3002\u3082\u3046\u3001\u304b\u308c\u3053\u308c\uff13\u65e5\u3082\u8cbb\u3084\u3057\u3066\u3057\u307e\u3063\u305f\u3002\u5b9f\u7e3e\u306e\u3042\u308b\u3001Intel Neural Compute Stick 1\u306e\u65b9\u306b\u3057\u3066\u304a\u3051\u3070\u3088\u304b\u3063\u305f\u3068\u3001\u5c11\u3057\u3001\u5f8c\u6094\u3082\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u52d5\u4f5c\u74b0\u5883\u306f\u3001MacOSX Mojave(10.14.2)\u306bVirtualBox\u3092\u5165\u308c\u3066\u3001Ubuntu16.0.4\u3092\u8d77\u52d5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h4>ncsdk\u306f\u4f7f\u3063\u3066\u306f\u3044\u3051\u306a\u3044<\/h4>\n<p>Intel\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308bncsdk\u306f\u4f7f\u3063\u3066\u306f\u3044\u3051\u306a\u3044\u3002\u30d0\u30b0\u304c\u591a\u304f\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3082\u308d\u304f\u306b\u3067\u304d\u306a\u3044\u3002\u307e\u305f\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3082\u72ec\u7279\u306a\u3082\u306e\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u3001\u79fb\u690d\u6027\u304c\u60aa\u3044\u3002\u3053\u308c\u304b\u3089\u306f\u3001OpenVino\u3092\u4f7f\u3046\u3079\u304d\u3002OpenVino\u306f\u3001OpenCV3.2\u4ee5\u4e0a\u306ednn\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u307f\u305f\u3044\u3002\u5358\u306b\u3001OpenCV\u306ednn\u3067\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3001\u5229\u7528\u3059\u308b\u30c7\u30d0\u30a4\u30b9\u3092MYRIAD(Movidious)\u306b\u6307\u5b9a\u3059\u308c\u3070\u3044\u3044\u3060\u3051\u3002<\/p>\n<h4>VirtualBox Ubuntu\u3067\u52d5\u304b\u3059<\/h4>\n<p>\u306a\u304b\u306a\u304b\u3001\u52d5\u4f5c\u3057\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u82e6\u95d8\uff14\u65e5\u76ee\u3067\u3001\u3084\u3063\u3068\u52d5\u304d\u307e\u3057\u305f\u3002\u3053\u3053\u306e\u8a18\u4e8b\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/movidius.github.io\/ncsdk\/vm_config.html\">https:\/\/movidius.github.io\/ncsdk\/vm_config.html<\/a><\/p>\n<p>\u539f\u56e0\u306f\u3001VirtualBox\u306eUSB\u306e\u8a2d\u5b9a\u3067\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/9995fd23e1c809bccce294bd59bcb587.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-2364\" src=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/9995fd23e1c809bccce294bd59bcb587.png\" alt=\"\" width=\"392\" height=\"168\" srcset=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/9995fd23e1c809bccce294bd59bcb587.png 392w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/9995fd23e1c809bccce294bd59bcb587-300x129.png 300w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/9995fd23e1c809bccce294bd59bcb587-320x137.png 320w\" sizes=\"(max-width: 392px) 100vw, 392px\" \/><\/a>\u5f53\u521d\u306f\u3001USB\u30c7\u30d0\u30a4\u30b9\u306e\u8ffd\u52a0\u3067\u51fa\u3066\u304f\u308b\u30e1\u30cb\u30e5\u30fc\u5185\u306eMovidius Ltd. Movidious MyraidX[0001]\u3092\u9078\u3093\u3067\u3044\u307e\u3057\u305f\u304c\u3001\u3053\u308c\u304c\u60aa\u304b\u3063\u305f\u307f\u305f\u3044\u3002<\/p>\n<p><a href=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/3b16c838a1828a2f94755d7f971a6fb1.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-2363\" src=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/3b16c838a1828a2f94755d7f971a6fb1.png\" alt=\"\" width=\"886\" height=\"615\" srcset=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/3b16c838a1828a2f94755d7f971a6fb1.png 886w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/3b16c838a1828a2f94755d7f971a6fb1-300x208.png 300w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/3b16c838a1828a2f94755d7f971a6fb1-768x533.png 768w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/3b16c838a1828a2f94755d7f971a6fb1-320x222.png 320w\" sizes=\"(max-width: 886px) 100vw, 886px\" \/><\/a>\u30d6\u30e9\u30f3\u30af\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\uff08USB whitelist filters\uff09\u3092\u4f5c\u3063\u3066\u3001\u30d9\u30f3\u30c0\u30fcID\u3060\u3051\u5165\u308c\u308b\u307f\u305f\u3044\u3067\u3059\u3002\u30d9\u30f3\u30c0\u30fcID\u300003e7\u3000\u306fIntel\u3067\u3059\u304c\u3001040e\u306f\u3001\u3069\u3053\u3060\u304b\u5206\u304b\u308a\u307e\u305b\u3093\u3002\u3061\u306a\u307f\u306b\u3001VirtualBox Extension Pack\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/d0cbccba63708e28496a337a72df5b79.png\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-2361\" src=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/d0cbccba63708e28496a337a72df5b79.png\" alt=\"\" width=\"886\" height=\"615\" srcset=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/d0cbccba63708e28496a337a72df5b79.png 886w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/d0cbccba63708e28496a337a72df5b79-300x208.png 300w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/d0cbccba63708e28496a337a72df5b79-768x533.png 768w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/d0cbccba63708e28496a337a72df5b79-320x222.png 320w\" sizes=\"(max-width: 886px) 100vw, 886px\" \/><\/a> <a href=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/b48a58b47804cc2c993a01ed75e63601.png\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-2362\" src=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/b48a58b47804cc2c993a01ed75e63601.png\" alt=\"\" width=\"886\" height=\"615\" srcset=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/b48a58b47804cc2c993a01ed75e63601.png 886w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/b48a58b47804cc2c993a01ed75e63601-300x208.png 300w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/b48a58b47804cc2c993a01ed75e63601-768x533.png 768w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/b48a58b47804cc2c993a01ed75e63601-320x222.png 320w\" sizes=\"(max-width: 886px) 100vw, 886px\" \/><\/a>VirtualBox\u306bWebCam\u3092\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/p>\n<p>irtualBox\u3092\u8d77\u52d5\u3057\u3066\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u5f8c\u306b\u5b9f\u65bd\u3059\u308b\u3053\u3068\u3002<\/p>\n<p>$ VBoxManage list webcams<br \/>\n$ VBoxManage list runningvms<br \/>\n$ VboxManage controlvm ncs2 webcam attach .1<\/p>\n<p>\u3053\u308c\u306f\u3001Mac\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u5b9f\u65bd\u3057\u307e\u3059\u3002\u3053\u308c\u3067\u3001Mac\u306e\u5185\u8535\u30ab\u30e1\u30e9\uff08FaceTime)\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>VirtualBox\u306e\u30b3\u30f3\u30c6\u30ca\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3001ubuntu\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304d\u307e\u3059\u3002\uff08OpenVino\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3068\u3057\u307e\u3059\u3002\uff09<\/p>\n<p>$ cd ~\/inference_engine_samples\/intel64\/Release<\/p>\n<p>$ .\/interactive_face_detection_demo -i cam -m intel_models\/face-detection-retail-0004\/FP<span style=\"color: #ff0000;\">16<\/span>\/face-detection-retail-0004.xml -d MYRIAD<\/p>\n<p>MYRIAD\u3092\u4f7f\u3046\u5834\u5408\u306f\u3001FP16\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>$ .\/interactive_face_detection_demo -i cam -m intel_models\/face-detection-retail-0004\/FP32\/face-detection-retail-0004.xml -d CPU<\/p>\n<p>CPU\u3092\u4f7f\u3046\u5834\u5408\u306fFP32\u3067\u3059\u3002CPU\u3067\u3082FP16\u304c\u4f7f\u3048\u308c\u3070\u3044\u3044\u306e\u306b\u3002\u5c11\u3057\u9762\u5012\u3002<\/p>\n<p>$ cd \/opt\/intel\/computer_vision_sdk\/deployment_tools\/demo<\/p>\n<p>$ .\/demo_security_barrier_camera.sh -d MYRIAD<\/p>\n<p>target = MYRIAD<br \/>\ntarget_precision = FP16<br \/>\nRun sudo -E apt -y install build-essential cmake libcairo2-dev libpango1.0-dev libglib2.0-dev libgtk2.0-dev libswscale-dev libavcodec-dev libavformat-dev libgstreamer1.0-0 gstreamer1.0-plugins-base<br \/>\n[sudo] password for pi:<br \/>\nHit:1 http:\/\/jp.archive.ubuntu.com\/ubuntu xenial InRelease<br \/>\nGet:2 http:\/\/jp.archive.ubuntu.com\/ubuntu xenial-updates InRelease [109 kB]<br \/>\nGet:3 http:\/\/jp.archive.ubuntu.com\/ubuntu xenial-backports InRelease [107 kB]<br \/>\nGet:4 http:\/\/security.ubuntu.com\/ubuntu xenial-security InRelease [107 kB]<br \/>\nHit:5 https:\/\/download.docker.com\/linux\/ubuntu xenial InRelease<br \/>\nFetched 323 kB in 1s (256 kB\/s)<br \/>\nReading package lists&#8230; Done<br \/>\nBuilding dependency tree<br \/>\nReading state information&#8230; Done<br \/>\nAll packages are up to date.<br \/>\nReading package lists&#8230; Done<br \/>\nBuilding dependency tree<br \/>\nReading state information&#8230; Done<br \/>\nbuild-essential is already the newest version (12.1ubuntu2).<br \/>\nlibcairo2-dev is already the newest version (1.14.6-1).<br \/>\nlibpango1.0-dev is already the newest version (1.38.1-1).<br \/>\ncmake is already the newest version (3.5.1-1ubuntu3).<br \/>\ngstreamer1.0-plugins-base is already the newest version (1.8.3-1ubuntu0.2).<br \/>\nlibglib2.0-dev is already the newest version (2.48.2-0ubuntu4.1).<br \/>\nlibgstreamer1.0-0 is already the newest version (1.8.3-1~ubuntu0.1).<br \/>\nlibgtk2.0-dev is already the newest version (2.24.30-1ubuntu1.16.04.2).<br \/>\nlibavcodec-dev is already the newest version (7:2.8.15-0ubuntu0.16.04.1).<br \/>\nlibavformat-dev is already the newest version (7:2.8.15-0ubuntu0.16.04.1).<br \/>\nlibswscale-dev is already the newest version (7:2.8.15-0ubuntu0.16.04.1).<br \/>\n0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br \/>\nReading package lists&#8230; Done<br \/>\nBuilding dependency tree<br \/>\nReading state information&#8230; Done<br \/>\nlibpng12-dev is already the newest version (1.2.54-1ubuntu1.1).<br \/>\n0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<\/p>\n<p>###################################################<\/p>\n<p>Build Inference Engine samples<\/p>\n<p>Target folder \/home\/pi\/inference_engine_samples already exists. Skipping samples building.If you want to rebuild samples, remove the entire \/home\/pi\/inference_engine_samples folder. Then run the script again<\/p>\n<p>###################################################<\/p>\n<p>Run Inference Engine security_barrier_camera demo<\/p>\n<p>Run .\/security_barrier_camera_demo -d MYRIAD -d_va MYRIAD -d_lpr MYRIAD -i \/opt\/intel\/computer_vision_sdk\/deployment_tools\/demo\/car_1.bmp -m \/opt\/intel\/\/computer_vision_sdk_2018.5.445\/deployment_tools\/intel_models\/vehicle-license-plate-detection-barrier-0106\/FP16\/vehicle-license-plate-detection-barrier-0106.xml -m_va \/opt\/intel\/\/computer_vision_sdk_2018.5.445\/deployment_tools\/intel_models\/vehicle-attributes-recognition-barrier-0039\/FP16\/vehicle-attributes-recognition-barrier-0039.xml -m_lpr \/opt\/intel\/\/computer_vision_sdk_2018.5.445\/deployment_tools\/intel_models\/license-plate-recognition-barrier-0001\/FP16\/license-plate-recognition-barrier-0001.xml<\/p>\n<p>[ INFO ] InferenceEngine:<br \/>\nAPI version &#8230;&#8230;&#8230;&#8230; 1.4<br \/>\nBuild &#8230;&#8230;&#8230;&#8230;&#8230;&#8230; 19154<br \/>\n[ INFO ] Parsing input parameters<br \/>\n[ INFO ] Capturing video streams from the video files or loading images<br \/>\n[ INFO ] Files were added: 1<br \/>\n[ INFO ] \/opt\/intel\/computer_vision_sdk\/deployment_tools\/demo\/car_1.bmp<br \/>\n[ INFO ] Number of input image files: 1<br \/>\n[ INFO ] Number of input video files: 0<br \/>\n[ INFO ] Number of input channels: 1<br \/>\n[ INFO ] Loading plugin MYRIAD<\/p>\n<p>API version &#8230;&#8230;&#8230;&#8230; 1.5<br \/>\nBuild &#8230;&#8230;&#8230;&#8230;&#8230;&#8230; 19154<br \/>\nDescription &#8230;&#8230;. myriadPlugin<br \/>\n[ INFO ] Loading network files for VehicleDetection<br \/>\n[ INFO ] Batch size is forced to 1<br \/>\n[ INFO ] Checking Vehicle Detection inputs<br \/>\n[ INFO ] Checking Vehicle Detection outputs<br \/>\n[ INFO ] Loading Vehicle Detection model to the MYRIAD plugin<br \/>\n[ INFO ] Loading network files for VehicleAttribs<br \/>\n[ INFO ] Batch size is forced to 1 for Vehicle Attribs<br \/>\n[ INFO ] Checking VehicleAttribs inputs<br \/>\n[ INFO ] Checking Vehicle Attribs outputs<br \/>\n[ INFO ] Loading Vehicle Attribs model to the MYRIAD plugin<br \/>\n[ INFO ] Loading network files for Licence Plate Recognition (LPR)<br \/>\n[ INFO ] Batch size is forced to 1 for LPR Network<br \/>\n[ INFO ] Checking LPR Network inputs<br \/>\n[ INFO ] Checking LPR Network outputs<br \/>\n[ INFO ] Loading LPR model to the MYRIAD plugin<br \/>\n[ INFO ] Start inference<\/p>\n<p><a href=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/7c3c25784b74963ae0346da430e6b001.png\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-2365\" src=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/7c3c25784b74963ae0346da430e6b001.png\" alt=\"\" width=\"1323\" height=\"1097\" srcset=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/7c3c25784b74963ae0346da430e6b001.png 1323w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/7c3c25784b74963ae0346da430e6b001-300x249.png 300w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/7c3c25784b74963ae0346da430e6b001-768x637.png 768w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/7c3c25784b74963ae0346da430e6b001-1024x849.png 1024w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/7c3c25784b74963ae0346da430e6b001-320x265.png 320w\" sizes=\"(max-width: 1323px) 100vw, 1323px\" \/><\/a><\/p>\n<p>$ .\/demo_security_barrier_camera.sh -d CPU<\/p>\n<p><a href=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/9414e7309ba491ec3c0575f5624c8c45.png\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-2367\" src=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/9414e7309ba491ec3c0575f5624c8c45.png\" alt=\"\" width=\"1323\" height=\"1097\" srcset=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/9414e7309ba491ec3c0575f5624c8c45.png 1323w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/9414e7309ba491ec3c0575f5624c8c45-300x249.png 300w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/9414e7309ba491ec3c0575f5624c8c45-768x637.png 768w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/9414e7309ba491ec3c0575f5624c8c45-1024x849.png 1024w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/9414e7309ba491ec3c0575f5624c8c45-320x265.png 320w\" sizes=\"(max-width: 1323px) 100vw, 1323px\" \/><\/a>CPU\u306e\u5834\u5408\u300140.38ns(24.76fps\uff09\u304c\u3001MYRAID\u306e\u5834\u5408\u306b\u306f\u300114.39ms(69.48 fps)\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3042\u308c\u30012.8\u500d\u3057\u304b\u65e9\u304f\u306a\u3063\u3066\u3044\u306a\u3044\uff1f<\/p>\n<p>\u8d77\u52d5\u6642\u306e\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u304c\u5927\u304d\u3044\u306e\u3067\u3001\u52d5\u753b\u306e\u51e6\u7406\u3067\u306a\u3044\u3068\u52b9\u679c\u304c\u767a\u63ee\u3067\u304d\u306a\u3044\u306e\u304b\u306a\u3002neural compute stick2\u306f\u3001<a href=\"https:\/\/ncsforum.movidius.com\/discussion\/1329\/lattepanda-alpha-openvino-cpu-core-m3-vs-ncs1-vs-ncs2-performance-comparison\">\u65e9\u304f\u306a\u3089\u306a\u3044\u3063\u3066\u8a18\u4e8b<\/a>\u3082\u3042\u308b\u307f\u305f\u3044\u3060\u3057\u3002<\/p>\n<h4>Raspberry Pi\u3067\u52d5\u304b\u3059<\/h4>\n<p>Intel\u306b\u306f\u3001\u3082\u3063\u3068\u9811\u5f35\u3063\u3066\u3082\u3089\u3063\u3066\u3001\u662f\u975e\u3001\u00a0Neural Compute Stick 2\u304cRaspberry Pi\u3067\u52d5\u304f\u3088\u3046\u306b\u3057\u3066\u307b\u3057\u3044\u3002\u3068\u601d\u3063\u3066\u3044\u305f\u3089\u3001\u306a\u3093\u3068\u3001openvino\u306eforums\u306b\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/software.intel.com\/en-us\/forums\/computer-vision\/topic\/801630\">https:\/\/software.intel.com\/en-us\/forums\/computer-vision\/topic\/801630<\/a><\/p>\n<p>\u66f8\u3044\u3066\u3042\u308b\u3068\u304a\u308a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001Raspberry Pi\uff13B+\u3067\u5b9f\u884c\u3057\u307e\u3057\u305f<a href=\"https:\/\/qiita.com\/PINTO\/items\/fc1fcecce4d5600c20bb#-raspberrypi3%E3%81%B8%E3%81%AEopenvino%E6%9C%AC%E4%BD%93%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB\">\u3002\u89e3\u8aac\u8a18\u4e8b\u3082\u3042\u308a\u307e\u3057\u305f\u3002<\/a><\/p>\n<p>pi@dnn:~\/inference_engine_samples\/armv7l\/Release $ .\/interactive_face_detection_demo -m face-detection-adas-0001.xml -d MYRIAD -i \/dev\/video0<\/p>\n<p><a href=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/b78214c6c6487b79955424cb92c934ca.png\" data-rel=\"lightbox-image-6\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-2373\" src=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/b78214c6c6487b79955424cb92c934ca.png\" alt=\"\" width=\"1348\" height=\"1114\" srcset=\"https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/b78214c6c6487b79955424cb92c934ca.png 1348w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/b78214c6c6487b79955424cb92c934ca-300x248.png 300w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/b78214c6c6487b79955424cb92c934ca-768x635.png 768w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/b78214c6c6487b79955424cb92c934ca-1024x846.png 1024w, https:\/\/research.itplants.com\/wp\/wp-content\/uploads\/2018\/12\/b78214c6c6487b79955424cb92c934ca-320x264.png 320w\" sizes=\"(max-width: 1348px) 100vw, 1348px\" \/><\/a><\/p>\n<p>4.7fps\u304c\u3067\u3066\u3044\u307e\u3059\u304c\u3001\u753b\u9762\u306e\u66f4\u65b0\u306b\u30013\u79d2\u7a0b\u5ea6\u306e\u9045\u308c\u304c\u751f\u3058\u3066\u3044\u307e\u3059\u3002\u3068\u308a\u3042\u3048\u305a\u3001Raspberry Pi 3B+\u3067\u3082\u3001Neural Compute Stick 2\u304c\u52d5\u4f5c\u3057\u307e\u3057\u305f\u3002\u3067\u3082\u3001<a href=\"https:\/\/qiita.com\/PINTO\/items\/fc1fcecce4d5600c20bb#-raspberrypi3%E3%81%B8%E3%81%AEopenvino%E6%9C%AC%E4%BD%93%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB\">Neural Compute Stick \uff11\u306e\uff12\u500d\u7a0b\u5ea6\u306e\u6027\u80fd\u3057\u304b\u51fa\u3066\u3044\u306a\u3044<\/a>\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>Neural Compute Stick 2\u304c\u3001Neural Compute Stick 1\u306e\uff18\u500d\u306e\u6027\u80fd\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3001\u307e\u3060\u307e\u3060\u3001\u6027\u80fd\u304c\u5f15\u304d\u51fa\u305b\u3066\u3044\u306a\u3044\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u4eca\u5f8c\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u671f\u5f85\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h4><\/h4>\n<h4>\u5099\u8003<\/h4>\n<p>Raspberry Pi\u306eg++\u3084gcc\u306f\u30016.3\u3092\u4f7f\u308f\u306a\u3044\u3068\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\u3002<\/p>\n<p>$ gcc &#8211;version<\/p>\n<p>\u3082\u3057\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u9055\u3046\u5834\u5408\u306b\u306f\u3002<\/p>\n<p>$ cd \/usr\/bin<\/p>\n<p>$ sudo rm g++ cpp<\/p>\n<p>$ sudo ln -s g++-6 g++<\/p>\n<p>$ sudo ln -s cpp-6 cpp<\/p>\n<p>\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>OpenCV\u306f\u3001OpenVino\u5bfe\u5fdc\u306b\u3057\u305f\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>cmake \\<br \/>\n-DWITH_INF_ENGINE=ON \\<br \/>\n-DENABLE_CXX11=ON \\<\/p>\n<p>\uff1a<\/p>\n<p>OpenVino\u4ed8\u5c5e\u306eOpenCV\u3092Python\u3067\u4f7f\u3046\u5834\u5408\u306b\u306f\u3001<\/p>\n<p>export PYTHONPATH=\/opt\/intel\/computer_vision_sdk\/python3.5\/:$PYTHONPATH<\/p>\n<p>\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Intel Neural Compute Stick 2\u304c\u3001Intel Neural Compute Stick 1\u3088\u308a\u3082\uff18\u500d\u3082\u9ad8\u901f\u5316\u3055\u308c\u305f\u3068\u306e\u3053\u3068\u3067\u3001\u8a66\u3057\u306b\u8cfc\u5165\u3057\u3066\u307f\u307e\u3057\u305f\u3002Mac\u306eVirtualBox\u306bUbuntu\u3092&#8230;<\/p>\n<p><a class=\"more\" href=\"https:\/\/research.itplants.com\/?p=2354\"> Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":2367,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts\/2354"}],"collection":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2354"}],"version-history":[{"count":19,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts\/2354\/revisions"}],"predecessor-version":[{"id":2381,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts\/2354\/revisions\/2381"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/media\/2367"}],"wp:attachment":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2354"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2354"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}