<?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:What is the expected fps for text ocr sample? in Intel® Distribution of OpenVINO™ Toolkit</title>
    <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1268621#M23286</link>
    <description>&lt;P&gt;Hi shimondoodkin &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 29 Mar 2021 03:58:59 GMT</pubDate>
    <dc:creator>Hari_B_Intel</dc:creator>
    <dc:date>2021-03-29T03:58:59Z</dc:date>
    <item>
      <title>What is the expected fps for text ocr sample?</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1262854#M23067</link>
      <description>I have Intel I7 10 gen u. CPU.&lt;BR /&gt;&lt;BR /&gt;In cpu device mode&lt;BR /&gt;I am getting 1 fps with my intel i7  u 10  cpu.&lt;BR /&gt; on 1080 x1920 images.&lt;BR /&gt;&lt;BR /&gt;It feels very slow&lt;BR /&gt;And in gpu device mode the loading of the model takes 5 minutes.&lt;BR /&gt;&lt;BR /&gt;And one inference takes 7000ms&lt;BR /&gt;&lt;BR /&gt;Something feels very wrong here. What am i doing wrong?&lt;BR /&gt;&lt;BR /&gt;Or is this performance is expected?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Mar 2021 21:36:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1262854#M23067</guid>
      <dc:creator>shimondoodkin</dc:creator>
      <dc:date>2021-03-09T21:36:10Z</dc:date>
    </item>
    <item>
      <title>Re:What is the expected fps for text ocr sample?</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1263053#M23074</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Hi Shimon,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Greetings to you. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;You’re doing well. I also observe the same performance issues with CPU and GPU. Thanks for pointing out these issues. We will report them to our development team and get back to you if there are any updates.&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-size: 16px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Peh&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Mar 2021 12:33:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1263053#M23074</guid>
      <dc:creator>Peh_Intel</dc:creator>
      <dc:date>2021-03-10T12:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re:What is the expected fps for text ocr sample?</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1263233#M23081</link>
      <description>&lt;P&gt;I found out that the reason why LoadNetwork takes a huge unrealistic amount of time 5 - 20 minutes.&lt;BR /&gt;is because the method compiles the OpenCL kernels on the fly.&amp;nbsp;&lt;BR /&gt;The solution was to create a folder "cl_cache" in the application directory&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/intel/compute-runtime/blob/master/FAQ.md" target="_blank"&gt;https://github.com/intel/compute-runtime/blob/master/FAQ.md&lt;/A&gt;&amp;nbsp;. then in the second time, it loaded ok.&lt;/P&gt;
&lt;P&gt;it is a problem of expectations: (as I understand by the function name)&amp;nbsp; I expect when I call load network, I expect it to transfer data from disk to memory. and if it takes so much time I start to suspect that there is a bottleneck in CPU transfer. and could conclude this technology does not work.&amp;nbsp; as my customer concluded, for him it is unrealistic to wait even 3 minutes before playing a game.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so the solution is to split the function into two. compile the kernels (like making the case) into a specific folder, and the load network method with kernels. from (specified cache like ) folder or from memory struct. then the wait time would match the expectations.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 23:13:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1263233#M23081</guid>
      <dc:creator>shimondoodkin</dc:creator>
      <dc:date>2021-03-10T23:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: What is the expected fps for text ocr sample?</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1263235#M23082</link>
      <description>&lt;P&gt;my performance is like this:&lt;/P&gt;
&lt;P&gt;PS C:\Users\user\Documents\Intel\OpenVINO\omz_demos_build\intel64\Release&amp;gt; ./text_detection_demo.exe -m_td "intel\horizontal-text-detection-0001\FP16\horizontal-text-detection-0001.xml" -m_tr "intel\text-recognition-0012\FP16\text-recognition-0012.xml" -i test1.jpg -loop -d_tr "GPU" -d_td "GPU" -b 1&lt;BR /&gt;InferenceEngine: API version ......... 2.1&lt;BR /&gt;Build ........... 2021.2.0-1877-176bdf51370-releases/2021/2&lt;BR /&gt;[ INFO ] Parsing input parameters&lt;BR /&gt;[ INFO ] Loading Inference Engine&lt;BR /&gt;[ INFO ] Device info:&lt;BR /&gt;[ INFO ] GPU&lt;BR /&gt;clDNNPlugin version ......... 2.1&lt;BR /&gt;Build ........... 2021.2.0-1877-176bdf51370-releases/2021/2&lt;/P&gt;
&lt;P&gt;[ INFO ] Loading network files&lt;BR /&gt;[ INFO ] Loading network files 1&lt;BR /&gt;ReadNetwork&lt;BR /&gt;ReadNetwork is 294ms&lt;BR /&gt;change shape is 0ms&lt;BR /&gt;configure is 0ms&lt;BR /&gt;prepere output blobs is 0ms&lt;BR /&gt;LoadNetwork&lt;BR /&gt;loadnetwork is 209653ms&lt;BR /&gt;CreateInferRequest&lt;BR /&gt;create inferrequest is 17ms&lt;BR /&gt;LoadNetwork done&lt;BR /&gt;[ INFO ] Loading network files 2&lt;BR /&gt;ReadNetwork&lt;BR /&gt;ReadNetwork is 179ms&lt;BR /&gt;change shape is 0ms&lt;BR /&gt;configure is 0ms&lt;BR /&gt;prepere output blobs is 0ms&lt;BR /&gt;LoadNetwork&lt;BR /&gt;loadnetwork is 600387ms&lt;BR /&gt;CreateInferRequest&lt;BR /&gt;create inferrequest is 5ms&lt;BR /&gt;LoadNetwork done&lt;BR /&gt;[ INFO ] openImagesCapture&lt;BR /&gt;[ INFO ] Starting inference&lt;BR /&gt;To close the application, press 'CTRL+C' here or switch to the output window and press ESC or Q&lt;BR /&gt;text detection model inference (ms) (fps): 203 4.92611&lt;BR /&gt;text detection postprocessing: took no time&lt;BR /&gt;text recognition model inference (ms) (fps): 72.55 13.7836&lt;BR /&gt;text recognition postprocessing (ms) (fps): 0.932 1072.96&lt;/P&gt;
&lt;P&gt;text crop (ms) (fps): 0.48815 2048.55&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;
&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;
&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;----&lt;/P&gt;
&lt;P&gt;after caching the opencl kernels the load times are more rasonable&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;[ INFO ] Loading network files&lt;BR /&gt;[ INFO ] Loading network files 1&lt;BR /&gt;ReadNetwork&lt;BR /&gt;ReadNetwork is 381ms&lt;BR /&gt;change shape is 0ms&lt;BR /&gt;configure is 0ms&lt;BR /&gt;prepere output blobs is 0ms&lt;BR /&gt;LoadNetwork&lt;BR /&gt;loadnetwork is 4270ms&lt;BR /&gt;CreateInferRequest&lt;BR /&gt;create inferrequest is 15ms&lt;BR /&gt;LoadNetwork done&lt;BR /&gt;[ INFO ] Loading network files 2&lt;BR /&gt;ReadNetwork&lt;BR /&gt;ReadNetwork is 108ms&lt;BR /&gt;change shape is 0ms&lt;BR /&gt;configure is 0ms&lt;BR /&gt;prepere output blobs is 0ms&lt;BR /&gt;LoadNetwork&lt;BR /&gt;loadnetwork is 8671ms&lt;BR /&gt;CreateInferRequest&lt;BR /&gt;create inferrequest is 6ms&lt;BR /&gt;LoadNetwork done&lt;BR /&gt;[ INFO ] openImagesCapture&lt;BR /&gt;[ INFO ] Starting inference&lt;BR /&gt;To close the application, press 'CTRL+C' here or switch to the output window and press ESC or Q&lt;/P&gt;
&lt;P&gt;Mode: OpenCL&lt;BR /&gt;text detection model inference (ms) (fps): 153 6.53595&lt;BR /&gt;text detection postprocessing: took no time&lt;BR /&gt;text recognition model inference (ms) (fps): 84.2 11.8765&lt;BR /&gt;text recognition postprocessing (ms) (fps): 0.02635 37950.7&lt;/P&gt;
&lt;P&gt;text crop (ms) (fps): 0.1501 6662.23&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;---&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;also a problem that when pressing control+c it does not print the performance info&lt;/P&gt;
&lt;P&gt;it only prints it when clicking esc on the image, and so it was more confusing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 23:21:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1263235#M23082</guid>
      <dc:creator>shimondoodkin</dc:creator>
      <dc:date>2021-03-10T23:21:27Z</dc:date>
    </item>
    <item>
      <title>Re:What is the expected fps for text ocr sample?</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1263835#M23115</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Hi Shimon,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Thanks for sharing these helpful solutions in the community. We sincerely appreciate your contribution. We appreciate if you can create a pull request with the proposed changes in the openvinotoolkit GitHub so that developers can review.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;You may refer to this contribution guide: &lt;/SPAN&gt;&lt;A href="https://github.com/openvinotoolkit/openvino/wiki/Contribute" rel="noopener noreferrer" target="_blank" style="font-size: 16px;"&gt;https://github.com/openvinotoolkit/openvino/wiki/Contribute&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;For the “Control + C” , ‘Esc’ and ‘q’ question, basically “Control + C” is designed to stop the program completely without going to the next execution, which ‘ESC‘ and ‘Q’ is to terminate this loop and go to next execution (for e.g. terminate the output display and process to printout).&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-size: 16px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Peh&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Mar 2021 15:50:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1263835#M23115</guid>
      <dc:creator>Peh_Intel</dc:creator>
      <dc:date>2021-03-12T15:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re:What is the expected fps for text ocr sample?</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1264084#M23118</link>
      <description>&lt;P&gt;there is no solution in my messages&lt;/P&gt;
&lt;P&gt;it just shows better where is the problem.&lt;BR /&gt;&lt;BR /&gt;anyways I stopped working on that. I don't see how it will work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Mar 2021 22:06:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1264084#M23118</guid>
      <dc:creator>shimondoodkin</dc:creator>
      <dc:date>2021-03-13T22:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Re:What is the expected fps for text ocr sample?</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1265597#M23160</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/155504"&gt;@shimondoodkin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After further investigation, the Text Detection C++ Demo you’re referring to is designed to work with &lt;STRONG&gt;input images&lt;/STRONG&gt; based on this &lt;A href="https://docs.openvinotoolkit.org/latest/omz_demos_README.html" target="_blank"&gt;documentation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;Text Detection C++ Demo - Text Detection demo. It detects and recognizes multi-oriented scene text on &lt;U&gt;an input image&lt;/U&gt; and puts a bounding box around detected area.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So when you input video to the Text Detection demo, the 1 FPS is expected since the text detection model is not quite lightweight for video processing.&lt;/P&gt;
&lt;P&gt;Also, based on the Text Detection C++ Demo description,&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;$ text_detection_demo -h

-i &amp;nbsp;Required. An input to process. The input must be a single image, a folder of images or anything that cv::VideoCapture can process&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To answer your 2&lt;SUP&gt;nd&lt;/SUP&gt; question, regarding GPU taking a longer time to load.&lt;/P&gt;
&lt;P&gt;This is due to compilation time being dependent on &lt;U&gt;OpenCL kernels&lt;/U&gt; compilation in clDNN, and the results are expected to take a longer time to load if the GPU device is used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this answers your questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 14:27:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1265597#M23160</guid>
      <dc:creator>Hari_B_Intel</dc:creator>
      <dc:date>2021-03-18T14:27:18Z</dc:date>
    </item>
    <item>
      <title>Re:What is the expected fps for text ocr sample?</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1268621#M23286</link>
      <description>&lt;P&gt;Hi shimondoodkin &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Mar 2021 03:58:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/What-is-the-expected-fps-for-text-ocr-sample/m-p/1268621#M23286</guid>
      <dc:creator>Hari_B_Intel</dc:creator>
      <dc:date>2021-03-29T03:58:59Z</dc:date>
    </item>
  </channel>
</rss>

