<?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 OpenVINO using YoloV8 Object Detection model in .Net Core in Intel® Distribution of OpenVINO™ Toolkit</title>
    <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/OpenVINO-using-YoloV8-Object-Detection-model-in-Net-Core/m-p/1485717#M29413</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Do you have any links and code to learn on how to use OpenVINO with an Ultralytics YoloV8 Object Detection model on an ASP.Net Core UWP?&lt;/P&gt;&lt;P&gt;I asked OpenAI ChatGPT and &lt;EM&gt;strangely&lt;/EM&gt;, it said to first of all, use Nuget Package Manager to install these packages:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Intel.OpenVINO.IE.Core
Intel.OpenVINO.IE.DebuggerVisualizers&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I &lt;EM&gt;cannot&lt;/EM&gt; find these packages anywhere.&lt;/P&gt;&lt;P&gt;ChatGPT then provided the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;var ie = new IECore();
var network = ie.ReadNetwork("&amp;lt;path-to-converted-model.xml&amp;gt;", "&amp;lt;path-to-converted-model.bin&amp;gt;");
var execNet = ie.LoadNetwork(network, "CPU");
var frame = new Mat();

while (videoCapture.Read(frame))
{
   var resizedFrame = new Mat();
   Cv2.Resize(frame, resizedFrame, new Size(416, 416));

   var inputData = new float[1, 3, 416, 416];
   for (int c = 0; c &amp;lt; 3; c++)
   {
      for (int h = 0; h &amp;lt; 416; h++)
      {
         for (int w = 0; w &amp;lt; 416; w++)
         {
            inputData[0, c, h, w] = resizedFrame.Data[h, w, c] / 255f;
         }
      }
   }

   var inferRequest = execNet.CreateInferRequest();
   inferRequest.SetBlob(network.Inputs.First().Key, inputData);
   inferRequest.Infer();
   var outputData = inferRequest.GetBlob(network.Outputs.First().Key).GetData&amp;lt;float&amp;gt;();

   // Post-process output data
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course, I am unable to test this given code since I am unable to install the suggested packages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know how to implement OpenVINO with an Ultralytics YoloV8 Object Detetion model in an ASP.Net Core (C#) UWP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 May 2023 16:21:52 GMT</pubDate>
    <dc:creator>RGVGreatCoder</dc:creator>
    <dc:date>2023-05-12T16:21:52Z</dc:date>
    <item>
      <title>OpenVINO using YoloV8 Object Detection model in .Net Core</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/OpenVINO-using-YoloV8-Object-Detection-model-in-Net-Core/m-p/1485717#M29413</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Do you have any links and code to learn on how to use OpenVINO with an Ultralytics YoloV8 Object Detection model on an ASP.Net Core UWP?&lt;/P&gt;&lt;P&gt;I asked OpenAI ChatGPT and &lt;EM&gt;strangely&lt;/EM&gt;, it said to first of all, use Nuget Package Manager to install these packages:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Intel.OpenVINO.IE.Core
Intel.OpenVINO.IE.DebuggerVisualizers&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I &lt;EM&gt;cannot&lt;/EM&gt; find these packages anywhere.&lt;/P&gt;&lt;P&gt;ChatGPT then provided the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;var ie = new IECore();
var network = ie.ReadNetwork("&amp;lt;path-to-converted-model.xml&amp;gt;", "&amp;lt;path-to-converted-model.bin&amp;gt;");
var execNet = ie.LoadNetwork(network, "CPU");
var frame = new Mat();

while (videoCapture.Read(frame))
{
   var resizedFrame = new Mat();
   Cv2.Resize(frame, resizedFrame, new Size(416, 416));

   var inputData = new float[1, 3, 416, 416];
   for (int c = 0; c &amp;lt; 3; c++)
   {
      for (int h = 0; h &amp;lt; 416; h++)
      {
         for (int w = 0; w &amp;lt; 416; w++)
         {
            inputData[0, c, h, w] = resizedFrame.Data[h, w, c] / 255f;
         }
      }
   }

   var inferRequest = execNet.CreateInferRequest();
   inferRequest.SetBlob(network.Inputs.First().Key, inputData);
   inferRequest.Infer();
   var outputData = inferRequest.GetBlob(network.Outputs.First().Key).GetData&amp;lt;float&amp;gt;();

   // Post-process output data
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course, I am unable to test this given code since I am unable to install the suggested packages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know how to implement OpenVINO with an Ultralytics YoloV8 Object Detetion model in an ASP.Net Core (C#) UWP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 16:21:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/OpenVINO-using-YoloV8-Object-Detection-model-in-Net-Core/m-p/1485717#M29413</guid>
      <dc:creator>RGVGreatCoder</dc:creator>
      <dc:date>2023-05-12T16:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVINO using YoloV8 Object Detection model in .Net Core</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/OpenVINO-using-YoloV8-Object-Detection-model-in-Net-Core/m-p/1486148#M29419</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;OpenVINO does support YoloV8 model but &lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;ASP.Net Core UWP.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It is recommended to use Python with YoloV8 in OpenVINO.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You may refer &lt;A href="https://docs.openvino.ai/latest/notebooks/230-yolov8-optimization-with-output.html" target="_self"&gt;here&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Cordially,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Iffa&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 07:27:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/OpenVINO-using-YoloV8-Object-Detection-model-in-Net-Core/m-p/1486148#M29419</guid>
      <dc:creator>Iffa_Intel</dc:creator>
      <dc:date>2023-05-15T07:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVINO using YoloV8 Object Detection model in .Net Core</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/OpenVINO-using-YoloV8-Object-Detection-model-in-Net-Core/m-p/1486248#M29421</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I understand it is recommended to use Python with YoloV8 in OpenVINO. I tried it and it works. In fact, I have a separate project in Python using it and works like a charm. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thing is, I have a large .net core, data driven project that needs to run on a low edge device with an Intel CPU and UHD Graphics 620 that will do &lt;STRONG&gt;real-time&lt;/STRONG&gt; object detection. I have achieved this using Windows.AI.MachineLearning and an onnx model created in customvision.ai online tool. However, it processes around 14 FPS and I need at least 28 FPS. The Python project can process up to 38 FPS in the same device. But again, I need to use OpenVINO in this separate .net core program.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Why did&amp;nbsp;&lt;SPAN class=""&gt;OpenAI ChatGPT asked me to use&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;Nuget Package Manager to install the two packages I mentioned on my original post? And, why did it even provided me with sample code? Did ChatGPT provided me 100% fake content or is there still a way to use it in a .net core application?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 14:59:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/OpenVINO-using-YoloV8-Object-Detection-model-in-Net-Core/m-p/1486248#M29421</guid>
      <dc:creator>RGVGreatCoder</dc:creator>
      <dc:date>2023-05-15T14:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVINO using YoloV8 Object Detection model in .Net Core</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/OpenVINO-using-YoloV8-Object-Detection-model-in-Net-Core/m-p/1486422#M29422</link>
      <description>&lt;P&gt;We are not sure of what the ChatGPT algorithm running in the background that causing it to suggest that to you.&lt;/P&gt;
&lt;P&gt;Officially, OpenVINO does&lt;STRONG&gt; not provide support&lt;/STRONG&gt; for .NET as of now.&lt;/P&gt;
&lt;P&gt;The code that you share which you claim to be suggested by ChatGPT is&lt;STRONG&gt; in Python programming language.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Generally, the Nuget package manager is just a tool to pack and distribute .NET software.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.openvino.ai/latest/api/ie_python_api/_autosummary/openvino.inference_engine.IECore.html" target="_self"&gt;IECore&lt;/A&gt; is a part of &lt;A href="https://docs.openvino.ai/latest/api/api_reference.html" target="_self"&gt;OpenVINO API&lt;/A&gt; libraries and in this case, it seems that the ChatGPT is instructing you to handle those libraries using Nuget Package Manager.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps these are suggested by the ChatGPT algorithm since Visual Studio is a prerequisite by OpenVINO and .NET is involved and that result is closely related to what you were asking it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your possible workaround is to design and create a wrapper to make interoperability between your .NET apps and OpenVINO, but again, bear in mind that officially, .NET is not officially supported and therefore, issues are expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cordially,&lt;/P&gt;
&lt;P&gt;Iffa&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, 16 May 2023 00:49:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/OpenVINO-using-YoloV8-Object-Detection-model-in-Net-Core/m-p/1486422#M29422</guid>
      <dc:creator>Iffa_Intel</dc:creator>
      <dc:date>2023-05-16T00:49:55Z</dc:date>
    </item>
    <item>
      <title>Re:OpenVINO using YoloV8 Object Detection model in .Net Core</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/OpenVINO-using-YoloV8-Object-Detection-model-in-Net-Core/m-p/1488694#M29469</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;Intel will no longer monitor this thread since we have provided a solution.&amp;nbsp;If you need any additional information from Intel, please submit a new question.&amp;nbsp;&lt;/SPAN&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;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;Cordially,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;Iffa&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 May 2023 06:07:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/OpenVINO-using-YoloV8-Object-Detection-model-in-Net-Core/m-p/1488694#M29469</guid>
      <dc:creator>Iffa_Intel</dc:creator>
      <dc:date>2023-05-23T06:07:46Z</dc:date>
    </item>
  </channel>
</rss>

