cv2-stack-images-0.10
توضیحات
Stacks 2 images (horizontal/vertical)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cv2-stack-images-0.10 |
| نام | cv2-stack-images |
| نسخه کتابخانه | 0.10 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Johannes Fischer |
| ایمیل نویسنده | <aulasparticularesdealemaosp@gmail.com> |
| آدرس صفحه اصلی | https://github.com/hansalemaos/cv2_stack_images |
| آدرس اینترنتی | https://pypi.org/project/cv2-stack-images/ |
| مجوز | MIT |
<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"/>
نیازمندی
| مقدار | نام |
|---|---|
| - | a-cv2-easy-resize |
| - | a-cv-imwrite-imread-plus |
| - | numpy |
| - | opencv-python |
نحوه نصب
نصب پکیج whl cv2-stack-images-0.10:
pip install cv2-stack-images-0.10.whl
نصب پکیج tar.gz cv2-stack-images-0.10:
pip install cv2-stack-images-0.10.tar.gz