-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RSD455 can not get 90FPS at 480*270 resolution #7749
Comments
Hi @FrankCreen I ran a test at 480x270 RGB in the RealSense Viewer program at 90 FPS in RGB8 format with RGB Auto-Exposure disabled and Auto-Exposure Priority enabled and achieved 62 FPS. Having RGB Auto-Exposure enabled and Auto-Exposure Priority enabled provided 29 FPS. Running the test with RGB Auto-Exposure enabled and Auto-Exposure Priority disabled provided 90 FPS. This is because having AE enabled and AE Priority disabled forces the FPS to try to stay at a constant rate. If your project requires Auto-Exposure disabled then you can also fix the FPS to a constant rate by setting manual exposure to a certain range. If you decide to go for the method of Auto-Exposure Enabled and Auto-Exposure Prority disabled then the link below has C++ code for disabling AE Priority: |
Thanks for your detailed reply,I got some progress but not complete. I add the "Auto_Exposure " and "Auto_Exposure_Priority" setting option after the "pipe.start" , the output even far away from 90FPS. Test Program with exposure setting
Output
So,what I missed ? |
Depth and RGB have separate Auto Exposure, and it is the RGB Auto Exposure that should be enabled. Can you check whether you are setting Auto Exposure on the RGB sensor and not the Depth one please? It looks as though you should be using [1] as the index for query_sensors on the auto sensor1 line instead of [0] in order to set RGB exposure instead of depth exposure.
|
Haha,not change more@_@
There's no official tutorials about this. I found these code on the internet which work with D435. Does we have to add some other magic code to work with D455? |
You should not need special code for the script to work with D455. The sensor code looks okay to me. Could you verify please in the RealSense Viewer that you can achieve 90 FPS with RGB AE enabled and AE Priority disabled? If it can, then I would recommend investigating whether the frame / timecost formula for calculating the FPS printout is providing the correct result. The information overlay that provides the live FPS information can be toggled with the 'i' option on the top of the stream's panel. |
Hi Marty! I want to ask the difference between the "Hardware FPS" and "Viewer FPS".Futhermore,the "Actual fps" in the below. Thank you very much! |
The model-views.cpp SDK file provides the following explanation: Hardware FPS captures the number of frames per second produced by the device. It is possible and likely that not all of these frames will make it to the application. Viewer FPS captures how many frames the application manages to render. Frame drops can occur for variety of reasons. https://github.com/IntelRealSense/librealsense/blob/master/common/model-views.cpp#L2655 So the camera hardware may be successfully capturing at 90 FPS but there is some factor that is holding the FPS back when the data is rendered in the Viewer. In my own tests in the Viewer, I got around 62 FPS when set at 90 if I had RGB Auto-Exposure disabled and Auto-Exposure Priority enabled. Otherwise, if I had RGB Auto-Exposure enabled and Auto-Exposure Priority disabled then I got 90 FPS. |
Thanks! I solved my problem with a NVIDIA 1070ti GPU that supports opencv4 computation accleration. ^_^ |
Excellent news - thanks very much for the update! |
Case closed due to a successful outcome and no further comments received. |
Test Program
Output
The text was updated successfully, but these errors were encountered: