SDK for working with sensor fusion scenes
Bumping the version at packages/sensor-fusion-io/py/pyproject.toml is required for the package to be published by CircleCI workflow. Otherwise, the publishing step will be successful but the upload itself will be skipped:
Publishing scale_sensor_fusion_io (0.4.8) to scale-pypi
- Uploading scale_sensor_fusion_io-0.4.8.tar.gz File exists. Skipping
Handled by CICD
- Create an account on pypi
- Ask to be added to this package project.
- Create a token (see here for more details)
- Add the token info to $HOME/.pypirc
[pypi]
username = __token__
password = <actual token without quotes>
- Install dependencies:
python3 -m pip install twine
python3 -m pip install build
- Build dist:
python3 -m build --sdist
- Upload to pypi:
twine upload dist/*
For scenes that span a large timeframe, the size of the resulting .sfs file may increase to multi-GBs. This is not ideal for loading onto LidarLite.
One easy way to reduce scene size is to encode camera content as video, as the video content can be more easily compressed. The tradeoff is the potentially reduced quality of images, but for labeling 3D scenes, this is often sufficient.
See utils/video_helpers/ for helper functions
Another option is to downsample lidar point clouds. If your scene is used primarily for cuboid annotation, we recommend voxel downsampling using voxel sizes of at most 20mm.
A good heuristic for efficient loading and labeling is to have a scene contain no more than 100,000 points.