<?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: Getting pointcloud from D435 in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610446#M12793</link>
    <description>&lt;P&gt;Hello Alexandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pyrealsense2 is installed correctly, I followed all the instructions. The example you gave me works fine without me having to change anything to it, I already tried it before to see if there was a problem with my pyrealsense2 install, that was the example I talked about in my question. &lt;/P&gt;</description>
    <pubDate>Mon, 29 Oct 2018 07:22:20 GMT</pubDate>
    <dc:creator>FGalh</dc:creator>
    <dc:date>2018-10-29T07:22:20Z</dc:date>
    <item>
      <title>Getting pointcloud from D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610444#M12791</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm curretnly trying to save a pointcloud from a D435 camera using the pyrealsense2 lib on Windows. I'm using basically the code from the exemple :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        frames = pipeline.wait_for_frames()&lt;/P&gt;&lt;P&gt;        depth_frame = frames.get_depth_frame()&lt;/P&gt;&lt;P&gt;        color_frame = frames.get_color_frame()&lt;/P&gt;&lt;P&gt;        points = rs.points&lt;/P&gt;&lt;P&gt;        pc = rs.pointcloud&lt;/P&gt;&lt;P&gt;        pc.map_to(color_frame)&lt;/P&gt;&lt;P&gt;        points = pc.calculate(depth_frame)&lt;/P&gt;&lt;P&gt;        print("Saving to 1.ply...")&lt;/P&gt;&lt;P&gt;        points.export_to_ply("1.ply", color_frame)&lt;/P&gt;&lt;P&gt;        print("Done")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But everytime I try to use it it gets me this error : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     TypeError('map_to(): incompatible function arguments. The following argument types are supporte&lt;A&gt;d:\n&lt;/A&gt;    1. (self: pyrealsense2.pointcloud, mapped: pyrealsense2.frame) -&amp;gt; None\n\nInvoked with:      ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any idea where this error comes from ?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 06:54:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610444#M12791</guid>
      <dc:creator>FGalh</dc:creator>
      <dc:date>2018-10-26T06:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting pointcloud from D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610445#M12792</link>
      <description>&lt;P&gt;Hi FlavG,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Thank you for your interest in the Intel RealSense D435 camera. &lt;P&gt;&amp;nbsp;&lt;/P&gt;Please make sure you followed all the instructions to install pyrealsense2 :&lt;P&gt;&amp;nbsp;&lt;/P&gt; &lt;A href="https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python"&gt;https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python&lt;/A&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Then try running this example:&lt;P&gt;&amp;nbsp;&lt;/P&gt; &lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/export_ply_example.py"&gt;https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/export_ply_example.py&lt;/A&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Let me know if it works.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Alexandra</description>
      <pubDate>Fri, 26 Oct 2018 12:19:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610445#M12792</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-10-26T12:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting pointcloud from D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610446#M12793</link>
      <description>&lt;P&gt;Hello Alexandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pyrealsense2 is installed correctly, I followed all the instructions. The example you gave me works fine without me having to change anything to it, I already tried it before to see if there was a problem with my pyrealsense2 install, that was the example I talked about in my question. &lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 07:22:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610446#M12793</guid>
      <dc:creator>FGalh</dc:creator>
      <dc:date>2018-10-29T07:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Getting pointcloud from D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610447#M12794</link>
      <description>&lt;P&gt;Hi FlavG,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Do you still need help with this issue?&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Alexandra</description>
      <pubDate>Mon, 29 Oct 2018 08:42:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610447#M12794</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-10-29T08:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting pointcloud from D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610448#M12795</link>
      <description>&lt;P&gt;Yes, I still have the error I copied in my first post wich I don't understand why it keeps happenig there and not in the examples you gave me&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 08:44:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610448#M12795</guid>
      <dc:creator>FGalh</dc:creator>
      <dc:date>2018-10-29T08:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting pointcloud from D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610449#M12796</link>
      <description>&lt;P&gt;Hi FlavG,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Could you be more specific?&lt;P&gt;&amp;nbsp;&lt;/P&gt;Do you get that error when you are running export_ply_example.py  ?&lt;P&gt;&amp;nbsp;&lt;/P&gt;What happens when you run other examples? Do you get the same error?&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Alexandra</description>
      <pubDate>Mon, 29 Oct 2018 09:54:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610449#M12796</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-10-29T09:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting pointcloud from D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610450#M12797</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other example I've tried works fine, it doesn't work only in my code. The main part I don't understand about this error is, if I'm not wrong and understood it correctly, that the frame type I try to map doesn't work with the map_to() function. But using a debugger on both the examples and my code to see which type were the frames, I found out that in both cases the frames are pyrealsense2.video_frame. That is why I don't understand why this error keeps happening only in my code.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 10:00:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610450#M12797</guid>
      <dc:creator>FGalh</dc:creator>
      <dc:date>2018-10-29T10:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Getting pointcloud from D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610451#M12798</link>
      <description>&lt;P&gt;Hi FlavG,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Is your code file in the same directory as the librealsense python examples? &lt;P&gt;&amp;nbsp;&lt;/P&gt;You have to make sure that your code is calling the same .lib, .pyd and .dlls that the examples use. &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Alexandra</description>
      <pubDate>Mon, 29 Oct 2018 14:02:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610451#M12798</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-10-29T14:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Getting pointcloud from D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610452#M12799</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it is in the same folder and uses the same files, the other functions like streaming from the camera and getting the distance from a pixel are working, it's just the export to a .ply file that doesn't work.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 14:08:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610452#M12799</guid>
      <dc:creator>FGalh</dc:creator>
      <dc:date>2018-10-29T14:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Getting pointcloud from D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610453#M12800</link>
      <description>&lt;P&gt;Hi FlavG,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Can you send us the whole code, not just a section?&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Alexandra</description>
      <pubDate>Mon, 29 Oct 2018 14:14:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610453#M12800</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-10-29T14:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting pointcloud from D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610454#M12801</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the whole code : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pastebin.com/mv9Ztz25"&gt;https://pastebin.com/mv9Ztz25&lt;/A&gt; import pyrealsense2 as rs import numpy as np import cv2 #  mouse callback - &lt;A href="http://Pastebin.com"&gt;Pastebin.com&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 14:24:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610454#M12801</guid>
      <dc:creator>FGalh</dc:creator>
      <dc:date>2018-10-29T14:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting pointcloud from D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610455#M12802</link>
      <description>&lt;P&gt;Hi FlavG,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;I managed to run your code. &lt;P&gt;&amp;nbsp;&lt;/P&gt;You must add "()" to the function calls:&lt;P&gt;   points = rs.points()&lt;/P&gt;&lt;P&gt;      pc = rs.pointcloud()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Alexandra</description>
      <pubDate>Mon, 29 Oct 2018 16:13:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610455#M12802</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-10-29T16:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting pointcloud from D435</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610456#M12803</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help, it was such a dumb mistake and I didn't see it. Sorry for taking from your time to answer this question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FlavG&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 17:01:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Getting-pointcloud-from-D435/m-p/610456#M12803</guid>
      <dc:creator>FGalh</dc:creator>
      <dc:date>2018-10-29T17:01:39Z</dc:date>
    </item>
  </channel>
</rss>

