<?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: D435 camera in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569202#M9987</link>
    <description>&lt;P&gt;RealSense SDK 2.0 currently supports using C++ and C.  I believe that "C" refers to the original version of the language though, not C# .  They may currently be working on a C#  wrapper, given that C was only added in the most recent release, but I have no information about that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that when you mention a C#  wrapper, you are referring to this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/andrecarlucci/openrealsense"&gt;https://github.com/andrecarlucci/openrealsense&lt;/A&gt; GitHub - andrecarlucci/openrealsense: .net wrapper for the librealsense &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whilst that wrapper would work with the original Librealsense (now known as the Legacy version), it likely would not work with SDK 2.0 without adaptations.   An official C#  wrapper may arrive before this unofficial wrapper can be converted.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2018 19:50:25 GMT</pubDate>
    <dc:creator>MartyG</dc:creator>
    <dc:date>2018-02-06T19:50:25Z</dc:date>
    <item>
      <title>D435 camera</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569199#M9984</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a couple of basic questions on Realsense D435 camera:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Is the camera supported in both RealSense SDK for Linux as well as the Librealsense SDK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. What is the best and quickest way to convert the frames captured and convert to mpeg format video?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 19:50:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569199#M9984</guid>
      <dc:creator>KLi21</dc:creator>
      <dc:date>2018-02-05T19:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: D435 camera</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569200#M9985</link>
      <description>&lt;P&gt;1.  The D435 camera uses the new RealSense SDK 2.0, which is an advanced form of Librealsense and is a cross-platform SDK that can be used with Windows, Linux and Mac OS High Sierra.  The RealSense SDK For Linux is just for the ZR300 camera model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/releases/"&gt;https://github.com/IntelRealSense/librealsense/releases/&lt;/A&gt; Releases · IntelRealSense/librealsense · GitHub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.  SDK 2.0 supports recording data to a 'bag' file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/src/media/readme.md"&gt;https://github.com/IntelRealSense/librealsense/blob/master/src/media/readme.md&lt;/A&gt; librealsense/&lt;A href="http://readme.md"&gt;readme.md&lt;/A&gt; at master · IntelRealSense/librealsense · GitHub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or to a PNG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/tree/master/examples/save-to-disk"&gt;https://github.com/IntelRealSense/librealsense/tree/master/examples/save-to-disk&lt;/A&gt; librealsense/examples/save-to-disk at master · IntelRealSense/librealsense · GitHub  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may then be able to turn the PNG into an mpeg.  Google 'convert png to mpeg' for more details.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 20:28:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569200#M9985</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-02-05T20:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: D435 camera</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569201#M9986</link>
      <description>&lt;P&gt;Thank you Marty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If using the C#  wrapper, after obtaining the single VideoFrame, will the following mechanism work to save the frame as png?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// get VideoFrame from the pipeline.WaitForFrames()&lt;/P&gt;&lt;P&gt;var bytes = new byte[frame.Stride * frame.Height]&lt;/P&gt;&lt;P&gt;frame.CopyTo(bytes);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MemoryStream ms = new MemoryStream(bytes);&lt;/P&gt;&lt;P&gt;Image img = Image.FromStream(ms);&lt;/P&gt;&lt;P&gt;image.save("filename)")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing prelimary investigation before we receive the camera being ordered.  Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 19:28:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569201#M9986</guid>
      <dc:creator>KLi21</dc:creator>
      <dc:date>2018-02-06T19:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: D435 camera</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569202#M9987</link>
      <description>&lt;P&gt;RealSense SDK 2.0 currently supports using C++ and C.  I believe that "C" refers to the original version of the language though, not C# .  They may currently be working on a C#  wrapper, given that C was only added in the most recent release, but I have no information about that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that when you mention a C#  wrapper, you are referring to this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/andrecarlucci/openrealsense"&gt;https://github.com/andrecarlucci/openrealsense&lt;/A&gt; GitHub - andrecarlucci/openrealsense: .net wrapper for the librealsense &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whilst that wrapper would work with the original Librealsense (now known as the Legacy version), it likely would not work with SDK 2.0 without adaptations.   An official C#  wrapper may arrive before this unofficial wrapper can be converted.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 19:50:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569202#M9987</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-02-06T19:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: D435 camera</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569203#M9988</link>
      <description>&lt;P&gt;Hi Marty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am actually referring to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/tree/master/wrappers/csharp"&gt;https://github.com/IntelRealSense/librealsense/tree/master/wrappers/csharp&lt;/A&gt; librealsense/wrappers/csharp at master · IntelRealSense/librealsense · GitHub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is part of the 2.0 open source project I believe.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 19:53:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569203#M9988</guid>
      <dc:creator>KLi21</dc:creator>
      <dc:date>2018-02-06T19:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: D435 camera</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569204#M9989</link>
      <description>&lt;P&gt;Interesting!  I had forgotten that some people use the terms C#  and .NET together (e.g "I wish there was C#  support as I really need .NET integration).  Thanks so much for bringing that to my attention.    It might make it clearer to SDK 2.0 users if the Releases download page refers to '.NET / C# ' compatibility instead of just '.NET'&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 20:02:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569204#M9989</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-02-06T20:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: D435 camera</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569205#M9990</link>
      <description>&lt;P&gt;Hi Marty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes.  So is this wrapper working with sdk 2.0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to get back to the original question.  I checked the wrapper sample code for Capture Image example in .net c# :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/wrappers/csharp/cs-tutorial-2-capture/Window.xaml.cs"&gt;https://github.com/IntelRealSense/librealsense/blob/master/wrappers/csharp/cs-tutorial-2-capture/Window.xaml.cs&lt;/A&gt; librealsense/Window.xaml.cs at master · IntelRealSense/librealsense · GitHub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample code just create the bitmap for display from the frame data (rgb 24, height is the frame.Stride and frame.Height).  If to save as a file, can we create a 24 rgb bitmap c#  Bitmap object?   Just like the methods below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And is the width always frame.Stride? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------&lt;/P&gt;&lt;P&gt;public Bitmap CopyDataToBitmap(int height, int width, byte[] data)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;  //Here create the Bitmap to the know height, width and format&lt;/P&gt;&lt;P&gt;  Bitmap bmp = new Bitmap(width, height, PixelFormat.Format24bppRgb);  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  //Create a BitmapData and Lock all pixels to be written &lt;/P&gt;&lt;P&gt;  BitmapData bmpData = bmp.LockBits(&lt;/P&gt;&lt;P&gt;                       new Rectangle(0, 0, bmp.Width, bmp.Height),   &lt;/P&gt;&lt;P&gt;                       ImageLockMode.WriteOnly, bmp.PixelFormat);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  //Copy the data from the byte array into BitmapData.Scan0&lt;/P&gt;&lt;P&gt;  Marshal.Copy(data, 0, bmpData.Scan0, data.Length);&lt;/P&gt;&lt;P&gt;                &lt;/P&gt;&lt;P&gt;                &lt;/P&gt;&lt;P&gt;  //Unlock the pixels&lt;/P&gt;&lt;P&gt;  bmp.UnlockBits(bmpData);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  //Return the bitmap &lt;/P&gt;&lt;P&gt;  return bmp;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated.  I am almost there just need to sort out this question on saving to use the D435.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 20:10:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569205#M9990</guid>
      <dc:creator>KLi21</dc:creator>
      <dc:date>2018-02-06T20:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: D435 camera</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569206#M9991</link>
      <description>&lt;P&gt;This question is outside of my range of knowledge, regrettably.  An Intel support staff member (which I am not) should be able to give advice on it, hopefully.  Best of luck!  &lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 20:34:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569206#M9991</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-02-06T20:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: D435 camera</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569207#M9992</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the wrapper sample code for Capture Image example in .net c# , and trying to use in D435 camera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/wrappers/csharp/cs-tutorial-2-capture/Window.xaml.cs"&gt;https://github.com/IntelRealSense/librealsense/blob/master/wrappers/csharp/cs-tutorial-2-capture/Window.xaml.cs&lt;/A&gt; librealsense/Window.xaml.cs at master · IntelRealSense/librealsense · GitHub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample code just create the bitmap for display from the frame data (rgb 24, height is the frame.Stride and frame.Height).  If to save as a file, can we create a 24 rgb bitmap c#  Bitmap object?   Just like the methods below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And is the width always frame.Stride?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------&lt;/P&gt;&lt;P&gt;public Bitmap CopyDataToBitmap(int height, int width, byte[] data)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;  //Here create the Bitmap to the know height, width and format&lt;/P&gt;&lt;P&gt;  Bitmap bmp = new Bitmap(width, height, PixelFormat.Format24bppRgb); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  //Create a BitmapData and Lock all pixels to be written&lt;/P&gt;&lt;P&gt;  BitmapData bmpData = bmp.LockBits(&lt;/P&gt;&lt;P&gt;                       new Rectangle(0, 0, bmp.Width, bmp.Height),  &lt;/P&gt;&lt;P&gt;                       ImageLockMode.WriteOnly, bmp.PixelFormat);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  //Copy the data from the byte array into BitmapData.Scan0&lt;/P&gt;&lt;P&gt;  Marshal.Copy(data, 0, bmpData.Scan0, data.Length);&lt;/P&gt;&lt;P&gt;               &lt;/P&gt;&lt;P&gt;               &lt;/P&gt;&lt;P&gt;  //Unlock the pixels&lt;/P&gt;&lt;P&gt;  bmp.UnlockBits(bmpData);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  //Return the bitmap&lt;/P&gt;&lt;P&gt;  return bmp;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 20:44:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569207#M9992</guid>
      <dc:creator>KLi21</dc:creator>
      <dc:date>2018-02-06T20:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: D435 camera</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569208#M9993</link>
      <description>&lt;P&gt;Hello Kenric,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;It is hard to tell whether your code will work. I did find this information on frame strides that may be helpful for you:&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt; &lt;A href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa473780%28v=vs.85%29.aspx"&gt;https://msdn.microsoft.com/en-us/library/windows/desktop/aa473780%28v=vs.85%29.aspx&lt;/A&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;"When a video image is stored in memory, the memory buffer might contain extra padding bytes after each row of pixels. The padding bytes affect how the image is stored in memory, but do not affect how the image is displayed.&lt;P&gt;The &lt;I&gt;stride&lt;/I&gt; is the number of bytes from one row of pixels in memory to the next row of pixels in memory. "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Jesus&lt;P&gt;&amp;nbsp;&lt;/P&gt;Intel Customer Support</description>
      <pubDate>Thu, 08 Feb 2018 00:36:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-camera/m-p/569208#M9993</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-02-08T00:36:56Z</dc:date>
    </item>
  </channel>
</rss>

