nuscenes-data: Loading nuScenes Dataset in Rust
This project provides Rust implementation of nuScenes dataset loader, which format is defined on the nuScenes website.
Usage
Add the crate to your Rust project.
Import Dataset
type and use it to load the data directory. The
dataset version is "v1.0-trainval" in this example. You should able to
find the "/path/to/dataset/v1.0-trainval" directory.
use Dataset;
let dataset = load?;
The dataset contains many scenes. Use dataset.scene_iter()
to
iterate over scenes in the dataset. Scenes contain samples. Use
scene.sample_iter()
to iterate them.
for scene dataset.scene_iter
The complete tutorial can be found at the crate-level doc on docs.rs.
License
MIT license. See license file.