depixelate-1.0.6


توضیحات

Depixelate images
ویژگی مقدار
سیستم عامل OS Independent
نام فایل depixelate-1.0.6
نام depixelate
نسخه کتابخانه 1.0.6
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Vilmacio M. Silva
ایمیل نویسنده -
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/depixelate/
مجوز -
# Depixelate Resize and depixel low resolution images. <img src="assets/main-preview.jpg" width="100%"> ## Usage ```console $ pip install depixelate ``` ```python import cv2 import depixelate original_image = cv2.imread('image.jpg') result = depixelate.apply(original_image, 7, 600) ``` ### Params The **apply** method accepts 3 parameters: - **Image (Required)**: Original image to be changed. - **Weight (Optional)**: Indicates the power of the gaussian-blur algorithm. The higher the value, the more shape distortion. It must be between 1 and 10. Default value is 6. - **Width Scale (Optional)**: Indicates the width of the output image. Default value is 800. ## Limitations Depixelate library helps with logos and some graphics, but it doesn't help when maximum sharpness and detail is needed.<br /> In the majority of cases, you'll want to improve the quality of low resolution images (about 300 pixels wide or less). Otherwise you might be a little disappointed. ## Plans - [ ] Anti-aliasing


نیازمندی

مقدار نام
- opencv-python
- numpy
- pytest
- Pillow


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl depixelate-1.0.6:

    pip install depixelate-1.0.6.whl


نصب پکیج tar.gz depixelate-1.0.6:

    pip install depixelate-1.0.6.tar.gz