<?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 I dont Think is the format. I in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097181#M67323</link>
    <description>I dont Think is the format. I am not able to Switch on the R200 from open CV.</description>
    <pubDate>Thu, 16 Jun 2016 12:09:23 GMT</pubDate>
    <dc:creator>tommaso_c_</dc:creator>
    <dc:date>2016-06-16T12:09:23Z</dc:date>
    <item>
      <title>cannot access to camera streams by Open CV</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097177#M67319</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;

&lt;P&gt;I'm tring to stream the R200 with Open CV, using this code&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.samontab.com/web/2016/04/interfacing-intel-realsense-f200-with-opencv/"&gt;http://www.samontab.com/web/2016/04/interfacing-intel-realsense-f200-with-opencv/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I can build the code on Visual Studio but the windows (screens) of RGB, depth and IR are completely black and it's to work.&lt;/P&gt;

&lt;P&gt;Ideas?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 15:24:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097177#M67319</guid>
      <dc:creator>tommaso_c_</dc:creator>
      <dc:date>2016-06-15T15:24:28Z</dc:date>
    </item>
    <item>
      <title>The code looks fine. I</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097178#M67320</link>
      <description>&lt;P&gt;The code looks fine. I suppose its a realsense problem.&lt;/P&gt;

&lt;P&gt;Do the samples from the SDK sample browser work?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:24:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097178#M67320</guid>
      <dc:creator>Johannes_V_</dc:creator>
      <dc:date>2016-06-15T17:24:06Z</dc:date>
    </item>
    <item>
      <title>yes they work good! It doesn</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097179#M67321</link>
      <description>&lt;P&gt;yes they work good! It doesn't work just when I try to open from Open CV&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:58:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097179#M67321</guid>
      <dc:creator>tommaso_c_</dc:creator>
      <dc:date>2016-06-15T19:58:33Z</dc:date>
    </item>
    <item>
      <title>Try saving the images to disk</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097180#M67322</link>
      <description>&lt;P&gt;Try saving the images to disk with cv::imwrite, and check those images with a photo viewer. Maybe you have some issues with the highgui library (the library part dedicated to drawing on a window)&lt;/P&gt;

&lt;P&gt;You can also check the contents of the data coming from the RealSense camera at the appropriate time.&lt;/P&gt;

&lt;P&gt;Maybe there's a problem at the conversion of the formats. Read the comment in the page.&lt;/P&gt;

&lt;P&gt;And, of course, you need light :)&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:47:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097180#M67322</guid>
      <dc:creator>samontab</dc:creator>
      <dc:date>2016-06-15T23:47:00Z</dc:date>
    </item>
    <item>
      <title>I dont Think is the format. I</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097181#M67323</link>
      <description>I dont Think is the format. I am not able to Switch on the R200 from open CV.</description>
      <pubDate>Thu, 16 Jun 2016 12:09:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097181#M67323</guid>
      <dc:creator>tommaso_c_</dc:creator>
      <dc:date>2016-06-16T12:09:23Z</dc:date>
    </item>
    <item>
      <title>Maybe you are not linking the</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097182#M67324</link>
      <description>&lt;P&gt;Maybe you are not linking the correct libraries?&lt;/P&gt;

&lt;P&gt;OpenCV really has nothing to do with the camera acquisition...&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2016 00:25:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097182#M67324</guid>
      <dc:creator>samontab</dc:creator>
      <dc:date>2016-06-17T00:25:59Z</dc:date>
    </item>
    <item>
      <title>Here is a simplified version</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097183#M67325</link>
      <description>&lt;P&gt;Here is a simplified version of what works for me&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;PXCImage *color_image = sample-&amp;gt;color;
PXCImage::ImageInfo color_info = color_image-&amp;gt;QueryInfo();
PXCImage::ImageData color_data;
color_image-&amp;gt;AcquireAccess(PXCImage::ACCESS_READ, PXCImage::PIXEL_FORMAT_RGB32, &amp;amp;color_data);
IplImage* colorimg = cvCreateImageHeader(cvSize(color_info.width, color_info.height), 8, 4);
cvSetData(colorimg, color_data.planes[0], color_info.width * 4 * sizeof(pxcBYTE));
Mat color_img_mat = cvarrToMat(colorimg);
color_image-&amp;gt;ReleaseAccess(&amp;amp;color_data);&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2016 17:42:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097183#M67325</guid>
      <dc:creator>IEBEI</dc:creator>
      <dc:date>2016-06-17T17:42:00Z</dc:date>
    </item>
    <item>
      <title>Changing the format, I got a</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097184#M67326</link>
      <description>Changing the format, I got a better resolution for the color And depth stream but the IR still dont work. I will try your code! If it doesnt work I ll check the libraries again</description>
      <pubDate>Fri, 17 Jun 2016 17:55:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097184#M67326</guid>
      <dc:creator>tommaso_c_</dc:creator>
      <dc:date>2016-06-17T17:55:50Z</dc:date>
    </item>
    <item>
      <title>Ok I finally Found the</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097185#M67327</link>
      <description>Ok I finally Found the solution!  Actually as You told it was a problem of formats!  In The near future I m going to post the entire code.
Thank You everyone</description>
      <pubDate>Mon, 20 Jun 2016 15:12:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097185#M67327</guid>
      <dc:creator>tommaso_c_</dc:creator>
      <dc:date>2016-06-20T15:12:28Z</dc:date>
    </item>
    <item>
      <title>Remember to set the IR stream</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097186#M67328</link>
      <description>&lt;P&gt;Remember to set the IR stream to 8 bits (&lt;CODE class="plain"&gt;PXCImage::PIXEL_FORMAT_Y8&lt;/CODE&gt;), in OpenCV you use&amp;nbsp;&lt;CODE class="plain"&gt;CV_8UC1&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;And also set the pitch/step in both directions of the conversion, like this in each case:&lt;/P&gt;

&lt;P&gt;data.pitches[0] = cvImage.step&lt;/P&gt;

&lt;P&gt;cv::Mat ocvImage = cv::Mat(cv::Size(width, height), type, data.planes[0], data.pitches[0]);&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 03:29:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097186#M67328</guid>
      <dc:creator>samontab</dc:creator>
      <dc:date>2016-06-28T03:29:09Z</dc:date>
    </item>
    <item>
      <title>Quote:samontab wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097187#M67329</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;samontab wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Remember to set the IR stream to 8 bits (PXCImage::PIXEL_FORMAT_Y8), in OpenCV you use&amp;nbsp;CV_8UC1.&lt;/P&gt;

&lt;P&gt;And also set the pitch/step in both directions of the conversion, like this in each case:&lt;/P&gt;

&lt;P&gt;data.pitches[0] = cvImage.step&lt;/P&gt;

&lt;P&gt;cv::Mat ocvImage = cv::Mat(cv::Size(width, height), type, data.planes[0], data.pitches[0]);&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;forgive me my questions, but where to set the stream to 8 bits?&lt;/P&gt;

&lt;P&gt;as for now i only activate the stream by the sense manager over&lt;/P&gt;

&lt;P class="p_CodeExample"&gt;&lt;SPAN class="typ" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;PXCSenseManager&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;*&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;sm&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;PXCSenseManager&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;::&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;CreateInstance&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;();&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p_CodeExample"&gt;&lt;SPAN class="pln" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;sm&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;EnableStream&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;PXCCapture&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;::&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;STREAM_TYPE_IR&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="lit" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;320&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="lit" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;240&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p_CodeExample"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P class="p_CodeExample"&gt;&lt;SPAN class="pun" style="font-family: Consolas, &amp;quot;Lucida Console&amp;quot;, Menlo, Monaco, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif; font-size: 1em; line-height: 1.5;"&gt;thank you samontab&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 10:12:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097187#M67329</guid>
      <dc:creator>Johannes_V_</dc:creator>
      <dc:date>2016-06-30T10:12:05Z</dc:date>
    </item>
    <item>
      <title>When you access the image</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097188#M67330</link>
      <description>&lt;P&gt;When you access the image data from the IR stream:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?acquireaccess_pxcimage.html" target="_blank"&gt;https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?acquireaccess_pxcimage.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 02:21:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-access-to-camera-streams-by-Open-CV/m-p/1097188#M67330</guid>
      <dc:creator>samontab</dc:creator>
      <dc:date>2016-07-01T02:21:33Z</dc:date>
    </item>
  </channel>
</rss>

