<?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: Enable the use of IR, left, right and other depth modes. in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/Enable-the-use-of-IR-left-right-and-other-depth-modes/m-p/482327#M5055</link>
    <description>&lt;P&gt;It turns out that the enabling of the streamings should be done depending on the type of synchronization desired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case I want a synchronous sampling, so there must be a relationship between the sampling frequencies for each camera, they must be compatible between them, the same happens with the resolution of the streaming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The most demanding camera is the infrared so I suggest defining this first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally this is the configuration that worked for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PXCSession *session = PXCSession::CreateInstance();&lt;/P&gt;&lt;P&gt;  PXCSession::ImplVersion ver = session-&amp;gt;QueryVersion();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wprintf_s(L"SDK Version %d.%d\n", ver.major, ver.minor);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  // Create a SenseManager instance&lt;/P&gt;&lt;P&gt;  PXCSenseManager *sm = PXCSenseManager::CreateInstance();&lt;/P&gt;&lt;P&gt;  if (sm == NULL)&lt;/P&gt;&lt;P&gt;  wprintf_s(L"Sense Manager Initializacion Falied");&lt;/P&gt;&lt;P&gt;  else&lt;/P&gt;&lt;P&gt;  wprintf_s(L"Sense Manager Initializacion Succeed");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  cv::Size frameSize = cv::Size(320, 240);&lt;/P&gt;&lt;P&gt;  float frameRate = 60;&lt;/P&gt;&lt;P&gt;  int nframes = 69;&lt;/P&gt;&lt;P&gt;  PXCCapture::DeviceInfo dinfo;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  // Select the color and depth streams&lt;/P&gt;&lt;P&gt;  sm-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_LEFT, 320, 240, 30);&lt;/P&gt;&lt;P&gt;  sm-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_RIGHT, 320, 240, 30);&lt;/P&gt;&lt;P&gt;  sm-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_COLOR, 320, 240, 30);&lt;/P&gt;&lt;P&gt;  sm-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_DEPTH, 320, 240, 30);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  // Initialize and Stream Samples&lt;/P&gt;&lt;P&gt;  pxcStatus initSts = sm-&amp;gt;Init();&lt;/P&gt;&lt;P&gt;  if (initSts &amp;lt; PXC_STATUS_NO_ERROR)&lt;/P&gt;&lt;P&gt;  wprintf_s(L", PXCSenseManager.Init Falied");&lt;/P&gt;&lt;P&gt;  else&lt;/P&gt;&lt;P&gt;  wprintf_s(L", PXCSenseManager.Init Succeed");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2017 21:36:47 GMT</pubDate>
    <dc:creator>FApon</dc:creator>
    <dc:date>2017-02-27T21:36:47Z</dc:date>
    <item>
      <title>Enable the use of IR, left, right and other depth modes.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Enable-the-use-of-IR-left-right-and-other-depth-modes/m-p/482323#M5051</link>
      <description>&lt;P&gt;Hey guys, I am new developing projects with realsense technology, I am working with the R200 camera, Visual studio 2015, C++, Windows 10 and OpenCV 3.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to do library integration of the SDK and OpenCV, I can also do RGB streaming and some depth frequencies. For this I followed many turorials and re-engineered the SDK examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Start the session&lt;/P&gt;&lt;P&gt;2. I make a sense manager&lt;/P&gt;&lt;P&gt;3. Enable different streamings&lt;/P&gt;&lt;P&gt;4. Initialize the sense manager&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For development I need to be able to modify the modalities of streaming, but only work the RGB and 2 frequencies and sizes of the depth. I've tried everything, leaving the parameters of size and frequency empty, streaming one by one, but no matter what I do, I do not get IR images.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not know if I should do anything else because every attempt to enable IR or other frequencies of depth  fails the initialization of the sense manager, and I have already spent 3 weeks on this and I must continue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PXCSession *session = PXCSession::CreateInstance();&lt;/P&gt;&lt;P&gt;PXCSession::ImplVersion ver = session-&amp;gt;QueryVersion();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wprintf_s(L"SDK Version %d.%d\n", ver.major, ver.minor);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  // Create a SenseManager instance&lt;/P&gt;&lt;P&gt;  PXCSenseManager *sm = PXCSenseManager::CreateInstance();&lt;/P&gt;&lt;P&gt;  if (sm == NULL)&lt;/P&gt;&lt;P&gt;  wprintf_s(L"Sense Manager Initializacion Falied");&lt;/P&gt;&lt;P&gt;  else&lt;/P&gt;&lt;P&gt;  wprintf_s(L"Sense Manager Initializacion Succeed");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  cv::Size frameSize = cv::Size(640, 480);&lt;/P&gt;&lt;P&gt;  float frameRate = 60;&lt;/P&gt;&lt;P&gt;  pxcCHAR *file(0);&lt;/P&gt;&lt;P&gt;  int nframes = 69;&lt;/P&gt;&lt;P&gt;  PXCCapture::DeviceInfo dinfo;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  // Select the color and depth streams&lt;/P&gt;&lt;P&gt;  sm-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_COLOR, 640, 480, 30);&lt;/P&gt;&lt;P&gt;  sm-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_DEPTH, 320, 240, 60);&lt;/P&gt;&lt;P&gt;  //sm-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_DEPTH, 320, 240, 90);&lt;/P&gt;&lt;P&gt;  //sm-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_DEPTH);&lt;/P&gt;&lt;P&gt;  //sm-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_IR, 320, 240);&lt;/P&gt;&lt;P&gt;  //sm-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_IR);&lt;/P&gt;&lt;P&gt;  //sm-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_LEFT);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  // Initialize and Stream Samples&lt;/P&gt;&lt;P&gt;  pxcStatus initSts = sm-&amp;gt;Init();&lt;/P&gt;&lt;P&gt;  if (initSts &amp;lt; PXC_STATUS_NO_ERROR)&lt;/P&gt;&lt;P&gt;  wprintf_s(L", PXCSenseManager.Init Falied");&lt;/P&gt;&lt;P&gt;  else&lt;/P&gt;&lt;P&gt;  wprintf_s(L", PXCSenseManager.Init Succeed");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 04:38:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Enable-the-use-of-IR-left-right-and-other-depth-modes/m-p/482323#M5051</guid>
      <dc:creator>FApon</dc:creator>
      <dc:date>2017-02-27T04:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Enable the use of IR, left, right and other depth modes.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Enable-the-use-of-IR-left-right-and-other-depth-modes/m-p/482324#M5052</link>
      <description>&lt;P&gt;I found a site with a downloadable script for R200 that displays the left and right IR streams.  Have you seen this page already?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.digit.in/apps/intel-realsense-depth-camera-code-sample-r200-camera-streams-28222.html"&gt;http://www.digit.in/apps/intel-realsense-depth-camera-code-sample-r200-camera-streams-28222.html&lt;/A&gt; Intel RealSense Depth Camera Code Sample – R200 Camera Streams | &lt;A href="http://Digit.in"&gt;Digit.in&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 12:09:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Enable-the-use-of-IR-left-right-and-other-depth-modes/m-p/482324#M5052</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-02-27T12:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Enable the use of IR, left, right and other depth modes.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Enable-the-use-of-IR-left-right-and-other-depth-modes/m-p/482325#M5053</link>
      <description>&lt;P&gt;Thank you for your reply, i have already checked this web in the past. In fact i have this sample, but the enable process in C#  is way different than in C++, nevertheless i just checked again and it gived me an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much, you had been kind.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 21:24:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Enable-the-use-of-IR-left-right-and-other-depth-modes/m-p/482325#M5053</guid>
      <dc:creator>FApon</dc:creator>
      <dc:date>2017-02-27T21:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Enable the use of IR, left, right and other depth modes.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Enable-the-use-of-IR-left-right-and-other-depth-modes/m-p/482326#M5054</link>
      <description>&lt;P&gt;You are very welcome.  Good luck!  &lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 21:26:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Enable-the-use-of-IR-left-right-and-other-depth-modes/m-p/482326#M5054</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-02-27T21:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Enable the use of IR, left, right and other depth modes.</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Enable-the-use-of-IR-left-right-and-other-depth-modes/m-p/482327#M5055</link>
      <description>&lt;P&gt;It turns out that the enabling of the streamings should be done depending on the type of synchronization desired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case I want a synchronous sampling, so there must be a relationship between the sampling frequencies for each camera, they must be compatible between them, the same happens with the resolution of the streaming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The most demanding camera is the infrared so I suggest defining this first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally this is the configuration that worked for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PXCSession *session = PXCSession::CreateInstance();&lt;/P&gt;&lt;P&gt;  PXCSession::ImplVersion ver = session-&amp;gt;QueryVersion();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wprintf_s(L"SDK Version %d.%d\n", ver.major, ver.minor);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  // Create a SenseManager instance&lt;/P&gt;&lt;P&gt;  PXCSenseManager *sm = PXCSenseManager::CreateInstance();&lt;/P&gt;&lt;P&gt;  if (sm == NULL)&lt;/P&gt;&lt;P&gt;  wprintf_s(L"Sense Manager Initializacion Falied");&lt;/P&gt;&lt;P&gt;  else&lt;/P&gt;&lt;P&gt;  wprintf_s(L"Sense Manager Initializacion Succeed");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  cv::Size frameSize = cv::Size(320, 240);&lt;/P&gt;&lt;P&gt;  float frameRate = 60;&lt;/P&gt;&lt;P&gt;  int nframes = 69;&lt;/P&gt;&lt;P&gt;  PXCCapture::DeviceInfo dinfo;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  // Select the color and depth streams&lt;/P&gt;&lt;P&gt;  sm-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_LEFT, 320, 240, 30);&lt;/P&gt;&lt;P&gt;  sm-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_RIGHT, 320, 240, 30);&lt;/P&gt;&lt;P&gt;  sm-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_COLOR, 320, 240, 30);&lt;/P&gt;&lt;P&gt;  sm-&amp;gt;EnableStream(PXCCapture::STREAM_TYPE_DEPTH, 320, 240, 30);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  // Initialize and Stream Samples&lt;/P&gt;&lt;P&gt;  pxcStatus initSts = sm-&amp;gt;Init();&lt;/P&gt;&lt;P&gt;  if (initSts &amp;lt; PXC_STATUS_NO_ERROR)&lt;/P&gt;&lt;P&gt;  wprintf_s(L", PXCSenseManager.Init Falied");&lt;/P&gt;&lt;P&gt;  else&lt;/P&gt;&lt;P&gt;  wprintf_s(L", PXCSenseManager.Init Succeed");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 21:36:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Enable-the-use-of-IR-left-right-and-other-depth-modes/m-p/482327#M5055</guid>
      <dc:creator>FApon</dc:creator>
      <dc:date>2017-02-27T21:36:47Z</dc:date>
    </item>
  </channel>
</rss>

