-
Notifications
You must be signed in to change notification settings - Fork 373
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
Camera stream example #1412
Comments
Hi @emilk,
|
Hi @Erol444! There is a way to discard old frames, but it's a bit of a hidden feature. This whole area is something we plan on improving very soon (probably next week). To test this at the moment you'll need to change your code to: rr.init("Webcam streaming test", spawn=False, default_enabled=False)
rr.connect() and then start the rerun viewer separately with: python -m rerun --memory-limit=8GB --drop-at-latency=200ms See: |
Hi @emilk ,
|
There's definitely something very wrong with the GC at the moment; it'll receive some love during this week. |
Resolved in: #1502 |
Hi @teh-cmc
Any news on this note specifically? |
Thanks @teh-cmc ! Was thinking of a more native "streaming but not saving" way. I know it's not in the main alley of "rerun" hah, but would be interesting feature for such cases. Perhaps more specifically, double/triple buffered per "name of stream" and that would be all in this mode (without having to wonder what memory limit to put) |
We should have an example where we stream data from a web-camera, and doing some simple things to it (e.g. edge detection).
This would demonstrate and test our memory pruning.
Part of this issue is also making memory pruning of such streaming ergonomic, both over network (
--connect
) and withspawn
.Related:
The text was updated successfully, but these errors were encountered: