Use one of our logging APIs (Python or Rust) to log rich data, such as images and point clouds, to the Rerun Viewer, where it is visualized live or after the fact.
import rerun as rr
rr.init("my_app", spawn = True) # Spawn a Rerun Viewer and stream log events to it
rr.log_image("rgb_image", image)
rr.log_points("points", positions)
rr.log_rect("car", bbox)
…
- Python:
pip install rerun-sdk
- Rust:
cargo add rerun
- C / C++: Coming soon
Both the Python and Rust library can start the Rerun Viewer, but to stream log data over the network or load our .rrd
data files you also need the rerun
binary.
It can be installed with pip install rerun-sdk
or with cargo install rerun
.
You should now be able to run rerun --help
in any terminal.
We are in early beta. There are many features we want to add, and the API is still evolving. Expect breaking changes!
Some shortcomings:
- Big points clouds (1M+) are slow (#1136)
- The data you want to visualize must fit in RAM.
- See rerun-io#1138 for how to bound memory use
- We plan on having a disk-based data store some time in the future
- Additionally, Rerun is using more memory than it should at the moment (#1242)
- The Rust library takes a long time to compile
- We have way too many big dependencies, and we are planning on improving the situation (#1316)
Rerun uses an open-core model. Everything in this repository will stay open source and free (both as in beer and as in freedom). In the future, Rerun will offer a commercial product that builds on top of the core free project.
The Rerun open source project targets the needs of individual developers. The commercial product targets the needs specific to teams that build and run computer vision and robotics products.
- Download the correct
.whl
from GitHub Releases - Run
pip install rerun_sdk<...>.whl
(replace<...>
with the actual filename) - Test it:
rerun --version