From 41ead496904f79b992e38ce7c1cf32c8dfbc5caf Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 27 Nov 2023 12:12:11 +0100 Subject: [PATCH 1/6] Add Open Photogrammetry Example to manifest.yml --- examples/manifest.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/manifest.yml b/examples/manifest.yml index 1d70c0d44394..b892188687f9 100644 --- a/examples/manifest.yml +++ b/examples/manifest.yml @@ -77,6 +77,9 @@ root: python: python/objectron rust: rust/objectron + - name: open-photogrammetry-format + python: python/open_photogrammetry_format + - name: ros-node python: python/ros_node From bcbee579dd7bffd4b4c0c2783dc50598eaf1fb18 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 27 Nov 2023 12:20:08 +0100 Subject: [PATCH 2/6] Sort the examples --- examples/manifest.yml | 68 +++++++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 31 deletions(-) diff --git a/examples/manifest.yml b/examples/manifest.yml index b892188687f9..61c4073e57b8 100644 --- a/examples/manifest.yml +++ b/examples/manifest.yml @@ -49,18 +49,26 @@ root: For the simplest possible examples showing how to use each api, check out [Types](/docs/reference/types). children: + # Keep this list lexicographically sorted: + - name: arkit_scenes python: python/arkit_scenes - - name: structure-from-motion - python: python/structure_from_motion + - name: controlnet + python: python/controlnet - - name: signed-distance-fields - python: python/signed_distance_fields + - name: depth-guided-stable-diffusion + python: python/depth_guided_stable_diffusion + + - name: detect-and-track-objects + python: python/detect_and_track_objects - name: dicom-mri python: python/dicom_mri + - name: face-tracking + python: python/face_tracking + - name: human-pose-tracking python: python/human_pose_tracking @@ -70,9 +78,6 @@ root: - name: live-depth-sensor python: python/live_depth_sensor - - name: rgbd - python: python/rgbd - - name: objectron python: python/objectron rust: rust/objectron @@ -80,27 +85,24 @@ root: - name: open-photogrammetry-format python: python/open_photogrammetry_format - - name: ros-node - python: python/ros_node - - name: raw-mesh python: python/raw_mesh rust: rust/raw_mesh - - name: segment-anything-model - python: python/segment_anything_model + - name: rgbd + python: python/rgbd - - name: depth-guided-stable-diffusion - python: python/depth_guided_stable_diffusion + - name: ros-node + python: python/ros_node - - name: controlnet - python: python/controlnet + - name: segment-anything-model + python: python/segment_anything_model - - name: detect-and-track-objects - python: python/detect_and_track_objects + - name: signed-distance-fields + python: python/signed_distance_fields - - name: face-tracking - python: python/face_tracking + - name: structure-from-motion + python: python/structure_from_motion - name: artificial-data title: Examples with Artificial Data @@ -110,10 +112,13 @@ root: For the simplest possible examples showing how to use each api, check out [Types](/docs/reference/types). children: + # Always show the simple "minimal" example first: - name: minimal python: python/minimal rust: rust/minimal + # Keep the following examples lexicographically sorted: + - name: car python: python/car @@ -121,12 +126,12 @@ root: python: python/clock rust: rust/clock - - name: multiprocessing - python: python/multiprocessing - - name: multithreading python: python/multithreading + - name: multiprocessing + python: python/multiprocessing + - name: plots python: python/plots @@ -139,22 +144,23 @@ root: For the simplest possible examples showing how to use each api, check out [Types](/docs/reference/types). children: + # Keep this list lexicographically sorted: - name: differentiable_blocks_world python: python/differentiable_blocks_world - - name: tapir - python: python/tapir - - name: widebaseline - python: python/widebaseline - - name: shape_pointe - python: python/shape_pointe - name: limap python: python/limap - - name: simplerecon - python: python/simplerecon - name: mcc python: python/mcc + - name: shape_pointe + python: python/shape_pointe + - name: simplerecon + python: python/simplerecon - name: slahmr python: python/slahmr + - name: tapir + python: python/tapir + - name: widebaseline + python: python/widebaseline - name: setup title: Setup From ef2d626092599f0b0d79886585f0a77dc1df8aa6 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 27 Nov 2023 12:20:19 +0100 Subject: [PATCH 3/6] Improve OPF readme --- examples/python/open_photogrammetry_format/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/python/open_photogrammetry_format/README.md b/examples/python/open_photogrammetry_format/README.md index 12e8b26e4a67..87eaadb7b3d3 100644 --- a/examples/python/open_photogrammetry_format/README.md +++ b/examples/python/open_photogrammetry_format/README.md @@ -15,7 +15,7 @@ thumbnail_dimensions: [480, 310] -Use [pyopf](https://github.com/Pix4D/pyopf) to load and display a photogrammetrically reconstructed 3D point cloud in the Open Photogrammetry Format (OPF). +Uses [`pyopf`](https://github.com/Pix4D/pyopf) to load and display a photogrammetrically reconstructed 3D point cloud in the [Open Photogrammetry Format (OPF)](https://www.pix4d.com/open-photogrammetry-format/). ```bash @@ -23,4 +23,4 @@ pip install -r examples/python/open_photogrammetry_format/requirements.txt python examples/python/open_photogrammetry_format/main.py ``` -Requires Python 3.10 or higher because of [pyopf](https://pypi.org/project/pyopf/). +Requires Python 3.10 or higher because of [`pyopf`](https://pypi.org/project/pyopf/). From 0936a98674948c79b03b7a108155cd1e1dd8a192 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 27 Nov 2023 12:21:29 +0100 Subject: [PATCH 4/6] Add `just rerun-web-release` shortcut for starting release web-viewer --- justfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/justfile b/justfile index b0f0c7970e02..713b4180b865 100644 --- a/justfile +++ b/justfile @@ -155,6 +155,10 @@ rerun-release *ARGS: rerun-web *ARGS: cargo run --package rerun-cli --no-default-features --features web_viewer -- --web-viewer {{ARGS}} +# like `rerun-web-release`, but with --release +rerun-web-release *ARGS: + cargo run --package rerun-cli --no-default-features --features web_viewer --release -- --web-viewer {{ARGS}} + # Run the codegen. Optionally pass `--profile` argument if you want. codegen *ARGS: pixi run codegen {{ARGS}} From 6091a687d8daad7e1690cdec8e68a7b3cbcd08f2 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 27 Nov 2023 12:47:56 +0100 Subject: [PATCH 5/6] Add VRS example Part of https://github.com/rerun-io/rerun/issues/4315 --- examples/cpp/vrs/README.md | 23 +++++++++++++++++++++++ examples/manifest.yml | 3 +++ 2 files changed, 26 insertions(+) create mode 100644 examples/cpp/vrs/README.md diff --git a/examples/cpp/vrs/README.md b/examples/cpp/vrs/README.md new file mode 100644 index 000000000000..3084b905daba --- /dev/null +++ b/examples/cpp/vrs/README.md @@ -0,0 +1,23 @@ +--- +title: "VRS Viewer" +cpp: https://github.com/rerun-io/cpp-example-vrs +tags: [2D, 3D, vrs, viewer, C++] +thumbnail: https://static.rerun.io/cpp-example-vrs/c13ed42c13ecb65b0ef689533c0525ab97471e21/480w.png +thumbnail_dimensions: [480, 405] +--- + +# C++ Example: VRS Viewer + +This is an example that shows how to use [Rerun](https://github.com/rerun-io/rerun)'s C++ API to log and view [VRS](https://github.com/facebookresearch/vrs) files. + +> VRS is a file format optimized to record & playback streams of sensor data, such as images, audio samples, and any other discrete sensors (IMU, temperature, etc), stored in per-device streams of time-stamped records. + +You can find the example at . + + + + + + + + diff --git a/examples/manifest.yml b/examples/manifest.yml index 61c4073e57b8..72746e2b989f 100644 --- a/examples/manifest.yml +++ b/examples/manifest.yml @@ -104,6 +104,9 @@ root: - name: structure-from-motion python: python/structure_from_motion + - name: vrs + python: cpp/vrs + - name: artificial-data title: Examples with Artificial Data prelude: | From 1598cc75e9a913ae43866e2ab570ea9cce0d4110 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 27 Nov 2023 14:09:55 +0100 Subject: [PATCH 6/6] Add Eigen+OpenCV example --- examples/cpp/eigen_opencv/README.md | 23 +++++++++++++++++++++++ examples/manifest.yml | 3 +++ 2 files changed, 26 insertions(+) create mode 100644 examples/cpp/eigen_opencv/README.md diff --git a/examples/cpp/eigen_opencv/README.md b/examples/cpp/eigen_opencv/README.md new file mode 100644 index 000000000000..986f1671e994 --- /dev/null +++ b/examples/cpp/eigen_opencv/README.md @@ -0,0 +1,23 @@ +--- +title: "Eigen and OpenCV C++ integration" +cpp: https://github.com/rerun-io/cpp-example-opencv-eigen/edit/main/README.md +tags: [2D, 3D, C++, Eigen, OpenCV] +thumbnail: https://static.rerun.io/cpp-example-opencv-eigen/80ec7c698224eccb5ba1928136ba0a522d79b60a/480w.png +thumbnail_dimensions: [480, 261] +--- + +# Eigen and OpenCV C++ integration + +This is a minimal CMake project that shows how to use Rerun in your code in conjunction with [Eigen](https://eigen.tuxfamily.org/) and [OpenCV](https://opencv.org/). + +You can find the example at . + +
+ + + + + + + +
diff --git a/examples/manifest.yml b/examples/manifest.yml index 72746e2b989f..fd5d7c5b371e 100644 --- a/examples/manifest.yml +++ b/examples/manifest.yml @@ -129,6 +129,9 @@ root: python: python/clock rust: rust/clock + - name: eigen-opencv + python: cpp/eigen_opencv + - name: multithreading python: python/multithreading