Name | albucore JSON |
Version |
0.0.21
JSON |
| download |
home_page | None |
Summary | High-performance image processing functions for deep learning and computer vision. |
upload_time | 2024-11-01 21:47:04 |
maintainer | Vladimir Iglovikov |
docs_url | None |
author | Vladimir Iglovikov |
requires_python | >=3.9 |
license | MIT License Copyright (c) 2024 Vladimir Iglovikov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
deep learning
image processing
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Albucore: High-Performance Image Processing Functions
Albucore is a library of optimized atomic functions designed for efficient image processing. These functions serve as the foundation for [Albumentations](https://github.com/albumentations-team/albumentations), a popular image augmentation library.
## Overview
Image processing operations can be implemented in various ways, each with its own performance characteristics depending on the image type, size, and number of channels. Albucore aims to provide the fastest implementation for each operation by leveraging different backends such as NumPy, OpenCV, and custom optimized code.
Key features:
- Optimized atomic image processing functions
- Automatic selection of the fastest implementation based on input image characteristics
- Seamless integration with Albumentations
- Extensive benchmarking for performance validation
## Installation
```bash
pip install albucore
```
## Usage
```python
import numpy as np
import albucore
# Create a sample image
image = np.random.randint(0, 256, (100, 100, 3), dtype=np.uint8)
# Apply a function
result = albucore.multiply(image, 1.5)
```
Albucore automatically selects the most efficient implementation based on the input image type and characteristics.
## Functions
Albucore includes optimized implementations for various image processing operations, including:
- Arithmetic operations (add, multiply, power)
- Normalization (per-channel, global)
- Geometric transformations (vertical flip, horizontal flip)
- Helper decorators (to_float, to_uint8)
## Performance
Albucore uses a combination of techniques to achieve high performance:
1. **Multiple Implementations**: Each function may have several implementations using different backends (NumPy, OpenCV, custom code).
2. **Automatic Selection**: The library automatically chooses the fastest implementation based on the input image type, size, and number of channels.
3. **Optimized Algorithms**: Custom implementations are optimized for specific use cases, often outperforming general-purpose libraries.
### Benchmarks
We maintain an extensive benchmark suite to ensure Albucore's performance across various scenarios. You can find the benchmarks and their results in the [benchmarks](./benchmarks/README.md) directory.
## License
MIT
## Acknowledgements
Albucore is part of the [Albumentations](https://github.com/albumentations-team/albumentations) project. We'd like to thank all contributors to [Albumentations](https://albumentations.ai/) and the broader computer vision community for their inspiration and support.
Raw data
{
"_id": null,
"home_page": null,
"name": "albucore",
"maintainer": "Vladimir Iglovikov",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "deep learning, image processing",
"author": "Vladimir Iglovikov",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/0c/a0/6ea5e152ddeea4d456ff471b502934ed5c72285588c6b3982c97a14377b5/albucore-0.0.21.tar.gz",
"platform": null,
"description": "# Albucore: High-Performance Image Processing Functions\n\nAlbucore is a library of optimized atomic functions designed for efficient image processing. These functions serve as the foundation for [Albumentations](https://github.com/albumentations-team/albumentations), a popular image augmentation library.\n\n## Overview\n\nImage processing operations can be implemented in various ways, each with its own performance characteristics depending on the image type, size, and number of channels. Albucore aims to provide the fastest implementation for each operation by leveraging different backends such as NumPy, OpenCV, and custom optimized code.\n\nKey features:\n\n- Optimized atomic image processing functions\n- Automatic selection of the fastest implementation based on input image characteristics\n- Seamless integration with Albumentations\n- Extensive benchmarking for performance validation\n\n## Installation\n\n```bash\npip install albucore\n```\n\n## Usage\n\n```python\nimport numpy as np\nimport albucore\n# Create a sample image\nimage = np.random.randint(0, 256, (100, 100, 3), dtype=np.uint8)\n# Apply a function\nresult = albucore.multiply(image, 1.5)\n```\n\nAlbucore automatically selects the most efficient implementation based on the input image type and characteristics.\n\n## Functions\n\nAlbucore includes optimized implementations for various image processing operations, including:\n\n- Arithmetic operations (add, multiply, power)\n- Normalization (per-channel, global)\n- Geometric transformations (vertical flip, horizontal flip)\n- Helper decorators (to_float, to_uint8)\n\n## Performance\n\nAlbucore uses a combination of techniques to achieve high performance:\n\n1. **Multiple Implementations**: Each function may have several implementations using different backends (NumPy, OpenCV, custom code).\n2. **Automatic Selection**: The library automatically chooses the fastest implementation based on the input image type, size, and number of channels.\n3. **Optimized Algorithms**: Custom implementations are optimized for specific use cases, often outperforming general-purpose libraries.\n\n### Benchmarks\n\nWe maintain an extensive benchmark suite to ensure Albucore's performance across various scenarios. You can find the benchmarks and their results in the [benchmarks](./benchmarks/README.md) directory.\n\n## License\n\nMIT\n\n## Acknowledgements\n\nAlbucore is part of the [Albumentations](https://github.com/albumentations-team/albumentations) project. We'd like to thank all contributors to [Albumentations](https://albumentations.ai/) and the broader computer vision community for their inspiration and support.\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2024 Vladimir Iglovikov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "High-performance image processing functions for deep learning and computer vision.",
"version": "0.0.21",
"project_urls": null,
"split_keywords": [
"deep learning",
" image processing"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d8b841537088d6aa172df97dc68e90e5702b7544674b075733d3e502ff2ae941",
"md5": "233373239e5179221bbc4056d21ad7df",
"sha256": "4a635e0bd969780d3891ece0fff9825f26f584b35df49b247a7938afd524daec"
},
"downloads": -1,
"filename": "albucore-0.0.21-py3-none-any.whl",
"has_sig": false,
"md5_digest": "233373239e5179221bbc4056d21ad7df",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 12162,
"upload_time": "2024-11-01T21:47:03",
"upload_time_iso_8601": "2024-11-01T21:47:03.613778Z",
"url": "https://files.pythonhosted.org/packages/d8/b8/41537088d6aa172df97dc68e90e5702b7544674b075733d3e502ff2ae941/albucore-0.0.21-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0ca06ea5e152ddeea4d456ff471b502934ed5c72285588c6b3982c97a14377b5",
"md5": "f9feedf5f42eb6cbcd10226afa9f6ad5",
"sha256": "345ea0bdb0788dfda2111f56b790b642a46c87a588b7e94c1ee6abd2b20bfdea"
},
"downloads": -1,
"filename": "albucore-0.0.21.tar.gz",
"has_sig": false,
"md5_digest": "f9feedf5f42eb6cbcd10226afa9f6ad5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 13905,
"upload_time": "2024-11-01T21:47:04",
"upload_time_iso_8601": "2024-11-01T21:47:04.919619Z",
"url": "https://files.pythonhosted.org/packages/0c/a0/6ea5e152ddeea4d456ff471b502934ed5c72285588c6b3982c97a14377b5/albucore-0.0.21.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-01 21:47:04",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "albucore"
}