imgPreprocessor


NameimgPreprocessor JSON
Version 1.0.4 PyPI version JSON
download
home_pageNone
SummaryImage Preprocessor with Five Different Functions
upload_time2024-12-08 04:28:36
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Image Preprocessor

### This is an image preprocessor with five features: color extraction, color filter, blurr filter, count face, and EXIF removal.

# Installation

### Install through pip :
```bash
$ pip install imgPreprocessor
```

# usage e.g.

```python
from imgPreprocessor import extract_color_palette, plot_palette,

plot_palette((extract_color_palette("image_path.jpg"))) 
```

```python
from imgPreprocessor import ColorFilter

c=ColorFilter("image_path.jpg") 

user_color = (201, 251, 206)
#(B, G, R)
c.custom_colorfilter(user_color)
c.show()

c.deepskyblue_colorfilter()
c.show()
```

```python
from imgPreprocessor import CountFace

c=CountFace()
c.set_image_path("image_path.jpg")
print(c.count_faces())
```
```python
from imgPreprocessor import CustomBlurFilter
c=CustomBlurFilter("image_path.jpg")
c.load_image()
c.enhance_and_blur(clip_limit=2.0, tile_grid_size=(8, 8), blur_ksize=(15, 15))
#optional: clip_limit, tile_grid_size, blur_ksize
c.display_images()
``` 
```python 
from imgPreprocessor import modexif
modexif("image_path.jpg", "output_path.jpg", make = "samsung", model = "S24", datetime = "2024:12:05 12:57:54") 
#optional: make, model, datetime
#datetime format : "year:month:day hour:minute:second" 
```



# License Information for Dependencies

This project uses the following third-party libraries, each with its respective license:

1. **Matplotlib** - [BSD-style License](https://matplotlib.org/stable/users/license.html)  
2. **Pillow** - [HPND License](https://pillow.readthedocs.io/en/stable/about.html#license)  
3. **OpenCV (opencv-python)** - [Apache License 2.0](https://github.com/opencv/opencv/blob/master/LICENSE)  
4. **NumPy** - [BSD License](https://numpy.org/doc/stable/license.html)  
5. **Piexif** - [MIT License](https://piexif.readthedocs.io/en/latest/about.html#License)  
6. **Scikit-learn** - [BSD License](https://github.com/scikit-learn/scikit-learn?tab=BSD-3-Clause-1-ov-file)





# authors

- [GarlicCook](mailto:kms300508@gmail.com)
- [ugyo](mailto:rss1234567@hanyang.ac.kr)
- [jaesung05](mailto:1004jaesung@gmail.com)
- [rlaehdrbb](mailto:donggyug713@gmail.com)
- [hong02jp](mailto:hong02jp@gmail.com)


## More Information

- [Documentaion](https://img-docs.readthedocs.io/en/latest/)


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "imgPreprocessor",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12.6",
    "maintainer_email": "ugyo <rss1234567@hanyang.ac.kr>",
    "keywords": null,
    "author": null,
    "author_email": "GarlicCook <kms300508@gmail.com>, ugyo <rss1234567@hanyang.ac.kr>, jaesung05 <1004jaesung@gmail.com>, rlaehdrbb <donggyug713@gmail.com>, hong02jp <hong02jp@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/05/0d/cba63d96f0e1a0bf9d5c4debe9e8dba543e8bc29aded11c27e2d64c7b8d5/imgpreprocessor-1.0.4.tar.gz",
    "platform": null,
    "description": "# Image Preprocessor\n\n### This is an image preprocessor with five features: color extraction, color filter, blurr filter, count face, and EXIF removal.\n\n# Installation\n\n### Install through pip :\n```bash\n$ pip install imgPreprocessor\n```\n\n# usage e.g.\n\n```python\nfrom imgPreprocessor import extract_color_palette, plot_palette,\n\nplot_palette((extract_color_palette(\"image_path.jpg\"))) \n```\n\n```python\nfrom imgPreprocessor import ColorFilter\n\nc=ColorFilter(\"image_path.jpg\") \n\nuser_color = (201, 251, 206)\n#(B, G, R)\nc.custom_colorfilter(user_color)\nc.show()\n\nc.deepskyblue_colorfilter()\nc.show()\n```\n\n```python\nfrom imgPreprocessor import CountFace\n\nc=CountFace()\nc.set_image_path(\"image_path.jpg\")\nprint(c.count_faces())\n```\n```python\nfrom imgPreprocessor import CustomBlurFilter\nc=CustomBlurFilter(\"image_path.jpg\")\nc.load_image()\nc.enhance_and_blur(clip_limit=2.0, tile_grid_size=(8, 8), blur_ksize=(15, 15))\n#optional: clip_limit, tile_grid_size, blur_ksize\nc.display_images()\n``` \n```python \nfrom imgPreprocessor import modexif\nmodexif(\"image_path.jpg\", \"output_path.jpg\", make = \"samsung\", model = \"S24\", datetime = \"2024:12:05 12:57:54\") \n#optional: make, model, datetime\n#datetime format : \"year:month:day hour:minute:second\" \n```\n\n\n\n# License Information for Dependencies\n\nThis project uses the following third-party libraries, each with its respective license:\n\n1. **Matplotlib** - [BSD-style License](https://matplotlib.org/stable/users/license.html)  \n2. **Pillow** - [HPND License](https://pillow.readthedocs.io/en/stable/about.html#license)  \n3. **OpenCV (opencv-python)** - [Apache License 2.0](https://github.com/opencv/opencv/blob/master/LICENSE)  \n4. **NumPy** - [BSD License](https://numpy.org/doc/stable/license.html)  \n5. **Piexif** - [MIT License](https://piexif.readthedocs.io/en/latest/about.html#License)  \n6. **Scikit-learn** - [BSD License](https://github.com/scikit-learn/scikit-learn?tab=BSD-3-Clause-1-ov-file)\n\n\n\n\n\n# authors\n\n- [GarlicCook](mailto:kms300508@gmail.com)\n- [ugyo](mailto:rss1234567@hanyang.ac.kr)\n- [jaesung05](mailto:1004jaesung@gmail.com)\n- [rlaehdrbb](mailto:donggyug713@gmail.com)\n- [hong02jp](mailto:hong02jp@gmail.com)\n\n\n## More Information\n\n- [Documentaion](https://img-docs.readthedocs.io/en/latest/)\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Image Preprocessor with Five Different Functions",
    "version": "1.0.4",
    "project_urls": {
        "Homepage": "https://github.com/GarlicCook/library_repo",
        "Issues": "https://github.com/GarlicCook/library_repo/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9c639dc4f21abb80fbe81ac71d77e28828f0ed6793870e0eda178604bf543e35",
                "md5": "21065101e7ca721ac7c1b8897f77e768",
                "sha256": "3078ab80b7d4a80b363d3b8d37797d1dfeaa7905bb4645e6c280f3f03e283757"
            },
            "downloads": -1,
            "filename": "imgpreprocessor-1.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "21065101e7ca721ac7c1b8897f77e768",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12.6",
            "size": 8914,
            "upload_time": "2024-12-08T04:28:35",
            "upload_time_iso_8601": "2024-12-08T04:28:35.252681Z",
            "url": "https://files.pythonhosted.org/packages/9c/63/9dc4f21abb80fbe81ac71d77e28828f0ed6793870e0eda178604bf543e35/imgpreprocessor-1.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "050dcba63d96f0e1a0bf9d5c4debe9e8dba543e8bc29aded11c27e2d64c7b8d5",
                "md5": "44c403e7775a52c4fdb51c80e7ce55b8",
                "sha256": "de5cab7bcf9dfc0ffcc39cfee624fa4b5c5936f647162794c875138c31811808"
            },
            "downloads": -1,
            "filename": "imgpreprocessor-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "44c403e7775a52c4fdb51c80e7ce55b8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12.6",
            "size": 6292,
            "upload_time": "2024-12-08T04:28:36",
            "upload_time_iso_8601": "2024-12-08T04:28:36.971058Z",
            "url": "https://files.pythonhosted.org/packages/05/0d/cba63d96f0e1a0bf9d5c4debe9e8dba543e8bc29aded11c27e2d64c7b8d5/imgpreprocessor-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-08 04:28:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "GarlicCook",
    "github_project": "library_repo",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "imgpreprocessor"
}
        
Elapsed time: 0.41840s