<?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 can't reach 60FPS with PyRealsense2 in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634242#M14151</link>
    <description>Hello SHuan76,

Great news! If you want a higher number of FPS, you can use Intel RealSense Viewer to record the bag file.

Thank you,
Eliza</description>
    <pubDate>Thu, 11 Apr 2019 21:24:25 GMT</pubDate>
    <dc:creator>Eliza_D_Intel</dc:creator>
    <dc:date>2019-04-11T21:24:25Z</dc:date>
    <item>
      <title>D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634239#M14148</link>
      <description>&lt;P&gt;Sorry for my poor English.&lt;/P&gt;&lt;P&gt;I want to record only RGB video with PyRealsense2 and opencv-python, the config is below:&lt;/P&gt;&lt;P&gt;config.enable_stream(rs.stream.color, 640, 480, rs.format.bgr8, 60)&lt;/P&gt;&lt;P&gt;But when I replayed the video I've recorded, I found that the number of frames is smaller than 60*the_time_I_spent_recording_in_seconds, in other words, the FPS is smaller than 60 (just 30 to 33).&lt;/P&gt;&lt;P&gt;My USB port is 3.2 and I prefer recording video with Python rather than Realsense Viewer.&lt;/P&gt;&lt;P&gt;Thnak you in advance for your apply.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 18:09:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634239#M14148</guid>
      <dc:creator>SHuan76</dc:creator>
      <dc:date>2019-04-10T18:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634240#M14149</link>
      <description>Hello SHuan76,

Thank you for your interest in the Intel RealSense D435 camera.

Could you please record a video with only 30 FPS and let us know what will be the number of frames received?

Thank you,
Eliza</description>
      <pubDate>Wed, 10 Apr 2019 22:06:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634240#M14149</guid>
      <dc:creator>Eliza_D_Intel</dc:creator>
      <dc:date>2019-04-10T22:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634241#M14150</link>
      <description>&lt;P&gt;Hello, ElizaD_Intel, &lt;/P&gt;&lt;P&gt;I recorded a video with 30 FPS.&lt;/P&gt;&lt;P&gt;It received 1800 frames in 60.38 seconds (29.81FPS), so I think 30FPS works well.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 21:06:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634241#M14150</guid>
      <dc:creator>SHuan76</dc:creator>
      <dc:date>2019-04-11T21:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634242#M14151</link>
      <description>Hello SHuan76,

Great news! If you want a higher number of FPS, you can use Intel RealSense Viewer to record the bag file.

Thank you,
Eliza</description>
      <pubDate>Thu, 11 Apr 2019 21:24:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634242#M14151</guid>
      <dc:creator>Eliza_D_Intel</dc:creator>
      <dc:date>2019-04-11T21:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634243#M14152</link>
      <description>&lt;P&gt;Thanks for your reply, but I don't want to use Realsense Viewer cause the size of bag file is too big.&lt;/P&gt;&lt;P&gt;I ​prefer using Python code to record 60FPS video with Pyrealsense2 and opencv.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 16:00:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634243#M14152</guid>
      <dc:creator>SHuan76</dc:creator>
      <dc:date>2019-04-12T16:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634244#M14153</link>
      <description>Hello SHuan76,

You can check out this article, where it is explained how to increase the number of FPS recorded with Python and OpenCV. &lt;A href="https://www.pyimagesearch.com/2015/12/21/increasing-webcam-fps-with-python-and-opencv/"&gt;https://www.pyimagesearch.com/2015/12/21/increasing-webcam-fps-with-python-and-opencv/&lt;/A&gt;

Thank you,
Eliza</description>
      <pubDate>Fri, 12 Apr 2019 20:19:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634244#M14153</guid>
      <dc:creator>Eliza_D_Intel</dc:creator>
      <dc:date>2019-04-12T20:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634245#M14154</link>
      <description>&lt;P&gt;Hello, ElizaD_Intel, &lt;/P&gt;&lt;P&gt;I tried that approach a few days ago, the drawback of this approach is that you can increase the FPS but can't control the FPS to be stable.&lt;/P&gt;&lt;P&gt;According to the datasheet of D435 (&lt;A href="https://www.mouser.com/pdfdocs/Intel_D400_Series_Datasheet.pdf" target="_self" alt="https://www.mouser.com/pdfdocs/Intel_D400_Series_Datasheet.pdf"&gt;&lt;/A&gt;&lt;A href="https://www.mouser.com/pdfdocs/Intel_D400_Series_Datasheet.pdf"&gt;https://www.mouser.com/pdfdocs/Intel_D400_Series_Datasheet.pdf&lt;/A&gt;), D435 should support 60FPS well on resolution 640*480.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="擷取.PNG"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/3908iEC50968E7430B766/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="擷取.PNG" alt="擷取.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;SHuan.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 22:00:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634245#M14154</guid>
      <dc:creator>SHuan76</dc:creator>
      <dc:date>2019-04-12T22:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634246#M14155</link>
      <description>Hi SHuan,

I apologize for the delay in responding. 
Are you just modifying the Python opencv_viewer_example to stream only RBG at 60 fps? When you stream at 6 or 15 fps, are you still getting an incorrect number of frames? I'll reproduce this in the lab and get back to you with my findings.

Best Regards,
Sahira</description>
      <pubDate>Sat, 20 Apr 2019 03:56:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634246#M14155</guid>
      <dc:creator>Sahira_Intel</dc:creator>
      <dc:date>2019-04-20T03:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634247#M14156</link>
      <description>&lt;P&gt;Hello, sahira, &lt;/P&gt;&lt;P&gt;I use Pyrealsense2 to get rgb frames and use opencv-python to write these frames into a video.&lt;/P&gt;&lt;P&gt;30 fps works well, but I fail to get rgb frames in 60 fps.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 20:51:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634247#M14156</guid>
      <dc:creator>SHuan76</dc:creator>
      <dc:date>2019-04-22T20:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634248#M14157</link>
      <description>Hi SHuan,
Can you please provide your code? I'd like to run your exact program on my system. What FPS are you getting when using the RealSense Viewer while doing regular streaming without recording and when recording a bag file?
Regards,
Sahira</description>
      <pubDate>Fri, 26 Apr 2019 01:40:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634248#M14157</guid>
      <dc:creator>Sahira_Intel</dc:creator>
      <dc:date>2019-04-26T01:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634249#M14158</link>
      <description>&lt;P&gt;Here's my code.&lt;/P&gt;&lt;P&gt;I run it on Jupyter Notebook. After running the code, you can see the RGB stream, press 'R' will start recording, and  the stream will freeze, and press 'Q' will store the video.&lt;/P&gt;&lt;P&gt;**********************&lt;/P&gt;&lt;P&gt;import pyrealsense2 as rs&lt;/P&gt;&lt;P&gt;import numpy as np&lt;/P&gt;&lt;P&gt;import cv2&lt;/P&gt;&lt;P&gt;import datetime as dt&lt;/P&gt;&lt;P&gt;import threading as th&lt;/P&gt;&lt;P&gt;import multiprocessing as mp&lt;/P&gt;&lt;P&gt;import time&lt;/P&gt;&lt;P&gt;import os&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;class RGBRecordingClass(th.Thread):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;def __init__(self, out, queue):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;super(RGBRecordingClass, self).__init__()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.stop_flag = th.Event()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.stop_flag.set()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.out = out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.queue = queue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;def run(self):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while self.stop_flag.isSet():&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if not self.queue.empty():&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.out.write(self.queue.get())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print('RGB Thread Exitted')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;def stop(self):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.stop_flag.clear()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pipeline = rs.pipeline()&lt;/P&gt;&lt;P&gt;config = rs.config()&lt;/P&gt;&lt;P&gt;config.enable_stream(rs.stream.color, 640, 480, rs.format.bgr8, 30)&lt;/P&gt;&lt;P&gt;pipeline.start(config)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;directory_path = '0429'&lt;/P&gt;&lt;P&gt;if not os.path.exists(directory_path):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;os.mkdir(directory_path)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rgb_queue = mp.Queue()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;frame_count=0&lt;/P&gt;&lt;P&gt;start_record = False&lt;/P&gt;&lt;P&gt;rgb_video_name = directory_path+'/rgb.avi'&lt;/P&gt;&lt;P&gt;fourcc = cv2.VideoWriter_fourcc(*'XVID')&lt;/P&gt;&lt;P&gt;out = cv2.VideoWriter(rgb_video_name, fourcc, 30, (640, 480))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rgb_thd = RGBRecordingClass(out, rgb_queue)&lt;/P&gt;&lt;P&gt;rgb_thd.start()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;while True:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# Wait for a coherent pair of frames: depth and color&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;frames = pipeline.wait_for_frames()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;color_frame = frames.get_color_frame()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if not color_frame:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print('not ready')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# Convert images to numpy arrays&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;color_image = np.asanyarray(color_frame.get_data())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if start_record:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rgb_queue.put(color_image)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;frame_count+=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# Show images&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if not start_record:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cv2.imshow('frame', color_image)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if cv2.waitKey(10) &amp;amp; 0xFF == ord('r'):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;start_record = True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print('start recording...')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print(str(dt.datetime.now()))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if cv2.waitKey(10) &amp;amp; 0xFF == ord('q'):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;break&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;finally:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;# Stop streaming&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;print('end')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;print('file saved')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;print(frame_count)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;print(str(dt.datetime.now()))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;cv2.destroyAllWindows()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;out.release()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;pipeline.stop()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;rgb_thd.stop()&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 09:15:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634249#M14158</guid>
      <dc:creator>SHuan76</dc:creator>
      <dc:date>2019-04-29T09:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634250#M14159</link>
      <description>&lt;P&gt;When I use RealSense Viewer to do streaming, 30 and 60 FPS both work well on 640*480 resolution, whether it's recording a bag file or not.&lt;/P&gt;&lt;P&gt;But the bag file is really too big, so it's excluded from my consideration.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 09:33:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634250#M14159</guid>
      <dc:creator>SHuan76</dc:creator>
      <dc:date>2019-04-29T09:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634251#M14160</link>
      <description>&lt;P&gt;Supplement for the code above:&lt;/P&gt;&lt;P&gt;frame_count is the number of frames recorded, and it will show the time starting recording and finishing recording.&lt;/P&gt;&lt;P&gt;I calculate FPS  by frame_count/(end time-start time)&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 09:39:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634251#M14160</guid>
      <dc:creator>SHuan76</dc:creator>
      <dc:date>2019-04-29T09:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634252#M14161</link>
      <description>Hello SirNight,

Try setting the RS2_OPTION_AUTO_EXPOSURE_PRIORITY option to 0 to maintain constant FPS. If RS2_OPTION_AUTO_EXPOSURE_PRIORITY is set to 1, then FPS will fluctuate. Let us know if this solves your problem. You can test with a live stream on RealSense Viewer.

Regards,
Jesus
Intel Customer Suppor</description>
      <pubDate>Tue, 30 Apr 2019 05:40:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634252#M14161</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2019-04-30T05:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634253#M14162</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="擷取2.PNG"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/3909i515700F7CC3363C2/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="擷取2.PNG" alt="擷取2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="擷取1.PNG"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/3910iB9B550455A42801D/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="擷取1.PNG" alt="擷取1.PNG" /&gt;&lt;/span&gt;It's strange that when I enable auto exposure, the fps can reach 60 fps.&lt;/P&gt;&lt;P&gt;When I turn off auto exposure, the fps will drop to 32 fps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 17:25:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634253#M14162</guid>
      <dc:creator>SHuan76</dc:creator>
      <dc:date>2019-05-03T17:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634254#M14163</link>
      <description>&lt;P&gt;Besides, may you teach me how to set auto exposure with Pyrealsense2 (Python code)?&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 17:26:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634254#M14163</guid>
      <dc:creator>SHuan76</dc:creator>
      <dc:date>2019-05-03T17:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634255#M14164</link>
      <description>You want to set AUTO_EXPOSURE_PRIORITY, not AUTO_EXPOSURE. In your current settings, you may want to check your Exposure value. If it's high, the FPS will drop. Here is sample code for setting sensor options in Python:

import pyrealsense2 as rs
pipeline = rs.pipeline()
config = rs.config()
profile = pipeline.start(config) # Start streaming
sensor_dep = profile.get_device().first_depth_sensor()
print "Trying to set auto_exposure_priority"
exp = sensor_dep.get_option(rs.option.auto_exposure_priority)
print "exposure = %d" % exp
print "Setting AUTO_EXPOSURE_PRIORITY to new value"
exp = sensor_dep.set_option( rs.option.auto_exposure_priority, 0)
exp = sensor_dep.get_option(rs.option.auto_exposure_priority)
print "New AUTO_EXPOSURE_PRIORITY = %d" % exp
profile = pipeline.stop


You can find the full list of options in rs_option.h file. The Python wrapper exposes all these options like this:

RS2_OPTION_EXPOSURE -&amp;gt; rs.option.exposure
RS2_OPTION_ENABLE_AUTO_EXPOSURE -&amp;gt; rs.option.enable_auto_exposure
RS2_OPTION_AUTO_EXPOSURE_PRIORITY -&amp;gt; rs.option.auto_exposure_priority

In RealSense Viewer, you will find the control for Auto Exposure Priority under the RGB Controls menu.
Regards,
Jesus
Intel Customer Support</description>
      <pubDate>Sat, 04 May 2019 00:53:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634255#M14164</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2019-05-04T00:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634256#M14165</link>
      <description>&lt;P&gt;Hi Jesus G.,&lt;/P&gt;&lt;P&gt;I've tried both opening and closing auto exposure, &lt;/P&gt;&lt;P&gt;but the fps still stuck at about 32.&lt;/P&gt;&lt;P&gt;Also, whether I set rs.option.auto_exposure_priority to 0 or 1, the fps still can't rise to 60.&lt;/P&gt;&lt;P&gt;I really want to record a video in 60fps.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 20:31:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634256#M14165</guid>
      <dc:creator>SHuan76</dc:creator>
      <dc:date>2019-05-07T20:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634257#M14166</link>
      <description>Have you re-tested with RealSense Viewer? If you record with Python then replay in RS Viewer, what FPS do you get? You can see the FPS by clicking the "i" icon on the top of the stream window.</description>
      <pubDate>Wed, 08 May 2019 23:59:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634257#M14166</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2019-05-08T23:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: D435 can't reach 60FPS with PyRealsense2</title>
      <link>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634258#M14167</link>
      <description>&lt;P&gt;The file format I record the RGB video is .avi, so it can't be replayed with RS viewer.&lt;/P&gt;&lt;P&gt;The way how I count average FPS is (The number of frames catched)/(Total recording time).&lt;/P&gt;&lt;P&gt;I pasted the code 10 days ago above, replying to sahira.rizvi.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 08:57:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/D435-can-t-reach-60FPS-with-PyRealsense2/m-p/634258#M14167</guid>
      <dc:creator>SHuan76</dc:creator>
      <dc:date>2019-05-09T08:57:55Z</dc:date>
    </item>
  </channel>
</rss>

