<?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: Saving data from multiple cameras in 1 file.bag using IntelRealsense Viewer in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/Saving-data-from-multiple-cameras-in-1-file-bag-using/m-p/666839#M15390</link>
    <description>&lt;P&gt;A bag file is a recording of data in an offline format. It should be able to be played without accessing the devices that were originally used to record it. For example, in the RealSense Viewer a bag file can be loaded in and played even if a RealSense camera is not attached to the computer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the bag file replay correctly with both cameras present when loaded back into the RealSense Viewer, please? That would confirm that the file data contains both cameras, even if MATLAB is having trouble accessing it. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can load a bag into the Viewer just by dragging-and-dropping the file from the folder where it is stored onto the main window of the Viewer.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2019 00:11:52 GMT</pubDate>
    <dc:creator>MartyG</dc:creator>
    <dc:date>2019-04-30T00:11:52Z</dc:date>
    <item>
      <title>Saving data from multiple cameras in 1 file.bag using IntelRealsense Viewer</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Saving-data-from-multiple-cameras-in-1-file-bag-using/m-p/666836#M15387</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;I am getting started with multiple camera acquisition. I followed the instructions of the white paper, with HW synchronization. I am using the IntelViewer to visualize the images and I would like to record the data for offline processing. Is it possible to save 1 file including both images synchronized or the do we have to save two separate files?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ema&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 21:41:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Saving-data-from-multiple-cameras-in-1-file-bag-using/m-p/666836#M15387</guid>
      <dc:creator>EZann1</dc:creator>
      <dc:date>2019-04-29T21:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Saving data from multiple cameras in 1 file.bag using IntelRealsense Viewer</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Saving-data-from-multiple-cameras-in-1-file-bag-using/m-p/666837#M15388</link>
      <description>&lt;P&gt;When using multiple data sources at the same time in the RealSense Viewer, everything should get recorded into a single file. In the Viewer's 2D mode, this will be a &lt;B&gt;bag&lt;/B&gt; format file, also known as a rosbag. This is an offline recording of all the live data that was occurring during the recording. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can set up sync between multiple cameras in the RealSense Viewer using a setting called &lt;B&gt;Inter Cam Sync Mode&lt;/B&gt;, which can be found under the &lt;B&gt;Controls&lt;/B&gt; section of the options side-panel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have added each of your cameras to the Viewer, you should set the value of Inter Cam Sync Mode for one of the cameras to a value of &lt;B&gt;'1',&lt;/B&gt; indicating that this camera will be the "master" camera that all the other cameras will try to sync with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each of the remaining cameras should all have their individual Inter Cam Sync Mode set to&lt;B&gt; '2' &lt;/B&gt;to indicate that they are "slave" cameras that follow the master.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The setup process is illustrated in an audioless YouTube video linked to below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=DSm7NYG5bZE" target="_self" alt="https://www.youtube.com/watch?v=DSm7NYG5bZE"&gt;&lt;/A&gt;&lt;A href="https://www.youtube.com/watch?v=DSm7NYG5bZE"&gt;https://www.youtube.com/watch?v=DSm7NYG5bZE&lt;/A&gt;&amp;amp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 22:05:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Saving-data-from-multiple-cameras-in-1-file-bag-using/m-p/666837#M15388</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-04-29T22:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Saving data from multiple cameras in 1 file.bag using IntelRealsense Viewer</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Saving-data-from-multiple-cameras-in-1-file-bag-using/m-p/666838#M15389</link>
      <description>&lt;P&gt;Thank you MartyG,&lt;/P&gt;&lt;P&gt;I did all that you wrote. I have the feeling that I recorded data from just one camera in the bag file because when I try to read the file using matlab I can't access the two devices.&lt;/P&gt;&lt;P&gt;Specifically, my code is the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cfg = realsense.config();&lt;/P&gt;&lt;P&gt;cfg.enable_device_from_file('&lt;A&gt;C:\Program&lt;/A&gt; Files (x86)\Intel RealSense SDK 2.0\matlab\20190429_171854_2cameras.bag');&lt;/P&gt;&lt;P&gt;pipe = realsense.pipeline();&amp;nbsp;&lt;/P&gt;&lt;P&gt;profile = pipe.start(cfg);&lt;/P&gt;&lt;P&gt;dev = profile.get_device();&lt;/P&gt;&lt;P&gt;serial_number = dev.get_info(realsense.camera_info.serial_number);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the serial number that I get is only one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw the post about getting data from two cameras using matlab wrappers, but I can't use that code to read from recorded files.&lt;/P&gt;&lt;P&gt;I know the serial numbers of my devices, but I don't know how to use them to retrieve data from both devices. I suspect that only data from one camera have been saved, but maybe it's me that I cannot read them properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Emanuela&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 23:32:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Saving-data-from-multiple-cameras-in-1-file-bag-using/m-p/666838#M15389</guid>
      <dc:creator>EZann1</dc:creator>
      <dc:date>2019-04-29T23:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Saving data from multiple cameras in 1 file.bag using IntelRealsense Viewer</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Saving-data-from-multiple-cameras-in-1-file-bag-using/m-p/666839#M15390</link>
      <description>&lt;P&gt;A bag file is a recording of data in an offline format. It should be able to be played without accessing the devices that were originally used to record it. For example, in the RealSense Viewer a bag file can be loaded in and played even if a RealSense camera is not attached to the computer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the bag file replay correctly with both cameras present when loaded back into the RealSense Viewer, please? That would confirm that the file data contains both cameras, even if MATLAB is having trouble accessing it. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can load a bag into the Viewer just by dragging-and-dropping the file from the folder where it is stored onto the main window of the Viewer.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 00:11:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Saving-data-from-multiple-cameras-in-1-file-bag-using/m-p/666839#M15390</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-04-30T00:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Saving data from multiple cameras in 1 file.bag using IntelRealsense Viewer</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Saving-data-from-multiple-cameras-in-1-file-bag-using/m-p/666840#M15391</link>
      <description>&lt;P&gt;When I open the file with the Viewer I see only one image. During the acquisition I have one record button per camera. Depending on which one I press I save data from either one or the other camera. If I press both, then it saves two independent bag files. What do I do wrong?&lt;/P&gt;&lt;P&gt;Thank you for your patience.&lt;/P&gt;&lt;P&gt;Emanuela&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 22:41:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Saving-data-from-multiple-cameras-in-1-file-bag-using/m-p/666840#M15391</guid>
      <dc:creator>EZann1</dc:creator>
      <dc:date>2019-04-30T22:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Saving data from multiple cameras in 1 file.bag using IntelRealsense Viewer</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Saving-data-from-multiple-cameras-in-1-file-bag-using/m-p/666841#M15392</link>
      <description>&lt;P&gt;I ran some tests with two cameras (I only got a second camera last week, so this is the first time I have tried multi-cam recording).  You are correct, the record button for each tries to save the bag files separately.  I do apologize.  It does seem as though the cameras can be synced but the streams from each are stored in separate bag files.  I was not aware of this unfortunately, as today is the first time I have had experience with multi-cam recording.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 23:23:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Saving-data-from-multiple-cameras-in-1-file-bag-using/m-p/666841#M15392</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-04-30T23:23:26Z</dc:date>
    </item>
  </channel>
</rss>

