{"id":298368,"date":"2020-02-07T15:00:24","date_gmt":"2020-02-07T15:00:24","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=298368"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=298368","title":{"rendered":"GoLang \u0438 OpenCV (OpenVino &amp;&amp; Cuda)"},"content":{"rendered":"\n<div class=\"post__text post__text-html\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/487404\/\">\u0412\u0441\u0435\u043c \u0434\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a. \u041d\u0430 \u0445\u0430\u0431\u0440\u0435 (<s>\u0434\u0430 \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435<\/s>) \u0443\u0436\u0435 \u043d\u0435 \u043c\u0430\u043b\u043e \u0441\u0442\u0430\u0442\u0435\u0439 \u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 OpenCV \u043d\u0430 Go.<br \/>  \u0413\u043e\u0442\u043e\u0432\u044b\u0439 \u043a\u043e\u0434 \u2014 \u044d\u0442\u043e \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0430 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u043e \u043a\u0443\u0441\u043e\u0447\u043a\u0430\u043c \u2014 \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0432\u0441\u0435 \u043d\u0443\u0436\u043d\u044b\u0435 \u0442\u0435\u043b\u043e\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f \u0432 \u043e\u0434\u043d\u0443 \u0441\u0442\u0430\u0442\u044c\u044e.  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/z-\/uj\/zu\/z-ujzuzpgggc2qcc7viu48j3m5m.jpeg\" alt=\"image\"><\/div>\n<p>  \u0423 \u043c\u0435\u043d\u044f \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u043d\u043e\u0443\u0442\u0431\u0443\u043a \u0441 Ubuntu 18.04 \u043d\u0430 \u0431\u043e\u0440\u0442\u0443,   <\/p>\n<ul>\n<li>CPU: intel<\/li>\n<li>GPU: Intel\/Nvidia<\/li>\n<\/ul>\n<p>  Nvidia \u0438 Intel \u043f\u044b\u0442\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u0435\u0432\u0437\u043e\u0439\u0442\u0438 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430, \u0430 \u044f \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 OpenVino \u0438 Cuda.  <\/p>\n<blockquote><p><b>\u0421\u0440\u0430\u0437\u0443 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0430\u044e, \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f Cuda \u043d\u0443\u0436\u043d\u043e \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e Compute capability (version) 5.3, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u043b\u044f \u0441\u0432\u043e\u0435\u0439 \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u044b \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/developer.nvidia.com\/cuda-gpus\" rel=\"nofollow\">\u0442\u0443\u0442<\/a><\/b><\/p><\/blockquote>\n<p>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>Cuda<\/h2>\n<p>  \u042f \u0432\u044b\u0431\u0440\u0430\u043b Cuda 10.0, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0435\u0449\u0435 \u0438 Tensorflow \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c.<br \/>  \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u0430\u043a\u0435\u0442 \u0441 <a href=\"https:\/\/developer.nvidia.com\/cuda-10.0-download-archive\" rel=\"nofollow\">developer.nvidia.com<\/a> (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <b>runtime (local)<\/b>)<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/78\/hc\/51\/78hc51uykiha2ovhpfpfm0vfvgo.png\" alt=\"image\"><br \/>  \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 <\/p>\n<pre><code class=\"bash\">sudo sh cuda_10.0.130_410.48_linux.run<\/code><\/pre>\n<h2>cudNN<\/h2>\n<p>  <a href=\"https:\/\/developer.nvidia.com\/rdp\/cudnn-archive\" rel=\"nofollow\">\u0421\u0441\u044b\u043b\u043a\u0430<\/a> \u043d\u0430 \u043f\u0430\u043a\u0435\u0442\u044b<br \/>  \u041d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0435\u0440\u0441\u0438\u044e, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e Cuda, \u0442\u043e \u0435\u0441\u0442\u044c  <\/p>\n<blockquote><p>Download cuDNN v7.5.0 (Feb 21, 2019), for CUDA 10.0<\/p><\/blockquote>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/k3\/0t\/i1\/k30ti1ucoaor8mcfzb02noj5sco.png\" alt=\"image\"><br \/>  \u0418 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0434\u0432\u0430 deb-\u043f\u0430\u043a\u0435\u0442\u0430  <\/p>\n<blockquote><p>cuDNN Runtime Library for Ubuntu18.04 (Deb)<br \/>  cuDNN Developer Library for Ubuntu18.04 (Deb)<\/p><\/blockquote>\n<p>  \u0415\u0441\u043b\u0438 \u0443 \u0412\u0430\u0441 \u043d\u0435 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 <a href=\"https:\/\/developer.nvidia.com\/\" rel=\"nofollow\">https:\/\/developer.nvidia.com\/<\/a>, \u0412\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0430\u0442 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/qm\/20\/v0\/qm20v0zmanm4fz9m-mibphmnlvs.png\" alt=\"image\"><\/p>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430:  <\/p>\n<pre><code class=\"bash\">sudo dpkg -i libcudnn7-dev_7.5.0.56-1+cuda10.0_amd64.deb sudo dpkg -i libcudnn7_7.5.0.56-1+cuda10.0_amd64.deb<\/code><\/pre>\n<h2>Intel OpenCL Driver<br \/>  <\/h2>\n<p><a href=\"https:\/\/github.com\/intel\/compute-runtime\/releases\/\" rel=\"nofollow\">\u0421\u0441\u044b\u043b\u043a\u0430<\/a> \u043d\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439<br \/>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430:  <\/p>\n<pre><code class=\"bash\">wget https:\/\/github.com\/intel\/compute-runtime\/releases\/download\/20.04.15428\/intel-gmmlib_19.4.1_amd64.deb wget https:\/\/github.com\/intel\/compute-runtime\/releases\/download\/20.04.15428\/intel-igc-core_1.0.3151_amd64.deb wget https:\/\/github.com\/intel\/compute-runtime\/releases\/download\/20.04.15428\/intel-igc-opencl_1.0.3151_amd64.deb wget https:\/\/github.com\/intel\/compute-runtime\/releases\/download\/20.04.15428\/intel-opencl_20.04.15428_amd64.deb wget https:\/\/github.com\/intel\/compute-runtime\/releases\/download\/20.04.15428\/intel-ocloc_20.04.15428_amd64.deb  sudo dpkg -i *.deb<\/code><\/pre>\n<p>  <b>Opencv+OpenVino<\/b><br \/>  C\u043a\u0440\u0438\u043f\u0442 (\u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441 \u043a\u043e\u0441\u0442\u044b\u043b\u044f\u043c\u0438), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0431\u0435\u0440\u0435\u0442 \u0432\u0441\u0435 \u0441\u0430\u043c.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">run.sh<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">#!\/bin\/bash git clone https:\/\/github.com\/opencv\/dldt &amp;&amp; \\             (cd dldt\/inference-engine &amp;&amp; \\             git submodule init &amp;&amp; \\             git submodule update --recursive &amp;&amp; \\             .\/install_dependencies.sh &amp;&amp; \\             mv -f thirdparty\/clDNN\/common\/intel_ocl_icd\/6.3\/linux\/Release thirdparty\/clDNN\/common\/intel_ocl_icd\/6.3\/linux\/RELEASE &amp;&amp; \\             mkdir -p build &amp;&amp; \\             cd build &amp;&amp; \\             cmake -D CMAKE_BUILD_TYPE=RELEASE \\                   -D CMAKE_INSTALL_PREFIX=\/usr\/local \\                   -D BUILD_SHARED_LIBS=ON \\                   -D ENABLE_TESTS=OFF \\                   -D ENABLE_VPU=ON \\                   -D ENABLE_MKL_DNN=ON \\                   -D ENABLE_CLDNN=ON .. &amp;&amp; \\                   make -j $(nproc --all) &amp;&amp; \\                   touch VERSION &amp;&amp; \\                   mkdir -p src\/ngraph &amp;&amp; \\                   sudo cp -r ..\/bin\/intel64\/RELEASE\/lib\/* \/usr\/local\/lib &amp;&amp; \\                   cp thirdparty\/ngraph\/src\/ngraph\/version.hpp src\/ngraph &amp;&amp; \\                   sudo make install)  OPENCV_VERSION=&quot;4.2.0&quot;  # install opencv curl -Lo opencv.zip https:\/\/github.com\/opencv\/opencv\/archive\/${OPENCV_VERSION}.zip &amp;&amp; \\             unzip -q opencv.zip &amp;&amp; \\             curl -Lo opencv_contrib.zip https:\/\/github.com\/opencv\/opencv_contrib\/archive\/${OPENCV_VERSION}.zip &amp;&amp; \\             unzip -q opencv_contrib.zip &amp;&amp; \\             rm opencv.zip opencv_contrib.zip &amp;&amp; \\             (cd opencv-${OPENCV_VERSION} &amp;&amp; \\             mkdir build &amp;&amp; cd build &amp;&amp; \\             cmake -D CMAKE_BUILD_TYPE=RELEASE \\                   -D CMAKE_INSTALL_PREFIX=\/usr\/local \\                   -D OPENCV_EXTRA_MODULES_PATH=..\/..\/opencv_contrib-${OPENCV_VERSION}\/modules \\                   -D InferenceEngine_DIR=..\/..\/..\/dldt\/inference-engine\/build \\                   -D WITH_JASPER=OFF \\                   -D BUILD_DOCS=OFF \\                   -D BUILD_EXAMPLES=OFF \\                   -D ENABLE_CXX11=ON \\                   -D WITH_INF_ENGINE=ON \\                   -D WITH_QT=OFF \\                   -D WITH_GTK=ON \\                   -D WITH_FFMPEG=OFF \\                   -D WITH_TIFF=OFF \\                   -D WITH_WEBP=OFF \\                   -D WITH_QT=OFF \\                   -D WITH_PNG=OFF \\                   -D WITH_1394=OFF \\                   -D HAVE_OPENEXR=OFF \\                   -D BUILD_TESTS=OFF \\                   -D BUILD_PERF_TESTS=OFF \\                   -D BUILD_opencv_java=NO \\                   -D BUILD_opencv_python=NO \\                   -D BUILD_opencv_python2=NO \\                   -D BUILD_opencv_python3=NO \\                   -D BUILD_SHARED_LIBS=no \\                   -D OPENCV_GENERATE_PKGCONFIG=ON .. &amp;&amp; \\             make -j $(nproc --all) &amp;&amp; \\             sudo make preinstall &amp;&amp; sudo make install &amp;&amp; sudo ldconfig ) <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c, \u043a\u0430\u043a \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u044d\u0442\u043e \u0432\u0441\u0435!<br \/>  \u041a\u043b\u043e\u043d\u0438\u0440\u0443\u0435\u043c \u0441\u0435\u0431\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434  <\/p>\n<pre><code class=\"bash\">git clone https:\/\/github.com\/Danile71\/go_realtime_object_recognition cd go_realtime_object_recognition go get -d go build .\/go_realtime_object_recognition <\/code><\/pre>\n<p>  \u0412\u0438\u0434\u0435\u043e\u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430 CPU,VulkanAPI \u0438\/\u0438\u043b\u0438 Cuda.<\/p>\n<p>  \u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e pull request&#8217;\u043e\u0432 \u0432  <\/p>\n<blockquote><p><a href=\"https:\/\/github.com\/hybridgroup\/gocv\" rel=\"nofollow\">github.com\/hybridgroup\/gocv<\/a><\/p><\/blockquote>\n<p>  \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 OpenVino+Cuda, \u043d\u043e \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0438\u0434\u0442\u0438 \u0434\u043e master \u0432\u0435\u0442\u043a\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0445\u0438\u0442\u0440\u043e\u0441\u0442\u044c<\/p>\n<pre><code class=\"bash\">#!\/bin\/bash cd $GOPATH\/src\/gocv.io\/x\/gocv wget https:\/\/patch-diff.githubusercontent.com\/raw\/hybridgroup\/gocv\/pull\/607.patch wget https:\/\/patch-diff.githubusercontent.com\/raw\/hybridgroup\/gocv\/pull\/609.patch wget https:\/\/patch-diff.githubusercontent.com\/raw\/hybridgroup\/gocv\/pull\/610.patch wget https:\/\/patch-diff.githubusercontent.com\/raw\/hybridgroup\/gocv\/pull\/612.patch  patch -p1 &lt; 607.patch patch -p1 &lt; 609.patch patch -p1 &lt; 610.patch patch -p1 &lt; 612.patch<\/code><\/pre>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c OpenVino\/CPU\/VulkanAPI\/Cuda \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e  <\/p>\n<pre><code class=\"bash\">go build -tags openvino .\/go_realtime_object_recognition<\/code><\/pre>\n<p>  \u0410 \u0434\u043b\u044f \u0432\u044b\u0431\u043e\u0440\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u043c\u0435\u043d\u044f\u0435\u043c<\/p>\n<ul>\n<li><b>CPU<\/b><br \/> \n<pre><code class=\"go\">modelNet.SetPreferableBackend(gocv.NetBackendDefault) modelNet.SetPreferableTarget(gocv.NetTargetCPU) <\/code><\/pre>\n<p>   <\/li>\n<li><b>VulkanAPI<\/b><br \/> \n<pre><code class=\"go\">modelNet.SetPreferableBackend(gocv.NetBackendVKCOM) modelNet.SetPreferableTarget(gocv.NetTargetVulkan) <\/code><\/pre>\n<p>  <\/li>\n<li><b>Cuda<\/b><br \/> \n<pre><code class=\"go\">modelNet.SetPreferableBackend(gocv.NetBackendCUDA) modelNet.SetPreferableTarget(gocv.NetTargetCUDA) <\/code><\/pre>\n<p>  <\/li>\n<li><b>Intel GPU<\/b><br \/> \n<pre><code class=\"go\">modelNet.SetPreferableBackend(gocv.NetBackendOpenVINO) modelNet.SetPreferableTarget(gocv.NetTargetFP16) <\/code><\/pre>\n<p>  <\/li>\n<li><b>Intel Neural Compute Stick 2<\/b><br \/> \n<pre><code class=\"go\">modelNet.SetPreferableBackend(gocv.NetBackendOpenVINO) modelNet.SetPreferableTarget(gocv.NetTargetVPU) <\/code><\/pre>\n<p>  <\/li>\n<\/ul>\n<p>  \u0412\u043e\u0442 <a href=\"https:\/\/github.com\/Danile71\/gocv_age_gender_emotion\" rel=\"nofollow\">\u0435\u0449\u0435<\/a> \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440, \u0441 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u043e\u043b\u0430\/\u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\/\u044d\u043c\u043e\u0446\u0438\u0439.<\/p>\n<p>  \u0410 <a href=\"https:\/\/github.com\/Danile71\/gocv_cuda_people_detector\" rel=\"nofollow\">\u0442\u0443\u0442<\/a> \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u00ab\u0447\u0435\u043b\u043e\u0432\u0435\u043a\u00bb \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c Cuda<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0443 \u043a\u043e\u043c\u0443 \u044d\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0438 \u0447\u0442\u043e-\u043b\u0438\u0431\u043e \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c, \u043f\u0438\u0448\u0438\u0442\u0435, \u0441 \u0440\u0430\u0434\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u043c\u043e\u0433\u0443)<br \/>  \u0427\u0443\u043a\u0447\u0430 \u043d\u0435 \u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c, \u043e\u0434\u043d\u0430\u043a\u043e \u043d\u043e \u044f \u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f.<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/487404\/\"> https:\/\/habr.com\/ru\/post\/487404\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/487404\/\">\u0412\u0441\u0435\u043c \u0434\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a. \u041d\u0430 \u0445\u0430\u0431\u0440\u0435 (<s>\u0434\u0430 \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435<\/s>) \u0443\u0436\u0435 \u043d\u0435 \u043c\u0430\u043b\u043e \u0441\u0442\u0430\u0442\u0435\u0439 \u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 OpenCV \u043d\u0430 Go.<br \/>  \u0413\u043e\u0442\u043e\u0432\u044b\u0439 \u043a\u043e\u0434 \u2014 \u044d\u0442\u043e \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0430 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u043e \u043a\u0443\u0441\u043e\u0447\u043a\u0430\u043c \u2014 \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0432\u0441\u0435 \u043d\u0443\u0436\u043d\u044b\u0435 \u0442\u0435\u043b\u043e\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f \u0432 \u043e\u0434\u043d\u0443 \u0441\u0442\u0430\u0442\u044c\u044e.  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/z-\/uj\/zu\/z-ujzuzpgggc2qcc7viu48j3m5m.jpeg\" alt=\"image\"><\/div>\n<p>  \u0423 \u043c\u0435\u043d\u044f \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u043d\u043e\u0443\u0442\u0431\u0443\u043a \u0441 Ubuntu 18.04 \u043d\u0430 \u0431\u043e\u0440\u0442\u0443,   <\/p>\n<ul>\n<li>CPU: intel<\/li>\n<li>GPU: Intel\/Nvidia<\/li>\n<\/ul>\n<p>  Nvidia \u0438 Intel \u043f\u044b\u0442\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u0435\u0432\u0437\u043e\u0439\u0442\u0438 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430, \u0430 \u044f \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 OpenVino \u0438 Cuda.  <\/p>\n<blockquote><p><b>\u0421\u0440\u0430\u0437\u0443 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0430\u044e, \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f Cuda \u043d\u0443\u0436\u043d\u043e \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e Compute capability (version) 5.3, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u043b\u044f \u0441\u0432\u043e\u0435\u0439 \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u044b \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/developer.nvidia.com\/cuda-gpus\" rel=\"nofollow\">\u0442\u0443\u0442<\/a><\/b><\/p><\/blockquote>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-298368","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/298368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=298368"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/298368\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=298368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=298368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=298368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}