{ "info": { "author": "Laura Lu", "author_email": "new4spam@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Image augmentation library\n\nThis image augmentation library can be used to crop, flip, blur, sharpen, mix channels, overlay images.\nThe main idea is to use only numpy library to perform these tasks.\nAugmented images can be used for Machine Learning projects\n\n# Getting it\n\nTo download augmentation_lib, either fork this github repo or simply use Pypi via pip.\n```\n$ pip install augmentation-lib\n```\n# Features\n\nThis library performs different types of augmentation.\n\n## Crops:\n\n`center_crop_px` takes an image, width and height in pixels and returns center cropped image.\n\n`center_crop_percents` takes an image and size in percents (0 - 1) and returns center cropped image.\n\n`crop_px` takes an image starting point for cropping, width and height in pixels and returns cropped image.\n\n`crop_percents` takes an image starting point (height_coordinate, width_coordinate) in px, and size (height, width) in percents for cropping.\n\n`random_crop_px` takes a cropping size in pixels and randomly crops an image.\n\n`random_crop_percents` takes a cropping size in percents (0 - 1) and randomly crops an image.\n\n## Flips:\n\n`flip_horizontal` takes an image and flips it horizontally.\n\n`flip_vertical` takes an image and flips it vertically.\n\n## Padding:\n\n`zero_pad` takes an image and pads it with zeros by specified number of pixels.\n\n## Convolution:\n\n`conv_one_step` performs convolution for specified slice.\n\n`convolution_one_layer` performs one image layer convolution.\n\n`full_convolution` performs image convolution by specified kernel.\n\n## Dropouts:\n\n`dropout_random` performs random dropout of image pixels.\n\n`dropout` performs dropout of image pixels by specified intensity in percents (0 - 1).\n\n## Other augmentation:\n\n`shuffle` performs shuffle of image layers by specified order.\n\n`jitter` performs color jitter of one specified or random image layer. One of the color channels of the image is modified adding or subtracting a random and bounded value.\n\n`opacity` makes an image transparent.\n\n`opacity_object` makes an image background transparent, works better with object images.\n\n`overlay2_images` overlay 2 images with applied transparency.\n\n`resize_np` resize image using numpy and Nearest Neighbor Interpolation.\n\n# Showcase\n\nMore info about using this library you can find in:\nhttps://github.com/laume/augmentation_lib/blob/master/augmentation_lib/showcase.ipynb", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/laume/augmentation_lib", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/laume/augmentation_lib", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "augmentation-lib", "package_url": "https://pypi.org/project/augmentation-lib/", "platform": "", "project_url": "https://pypi.org/project/augmentation-lib/", "project_urls": { "Download": "https://github.com/laume/augmentation_lib", "Homepage": "https://github.com/laume/augmentation_lib" }, "release_url": "https://pypi.org/project/augmentation-lib/0.0.4/", "requires_dist": null, "requires_python": "", "summary": "Image augmentation library", "version": "0.0.4" }, "last_serial": 5624610, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "8fd2dba018e72776f9d3045e08ec697b", "sha256": "5a9ee0dce2ea9bf71017ffb8f4f306c5e475e5ff568ef89dfe178714e6378889" }, "downloads": -1, "filename": "augmentation_lib-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8fd2dba018e72776f9d3045e08ec697b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5202, "upload_time": "2019-08-01T13:12:56", "url": "https://files.pythonhosted.org/packages/81/ab/47e1f9eb0d13f36ea60ffe51da78cee4d7023bbfd2f637cbede695b046f8/augmentation_lib-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "7b14cc9043c72a38a9d69f6352e85467", "sha256": "e9d7fc6663be36c47e982e118882c2cf37a9c431d00570c919f9a846b2298f0c" }, "downloads": -1, "filename": "augmentation_lib-0.0.2.tar.gz", "has_sig": false, "md5_digest": "7b14cc9043c72a38a9d69f6352e85467", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5240, "upload_time": "2019-08-01T14:17:44", "url": "https://files.pythonhosted.org/packages/72/7d/95c8c1c9a3a861ebdf9efd42e039ec6c25b8f1eeed57c612322fe4c1d0fd/augmentation_lib-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "8c3e9f8ff575a01698fe57a8b26b435c", "sha256": "10ea9e2a38983a69a5e8ef5a16598da8c3018f3f14cdd7470478b7eb88da40a2" }, "downloads": -1, "filename": "augmentation_lib-0.0.3.tar.gz", "has_sig": false, "md5_digest": "8c3e9f8ff575a01698fe57a8b26b435c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5487, "upload_time": "2019-08-02T14:11:30", "url": "https://files.pythonhosted.org/packages/de/0f/2d83891bfad0ce4aa8462e7fa0c752a9d4a6877b28b5bd8ebf76a155c484/augmentation_lib-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "cf6fac7636eb64ca38e0f8e927bfe2ec", "sha256": "3b7bd39c82a2ef962e88dc8dcce318623a6261d227130edc295c9443632c1415" }, "downloads": -1, "filename": "augmentation_lib-0.0.4.tar.gz", "has_sig": false, "md5_digest": "cf6fac7636eb64ca38e0f8e927bfe2ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6063, "upload_time": "2019-08-02T14:50:54", "url": "https://files.pythonhosted.org/packages/95/c0/ef326799f792c46ea044b4161d4149e9142e455b8b7f8effd26f6609bcea/augmentation_lib-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cf6fac7636eb64ca38e0f8e927bfe2ec", "sha256": "3b7bd39c82a2ef962e88dc8dcce318623a6261d227130edc295c9443632c1415" }, "downloads": -1, "filename": "augmentation_lib-0.0.4.tar.gz", "has_sig": false, "md5_digest": "cf6fac7636eb64ca38e0f8e927bfe2ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6063, "upload_time": "2019-08-02T14:50:54", "url": "https://files.pythonhosted.org/packages/95/c0/ef326799f792c46ea044b4161d4149e9142e455b8b7f8effd26f6609bcea/augmentation_lib-0.0.4.tar.gz" } ] }