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.
Or, check simple example in colab:
Setup
pip install volumentations
Usage example
import volumentations as V
import numpy as np
augmentation = V.Compose(
[
V.Scale3d(scale_limit=(0.2, 0.2, 0.1), p=0.75),
V.OneOrOther(
V.Compose(
[
V.RotateAroundAxis3d(
rotation_limit=np.pi, axis=(0, 0, 1), always_apply=True
),
V.RotateAroundAxis3d(
rotation_limit=np.pi / 3, axis=(0, 1, 0), always_apply=True
),
V.RotateAroundAxis3d(
rotation_limit=np.pi / 3, axis=(1, 0, 0), always_apply=True
),
],
p=1,
),
V.Flip3d(axis=(0, 0, 1)),
),
V.OneOf(
[
V.RandomDropout3d(dropout_ratio=0.2, p=0.75),
V.RandomDropout3d(dropout_ratio=0.3, p=0.5),
]
),
]
)
augmented_teapot = augmentation(points=teapot.copy())["points"]
show_augmentation(teapot, augmented_teapot)
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.9.tar.gz
(126.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file volumentations-0.1.9.tar.gz.
File metadata
- Download URL: volumentations-0.1.9.tar.gz
- Upload date:
- Size: 126.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aba5d1f79a905297d5ddc51af941a86ee61b01eb8832c1049aee4fb9b220b24a
|
|
| MD5 |
2dc3052122da1c6be4f38ad1f89302b5
|
|
| BLAKE2b-256 |
2d8cd9fd97d8bfb13007fde059e1e22b14cc1e88a7ef940b1d5d3b085e1d2774
|
File details
Details for the file volumentations-0.1.9-py3-none-any.whl.
File metadata
- Download URL: volumentations-0.1.9-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a660a5776269f520424d047ad5bfced7e60ae852b3c3c8bd3ba445cef4a8e19
|
|
| MD5 |
14d540c97a39dceeece80c274a505315
|
|
| BLAKE2b-256 |
b7045f4e659093c7860b3a390bb2850c2d92f5e815e253943a5f98c9eb7a8d0f
|