Skip to content

example: add mini camera sample rendering script#1198

Open
AKilalours wants to merge 1 commit into
nutonomy:masterfrom
AKilalours:example/render-mini-camera-samples
Open

example: add mini camera sample rendering script#1198
AKilalours wants to merge 1 commit into
nutonomy:masterfrom
AKilalours:example/render-mini-camera-samples

Conversation

@AKilalours
Copy link
Copy Markdown

@AKilalours AKilalours commented May 10, 2026

Summary

This PR adds a small example script for rendering camera samples from the nuScenes v1.0-mini dataset.

Why

New users often want a minimal script that loads the mini dataset, selects a sample, and renders the available camera views without needing to modify tutorial notebooks.

Changes

  • Added render_mini_camera_samples.py
  • Loads the v1.0-mini dataset by default
  • Selects a sample by index
  • Renders all available camera channels
  • Saves rendered images to an output directory
  • Prints useful sample and file metadata

Example

python python-sdk/nuscenes/scripts/render_mini_camera_samples.py \
    --dataroot /data/sets/nuscenes \
    --version v1.0-mini \
    --output-dir /tmp/nuscenes-mini-cameras

Testing

  • Verified script imports successfully
  • Documentation/example-only change
  • Checked diff locally

@AKilalours
Copy link
Copy Markdown
Author

Hi maintainers,

I opened this as a small example contribution to help new users render camera samples from the `v1.0-mini` dataset without modifying tutorial notebooks.

Happy to revise the file location, naming, or scope if you prefer a different structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant