Point augmentations library as hard-fork of albu-team/albumentations
Project description
Volumentations
Python library for 3d data augmentaiton. Hard fork from alumentations.
For more information on available augmentations check documentation.
Setup
pip install volumentations
Usage example
import volumentations as V
import numpy as np
volume_aug = V.Compose(
[
V.Scale3d(scale_limit=[0.1, 0.1, 0.1], bias=[1, 1, 1]),
V.RotateAroundAxis3d(axis=[0, 0, 1], rotation_limit=np.pi / 6),
V.RotateAroundAxis3d(axis=[0, 1, 0], rotation_limit=np.pi / 6),
V.RotateAroundAxis3d(axis=[1, 0, 0], rotation_limit=np.pi / 6),
V.RandomDropout3d(dropout_ratio=0.2),
]
)
original_point_cloud = np.empty((1000, 3))
augmented_point_cloud = volume_aug(points=original_point_cloud)["points"]
# So far the package in WIP stage
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
volumentations-0.1.2.tar.gz
(14.3 kB
view hashes)
Built Distribution
Close
Hashes for volumentations-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bc5b5795f2c417187760b875bf49bd0a26e7aaf9c4999c93995fd7a71cb4206 |
|
MD5 | 4f9931dc239121789292e45c5e79fb8a |
|
BLAKE2b-256 | a8cc4a564508691e87d7a7f670cfa1e1ef43e5df61f88266dfcba71637740aa9 |