<?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 How to measure the actual latency in the Realsense D435 camera? in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/How-to-measure-the-actual-latency-in-the-Realsense-D435-camera/m-p/701639#M16595</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I am new so I am still grasping the details of the RealSense D435 camera. I am streaming frames through a C++ program with OpenCV. I set my camera to 720 x 1080 to a 30 frame rate and I was wondering how to meausure the actual frame per second value (or any kind of latency). &lt;/P&gt;&lt;P&gt;I used the chrono library, but I am not sur if there is a better way to do it, perhaps the realsense API handles it automatically. &lt;/P&gt;&lt;P&gt;If someone could suggest me another way to do it I would be deeply grateful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time&lt;/P&gt;&lt;CODE&gt;auto timeStart = std::chrono::high_resolution_clock::now();
&amp;nbsp;
// Stream frames and do something
&amp;nbsp;
auto timeEnd = std::chrono::high_resolution_clock::now();
long long duration = std::chrono::duration_cast&amp;lt;std::chrono::milliseconds&amp;gt;(timeEnd - timeStart).count();
&amp;nbsp;
std::cout &amp;lt;&amp;lt; "Latency value: " &amp;lt;&amp;lt; duration &amp;lt;&amp;lt; " in ms." &amp;lt;&amp;lt; std::endl;&lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Apr 2020 19:13:25 GMT</pubDate>
    <dc:creator>FelipeVW</dc:creator>
    <dc:date>2020-04-06T19:13:25Z</dc:date>
    <item>
      <title>How to measure the actual latency in the Realsense D435 camera?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-measure-the-actual-latency-in-the-Realsense-D435-camera/m-p/701639#M16595</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I am new so I am still grasping the details of the RealSense D435 camera. I am streaming frames through a C++ program with OpenCV. I set my camera to 720 x 1080 to a 30 frame rate and I was wondering how to meausure the actual frame per second value (or any kind of latency). &lt;/P&gt;&lt;P&gt;I used the chrono library, but I am not sur if there is a better way to do it, perhaps the realsense API handles it automatically. &lt;/P&gt;&lt;P&gt;If someone could suggest me another way to do it I would be deeply grateful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time&lt;/P&gt;&lt;CODE&gt;auto timeStart = std::chrono::high_resolution_clock::now();
&amp;nbsp;
// Stream frames and do something
&amp;nbsp;
auto timeEnd = std::chrono::high_resolution_clock::now();
long long duration = std::chrono::duration_cast&amp;lt;std::chrono::milliseconds&amp;gt;(timeEnd - timeStart).count();
&amp;nbsp;
std::cout &amp;lt;&amp;lt; "Latency value: " &amp;lt;&amp;lt; duration &amp;lt;&amp;lt; " in ms." &amp;lt;&amp;lt; std::endl;&lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 19:13:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-measure-the-actual-latency-in-the-Realsense-D435-camera/m-p/701639#M16595</guid>
      <dc:creator>FelipeVW</dc:creator>
      <dc:date>2020-04-06T19:13:25Z</dc:date>
    </item>
  </channel>
</rss>

