Skip to content
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

less frames publish after filter in pyrealsense2 #6313

Closed
MikoyChinese opened this issue Apr 28, 2020 · 3 comments
Closed

less frames publish after filter in pyrealsense2 #6313

MikoyChinese opened this issue Apr 28, 2020 · 3 comments

Comments

@MikoyChinese
Copy link

When I run my D435 with (848, 480) resolution in depth and color, I can get more than 30fps(max: 49fps) in my device, but if I try to turn on filter such as spatial, temporal filter in my code, I just can get ~20 fps in my devices. And I check my cpu, it has only 30% usage while after filter is up to 40-50% usage.

So who can tell me why can't I get 30fps in my device? How to solve it? Thx.

Best,
Mikoy Chinese

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Apr 28, 2020

Applying post-processing filters has an additional processing overhead. The link below has advice for trying to enforce a constant FPS.

#1957 (comment)

An alternative way to improve performance is to offload some of the processing work from the CPU to the graphics GPU if your computing device has a good GPU.

#4905 (comment)

@dorodnic
Copy link
Contributor

Hi @MikoyChinese
Could you please share platform details?
If you are building SDK from source please make sure you enable -DCMAKE_BUILD_TYPE=Release flag

@MartyG-RealSense
Copy link
Collaborator

Case closed due to no further comments received.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants