Metadata-Version: 2.1
Name: cv2_stack_images
Version: 0.10
Summary: Stacks 2 images (horizontal/vertical)
Home-page: https://github.com/hansalemaos/cv2_stack_images
Author: Johannes Fischer
Author-email: <aulasparticularesdealemaosp@gmail.com>
License: MIT
Keywords: cv2,numpy,stack,images
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Editors :: Text Processing
Classifier: Topic :: Text Processing :: General
Classifier: Topic :: Text Processing :: Indexing
Classifier: Topic :: Text Processing :: Filters
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
License-File: LICENSE.rst


<h2>Stacks 2 images (horizontal/vertical)</h2>





```python



$pip install cv2-stack-images

from cv2_stack_images import concat2images



# Allowed image formats: url/path/buffer/base64/PIL/np

# You must pass either width or height, but not both!

# save_path is optional



b1 = concat2images(

    img1=r"https://github.com/hansalemaos/screenshots/raw/main/colorfind3.png",

    img2=r"https://github.com/hansalemaos/screenshots/raw/main/pic4.png",

    width=300,

    save_path="f:\\concatimg\\vertical.png",

)

b2 = concat2images(

    img1=r"https://github.com/hansalemaos/screenshots/raw/main/colorfind3.png",

    img2=r"https://github.com/hansalemaos/screenshots/raw/main/pic4.png",

    height=300,

    save_path="f:\\concatimg\\horizontal.png",

)



```



<img src="https://raw.githubusercontent.com/hansalemaos/screenshots/main/vertical.png"/>





<img src="https://raw.githubusercontent.com/hansalemaos/screenshots/main/horizontal.png"/>

