<?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: Get infrared stream using C examples for D415 in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/Get-infrared-stream-using-C-examples-for-D415/m-p/618741#M13363</link>
    <description>&lt;P&gt;A couple of SDK 2.0 versions ago, an instruction was added to make it easier to get infrared frames from an rs2:frameset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rs2::frameset::get_infrared_frame() &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See line 691 of the script linked to below for an example use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/include/librealsense2/hpp/rs_frame.hpp#"&gt;https://github.com/IntelRealSense/librealsense/blob/master/include/librealsense2/hpp/rs_frame.hpp#&lt;/A&gt; L691 librealsense/rs_frame.hpp at master · IntelRealSense/librealsense · GitHub &lt;/P&gt;</description>
    <pubDate>Tue, 20 Mar 2018 09:49:57 GMT</pubDate>
    <dc:creator>MartyG</dc:creator>
    <dc:date>2018-03-20T09:49:57Z</dc:date>
    <item>
      <title>Get infrared stream using C examples for D415</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Get-infrared-stream-using-C-examples-for-D415/m-p/618740#M13362</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying out the C examples (rs-depth) to get to get the depth and color streams using this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//configurations:&lt;/P&gt;&lt;P&gt;    rs2_config_enable_stream(config, RS2_STREAM_DEPTH, -1, WIDTH, HEIGHT, RS2_FORMAT_Z16, FPS, &amp;amp;e);&lt;/P&gt;&lt;P&gt;    check_error(e);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     rs2_config_enable_stream(config, RS2_STREAM_COLOR, -1, WIDTH, HEIGHT, RS2_FORMAT_RGB8, FPS, &amp;amp;e);&lt;/P&gt;&lt;P&gt;     check_error(e);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//extracting depth and color:&lt;/P&gt;&lt;P&gt;if (rs2_is_frame_extendable_to(frame, RS2_EXTENSION_DEPTH_FRAME, &amp;amp;e) == 1) {&lt;/P&gt;&lt;P&gt;     //this is the depth frames&lt;/P&gt;&lt;P&gt;}  else{&lt;/P&gt;&lt;P&gt;     //this is the color frames&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue now is I cannot get the Infrared streams because I cannot see something like RS2_EXTENSION_DEPTH_FRAME for the infrared stream.&lt;/P&gt;&lt;P&gt;Any inputs are very much appreciated. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 09:34:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Get-infrared-stream-using-C-examples-for-D415/m-p/618740#M13362</guid>
      <dc:creator>WArro</dc:creator>
      <dc:date>2018-03-20T09:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get infrared stream using C examples for D415</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Get-infrared-stream-using-C-examples-for-D415/m-p/618741#M13363</link>
      <description>&lt;P&gt;A couple of SDK 2.0 versions ago, an instruction was added to make it easier to get infrared frames from an rs2:frameset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rs2::frameset::get_infrared_frame() &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See line 691 of the script linked to below for an example use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/include/librealsense2/hpp/rs_frame.hpp#"&gt;https://github.com/IntelRealSense/librealsense/blob/master/include/librealsense2/hpp/rs_frame.hpp#&lt;/A&gt; L691 librealsense/rs_frame.hpp at master · IntelRealSense/librealsense · GitHub &lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 09:49:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Get-infrared-stream-using-C-examples-for-D415/m-p/618741#M13363</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-03-20T09:49:57Z</dc:date>
    </item>
  </channel>
</rss>

