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

Add more examples to manifest.yml #4342

Merged
merged 6 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions examples/cpp/eigen_opencv/README.md
Original file line number Diff line number Diff line change
@@ -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 <https://github.com/rerun-io/cpp-example-opencv-eigen/edit/main/README.md>.

<center>
<picture>
<img src="https://static.rerun.io/cpp-example-opencv-eigen/80ec7c698224eccb5ba1928136ba0a522d79b60a/full.png" alt="">
<source media="(max-width: 480px)" srcset="https://static.rerun.io/cpp-example-opencv-eigen/80ec7c698224eccb5ba1928136ba0a522d79b60a/480w.png">
<source media="(max-width: 768px)" srcset="https://static.rerun.io/cpp-example-opencv-eigen/80ec7c698224eccb5ba1928136ba0a522d79b60a/768w.png">
<source media="(max-width: 1024px)" srcset="https://static.rerun.io/cpp-example-opencv-eigen/80ec7c698224eccb5ba1928136ba0a522d79b60a/1024w.png">
<source media="(max-width: 1200px)" srcset="https://static.rerun.io/cpp-example-opencv-eigen/80ec7c698224eccb5ba1928136ba0a522d79b60a/1200w.png">
</picture>
</center>
23 changes: 23 additions & 0 deletions examples/cpp/vrs/README.md
Original file line number Diff line number Diff line change
@@ -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 <https://github.com/rerun-io/cpp-example-vrs>.

<picture>
<img src="https://static.rerun.io/cpp-example-vrs/c13ed42c13ecb65b0ef689533c0525ab97471e21/full.png" alt="">
<source media="(max-width: 480px)" srcset="https://static.rerun.io/cpp-example-vrs/c13ed42c13ecb65b0ef689533c0525ab97471e21/480w.png">
<source media="(max-width: 768px)" srcset="https://static.rerun.io/cpp-example-vrs/c13ed42c13ecb65b0ef689533c0525ab97471e21/768w.png">
<source media="(max-width: 1024px)" srcset="https://static.rerun.io/cpp-example-vrs/c13ed42c13ecb65b0ef689533c0525ab97471e21/1024w.png">
<source media="(max-width: 1200px)" srcset="https://static.rerun.io/cpp-example-vrs/c13ed42c13ecb65b0ef689533c0525ab97471e21/1200w.png">
</picture>
71 changes: 43 additions & 28 deletions examples/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -70,34 +78,34 @@ root:
- name: live-depth-sensor
python: python/live_depth_sensor

- name: rgbd
python: python/rgbd

- name: objectron
python: python/objectron
rust: rust/objectron

- name: ros-node
python: python/ros_node
- name: open-photogrammetry-format
python: python/open_photogrammetry_format

- name: raw-mesh
python: python/raw_mesh
rust: rust/raw_mesh

- name: rgbd
python: python/rgbd

- name: ros-node
python: python/ros_node

- name: segment-anything-model
python: python/segment_anything_model

- name: depth-guided-stable-diffusion
python: python/depth_guided_stable_diffusion

- name: controlnet
python: python/controlnet
- name: signed-distance-fields
python: python/signed_distance_fields

- name: detect-and-track-objects
python: python/detect_and_track_objects
- name: structure-from-motion
python: python/structure_from_motion

- name: face-tracking
python: python/face_tracking
- name: vrs
python: cpp/vrs

- name: artificial-data
title: Examples with Artificial Data
Expand All @@ -107,23 +115,29 @@ 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

- name: clock
python: python/clock
rust: rust/clock

- name: multiprocessing
python: python/multiprocessing
- name: eigen-opencv
python: cpp/eigen_opencv

- name: multithreading
python: python/multithreading

- name: multiprocessing
python: python/multiprocessing

- name: plots
python: python/plots

Expand All @@ -136,22 +150,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
Expand Down
4 changes: 2 additions & 2 deletions examples/python/open_photogrammetry_format/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ thumbnail_dimensions: [480, 310]
</picture>


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
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/).
4 changes: 4 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
Loading