Multiple image stack with cv2 (calculates height/width)
Project description
Multiple image stack with cv2 (calculates height/width)
# Tested with:
# Python 3.9.13
# Windows 10
pip install cv2-multistack
from cv2_multistack import hstack_multiple_pics, vstack_multiple_pics
# Allowed image formats: url/path/buffer/base64/PIL/np
listofpics = [
"""https://raw.githubusercontent.com/hansalemaos/screenshots/main/cv2_putTrueTypeText_000008.png""",
"""https://raw.githubusercontent.com/hansalemaos/screenshots/main/cv2_putTrueTypeText_000009.png""",
"""https://raw.githubusercontent.com/hansalemaos/screenshots/main/cv2_putTrueTypeText_000010.png""",
"""https://raw.githubusercontent.com/hansalemaos/screenshots/main/cv2_putTrueTypeText_000011.png""",
"""https://raw.githubusercontent.com/hansalemaos/screenshots/main/cv2_putTrueTypeText_000012.png""",
"""https://raw.githubusercontent.com/hansalemaos/screenshots/main/cv2_putTrueTypeText_000013.png""",
"""https://raw.githubusercontent.com/hansalemaos/screenshots/main/cv2_putTrueTypeText_000014.png""",
"""https://raw.githubusercontent.com/hansalemaos/screenshots/main/cv2_putTrueTypeText_000015.png""",
]
bibi1=hstack_multiple_pics(listofpics, height=100, channels=3)
bibi2=vstack_multiple_pics(listofpics, width=100, channels=3)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cv2_multistack-0.10.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file cv2_multistack-0.10.tar.gz
.
File metadata
- Download URL: cv2_multistack-0.10.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b34bcf74be771809f9148720ffe251279a4e29eb201c15ecf4e9f207afba135d |
|
MD5 | 8cab6636a68166bdeef26ed52773fcd2 |
|
BLAKE2b-256 | 6662e9ae7a4c35282596702bfd63a73c609e19fb584822ce2fcc2ff75eb65984 |
File details
Details for the file cv2_multistack-0.10-py3-none-any.whl
.
File metadata
- Download URL: cv2_multistack-0.10-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb266183f20f464c37671cea18286e326da0c6d563161998a012c338a205ac9e |
|
MD5 | b1a01ca6cb56e2f9a02942fce05aa835 |
|
BLAKE2b-256 | 9faa401c155ae33cf87066e6fd75f3c634fba2892a3b9f246891de7af2c32eae |