-
Notifications
You must be signed in to change notification settings - Fork 4.7k
low image fps while using simGetImage python API #3070
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
Comments
@cdbharath There are a couple "tricks" you can do to get slightly higher frame rates.
|
Also, the FPS rate of Airsim is something under pretty active development by many working on this project. It has already gotten much better over the past couple months but still needs some improving. |
@m1baldwin I tried all your suggestions
Are there any other ways? The recent FPS rate development are already pushed into the repository? |
@cdbharath Thanks for the follow-up. Some of the improvements are in the main repo, but some have also been removed due to causing Urneal engine to fail. I think predominantly they were for the Unreal engine use cases so not sure how much they will help you. I'm not familiar with using Unity in this case. |
Duplicate (sort of) of #2026 |
@m1baldwin Thanks for your advice but for 4, how to get the uncompressed RGB image? Simply by modifying as 'Recording: Cameras: Compress: false' in |
@ICYPOLE point 4 is if you are requesting the images via the python API. There are flags in the image request api you can set to change whether the image returned is compressed or uncompressed |
Haven't tested the setting in the settings.json file but maybe that has a similar effect |
There are some programming examples on this page to get compressed or uncompressed images: https://microsoft.github.io/AirSim/image_apis/#python_1 |
After running some tests with the image_benchmarker.py script, there doesn't appear to be any significant difference in performance after applying #4147, so I am reopening this issue. |
Uh oh!
There was an error while loading. Please reload this page.
I am trying to apply image processing techniques on image stream received from simGetImage API. I want an image stream of 30 fps. But the image stream I get from simGetImage gives an fps of 10-12. The simulation fps (50 fps) is good when simGetImage API is not used.
My code (ROS wrapper):
OS : Ubuntu 18.04
Game Engine : Unity 2020.1.4f1
Other answers I saw were mostly related to projects depending on Unreal Engine (as opposed to mine)
I want my camera fps to be equal to or more than 30 fps. How do I achieve this?
The text was updated successfully, but these errors were encountered: