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

only inferring a single image frame once for a huge performance boost #299

Closed
wants to merge 0 commits into from
Closed

Conversation

ghost
Copy link

@ghost ghost commented Feb 10, 2021

When I first used darknet_ros, I discovered a single image frame from a video camera was being used as the same input for inference redundantly up to 70 times on my NVidia Quadro RTX 3000!

So to use far less processing resources unnecessarily, this PR simply keeps track of the last consumed image frame ID to ensure it doesn't infer with it again.

@ghost
Copy link
Author

ghost commented Feb 10, 2021

This resolves these issues:
#150
ZhiangChen/target_mapping#8

@tomlankhorst
Copy link
Contributor

tomlankhorst commented Feb 13, 2021

Thanks for your contribution! We'll try to merge once tests pass.

@tomlankhorst
Copy link
Contributor

Accidentally closed this PR... reopened as #301

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

Successfully merging this pull request may close these issues.

1 participant