<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re:OpenCV - Caffe - Object Detection - i3 NUC(8th ... in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCV-Caffe-Object-Detection-i3-NUC-8th-Gen-High-CPU-Util/m-p/1191146#M6786</link>
    <description>&lt;P&gt;Hi Mounagurusamy__Guruv,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reaching out. Based on your issue description the problem seems to rely on "&lt;I&gt;Case 1: OpenCV - Caffe - Object Detection - i3 NUC(8th Gen) - High CPU Util&lt;/I&gt;", as your &lt;I&gt;Case 2 &lt;/I&gt;with OpenVINO™ Toolkit seems to be working fine. Is my understanding correct? If so, I may have to redirect this thread to OpenCL* forum where you will receive guidance.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Based on the clinfo details "no supported GPU found, this is probably the wrong opencl-icd package for this hardware" it looks like is not detecting a GPU supported by opencl-icd, and its falling back to CPU. Do you have any additional details about the i3 NUC(8th Gen) NUC/processor? SKU number, for example&lt;I&gt; NUC8i3BEH&lt;/I&gt; or &lt;I&gt;Intel&lt;/I&gt;® Core™&lt;I&gt; i3 8109U processor&lt;/I&gt;. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 10 Jul 2020 00:11:23 GMT</pubDate>
    <dc:creator>Luis_at_Intel</dc:creator>
    <dc:date>2020-07-10T00:11:23Z</dc:date>
    <item>
      <title>OpenCV - Caffe - Object Detection - i3 NUC(8th Gen) - High CPU Util</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCV-Caffe-Object-Detection-i3-NUC-8th-Gen-High-CPU-Util/m-p/1190189#M6785</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Case 1: OpenCV - Caffe - Object Detection - i3 NUC(8th Gen) - High CPU Util&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;I am building an object detection solution using CCTV Cameras, using intel i3 NUC(8th Gen).&lt;/P&gt;
&lt;P&gt;I have installed the following libraries: &lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-parallel-studio-xe-runtime-by-version.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-parallel-studio-xe-runtime-by-version.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Also, I have installed Intel Neo OpenCL and I am calling the following to execute using OpenCL:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt; net.setPreferableBackend(cv.dnn.DNN_BACKEND_OPENCV)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;net.setPreferableTarget(cv.dnn.DNN_TARGET_OPENCL)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;But, I encounter the following warning while executing the code(with 76% CPU util for one CCTV Camera)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;[ WARN:0] global /io/opencv/modules/dnn/src/dnn.cpp (1218) setUpNet DNN: OpenCL target is not supported with current OpenCL device (tested with GPUs only), switching to CPU.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have also installed Beignet OpenCL&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;clinfo Details:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ioz@ioz-NUC8i3BEH:~/Desktop/CodeWrks/cam01$ clinfo&lt;BR /&gt;Number of platforms 1&lt;BR /&gt;Platform Name Intel Gen OCL Driver&lt;BR /&gt;Platform Vendor Intel&lt;BR /&gt;Platform Version OpenCL 2.0 beignet 1.3&lt;BR /&gt;Platform Profile FULL_PROFILE&lt;BR /&gt;Platform Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_subgroups cl_intel_subgroups_short cl_khr_gl_sharing&lt;BR /&gt;Platform Extensions function suffix Intel&lt;BR /&gt;beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware&lt;BR /&gt;(If you have multiple ICDs installed and OpenCL works, you can ignore this message)&lt;/P&gt;
&lt;P&gt;Platform Name Intel Gen OCL Driver&lt;BR /&gt;Number of devices 0&lt;/P&gt;
&lt;P&gt;NULL platform behavior&lt;BR /&gt;clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Intel Gen OCL Driver&lt;BR /&gt;beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware&lt;BR /&gt;(If you have multiple ICDs installed and OpenCL works, you can ignore this message)&lt;BR /&gt;clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Intel Gen OCL Driver&lt;BR /&gt;clCreateContext(NULL, ...) [default] No devices found in platform&lt;BR /&gt;beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware&lt;BR /&gt;(If you have multiple ICDs installed and OpenCL works, you can ignore this message)&lt;BR /&gt;clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No devices found in platform&lt;BR /&gt;clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform&lt;BR /&gt;beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware&lt;BR /&gt;(If you have multiple ICDs installed and OpenCL works, you can ignore this message)&lt;BR /&gt;clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform&lt;BR /&gt;clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform&lt;BR /&gt;clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform&lt;BR /&gt;beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware&lt;BR /&gt;(If you have multiple ICDs installed and OpenCL works, you can ignore this message)&lt;BR /&gt;clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No devices found in platform&lt;/P&gt;
&lt;P&gt;ICD loader properties&lt;BR /&gt;ICD loader Name OpenCL ICD Loader&lt;BR /&gt;ICD loader Vendor OCL Icd free software&lt;BR /&gt;ICD loader Version 2.2.11&lt;BR /&gt;ICD loader Profile OpenCL 2.1&lt;/P&gt;
&lt;P&gt;Can you please help me understand, why do I encounter high CPU despite using intel OpenCL, Do i need to do anything else to bring the CPU Util low?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Case 2: OpenCV-Caffe - Object Detection using CCTV Camera - GNA Plugin - Intel Pentium Silver Processor&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;On contrary to the above mentioned case, I was able to execute the object detection code for five CCTV cameras in Intel Pentium Silver(with GNA Plugin installed) and Average CPU util for five cameras is 60%&lt;/P&gt;
&lt;P&gt;I have also installed Beignet OpenCL&lt;/P&gt;
&lt;P&gt;Is GNA Plugin makes the difference in CPU utilisation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note: I am not using the OpenVINO object detection code in both the systems&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Can you please help me resolve this issue.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Guru&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 09:54:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCV-Caffe-Object-Detection-i3-NUC-8th-Gen-High-CPU-Util/m-p/1190189#M6785</guid>
      <dc:creator>Mounagurusamy__Guruv</dc:creator>
      <dc:date>2020-07-07T09:54:06Z</dc:date>
    </item>
    <item>
      <title>Re:OpenCV - Caffe - Object Detection - i3 NUC(8th ...</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCV-Caffe-Object-Detection-i3-NUC-8th-Gen-High-CPU-Util/m-p/1191146#M6786</link>
      <description>&lt;P&gt;Hi Mounagurusamy__Guruv,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reaching out. Based on your issue description the problem seems to rely on "&lt;I&gt;Case 1: OpenCV - Caffe - Object Detection - i3 NUC(8th Gen) - High CPU Util&lt;/I&gt;", as your &lt;I&gt;Case 2 &lt;/I&gt;with OpenVINO™ Toolkit seems to be working fine. Is my understanding correct? If so, I may have to redirect this thread to OpenCL* forum where you will receive guidance.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Based on the clinfo details "no supported GPU found, this is probably the wrong opencl-icd package for this hardware" it looks like is not detecting a GPU supported by opencl-icd, and its falling back to CPU. Do you have any additional details about the i3 NUC(8th Gen) NUC/processor? SKU number, for example&lt;I&gt; NUC8i3BEH&lt;/I&gt; or &lt;I&gt;Intel&lt;/I&gt;® Core™&lt;I&gt; i3 8109U processor&lt;/I&gt;. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jul 2020 00:11:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCV-Caffe-Object-Detection-i3-NUC-8th-Gen-High-CPU-Util/m-p/1191146#M6786</guid>
      <dc:creator>Luis_at_Intel</dc:creator>
      <dc:date>2020-07-10T00:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re:OpenCV - Caffe - Object Detection - i3 NUC(8th ...</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCV-Caffe-Object-Detection-i3-NUC-8th-Gen-High-CPU-Util/m-p/1191177#M6787</link>
      <description>Hi Luis,&lt;BR /&gt;&lt;BR /&gt;1) For Case 2 - It's the Intel Silver Pentium J5005 processor and I have installed the OpenVINO GNA plugin, but I am not explicitly using OpenVINO for Code execution (I am using Caffe Object Detection in Python) - &lt;A href="https://www.pyimagesearch.com/2017/09/18/real-time-object-detection-with-deep-learning-and-opencv/" target="_blank"&gt;https://www.pyimagesearch.com/2017/09/18/real-time-object-detection-with-deep-learning-and-opencv/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But I have added the code to call Open CL (Beignet).&lt;BR /&gt;&lt;BR /&gt;For Case 1 - I followed the same as Case 2, but GNA plugin couldn't be installed, but I have installed Beignet / Intel Neo.&lt;BR /&gt;&lt;BR /&gt;Looks like both didn't work.&lt;BR /&gt;&lt;BR /&gt;NUC Details - NUC8i3BEH, Intel® Core™ i3 8109U processor.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Guru&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jul 2020 02:28:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCV-Caffe-Object-Detection-i3-NUC-8th-Gen-High-CPU-Util/m-p/1191177#M6787</guid>
      <dc:creator>Mounagurusamy__Guruv</dc:creator>
      <dc:date>2020-07-10T02:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re:OpenCV - Caffe - Object Detection - i3 NUC(8th ...</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCV-Caffe-Object-Detection-i3-NUC-8th-Gen-High-CPU-Util/m-p/1191713#M6788</link>
      <description>Hi intel team,&lt;BR /&gt;&lt;BR /&gt;Can you please let me know, if GNA Plugin is the reason for the performance optimization in J5005 Pentium Silver processor?, I am not using OpenVINO Models or Code.&lt;BR /&gt;&lt;BR /&gt;I am using the following code, cv.dnn.DNN_TARGET_OPENCL or cv.dnn.DNN_TARGET_CPU&lt;BR /&gt;&lt;BR /&gt;I am using the following Code:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.pyimagesearch.com/2017/09/18/real-time-object-detection-with-deep-learning-and-opencv/" target="_blank"&gt;https://www.pyimagesearch.com/2017/09/18/real-time-object-detection-with-deep-learning-and-opencv/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I am running the above code for five CCTV cameras, CPU Util is approx 60% on J5005 Pentium Silver.&lt;BR /&gt;&lt;BR /&gt;If GNA Plugin Driver is the reason for the CPU performance optimization, Can you please confirm?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Guru&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 12 Jul 2020 08:17:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCV-Caffe-Object-Detection-i3-NUC-8th-Gen-High-CPU-Util/m-p/1191713#M6788</guid>
      <dc:creator>Mounagurusamy__Guruv</dc:creator>
      <dc:date>2020-07-12T08:17:13Z</dc:date>
    </item>
  </channel>
</rss>

