Metadata-Version: 2.1
Name: imTriangle
Version: 0.0.1
Summary: This snippet of code attempts to put triangle pixelation effect on images.
Home-page: https://github.com/Mamdasn/imTriangle
Author: mamdasn s
Author-email: <mamdassn@gmail.com>
License: UNKNOWN
Description: 
        # imTriangle
        This snippet of code attempts to put triangle pixelation effect on images.
        
        # Usage
        ```python
        import cv2
        import numpy as np
        from imTriangle import triangle
        
        img_fullname = 'assets/lotus.jpg'
        
        img = cv2.imread(img_fullname)
        img_out = img.copy()
        
        [h, w, d] = img.shape
        for i in range(d):
            img_out[:, :, i] = triangle(img[:, :, i].copy())
            
        cv2.imwrite('assets/lotus-triangled.jpg', img_out)
        ```
        
        # Output
        This is a sample image:  
        ![lotus.jpg](https://raw.githubusercontent.com/Mamdasn/imTriangle/main/assets/lotus.jpg "lotus.jpg")  
        The sample image after tirangle pixelation effect:  
        ![lotus-triangled.jpg](https://raw.githubusercontent.com/Mamdasn/imTriangle/main/assets/lotus-triangled.jpg "lotus-triangled.jpg")  
        
Keywords: python,traingle effect,triangle pixelation effect
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.8
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
