Skip to main content

Create a collage from images with OpenCV

from cv2_collage import create_collage



lst = [

    "https://raw.githubusercontent.com/hansalemaos/screenshots/main/2022-12-27%2003_40_27-.png",

    "https://raw.githubusercontent.com/hansalemaos/screenshots/main/2022-12-27%2003_49_27-.png",

    "https://raw.githubusercontent.com/hansalemaos/screenshots/main/2022-12-27%2004_01_57-.png",

    "https://raw.githubusercontent.com/hansalemaos/screenshots/main/2022-12-27%2004_02_09-.png",

    "https://raw.githubusercontent.com/hansalemaos/screenshots/main/colorfind1.png",

    "https://raw.githubusercontent.com/hansalemaos/screenshots/main/colorfind2.png",

    "https://raw.githubusercontent.com/hansalemaos/screenshots/main/colorfind3.png",

    "https://raw.githubusercontent.com/hansalemaos/screenshots/main/colorfind4.png",

    "https://raw.githubusercontent.com/hansalemaos/screenshots/main/zoompics_0000006.png",

    "https://raw.githubusercontent.com/hansalemaos/screenshots/main/zoompics_0000007.png",

    "https://raw.githubusercontent.com/hansalemaos/screenshots/main/zoompics_0000008.png",

]





from numpy_choices import get_random_items_from_list



coldone = create_collage(

    lst=get_random_items_from_list(lst, 16),

    width=1000,

    background=(0, 0, 0),

    save_path=r"F:\cv2mergepics\m\tetete.png",

)

Metadata

Release files for cv2-collage 0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cv2-collage 0.10
File Size Uploaded Provenance Actions
cv2_collage-0.10.tar.gz 3.7 kB Without provenance Details for cv2_collage-0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cv2-collage 0.10
File Interpreter ABI Platform Actions
cv2_collage-0.10-py3-none-any.whl Python 3 none any Details for cv2_collage-0.10-py3-none-any.whl

Total release size: 8.7 kB

Release files / cv2_collage-0.10.tar.gz

Download URL cv2_collage-0.10.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2b3935f830d09880166c3c09a50a7ddda9977cc119262b175456cc6900348462
BLAKE2b-256 checksum
How to use checksums
7a819d50f3e879fc5f72a705a1acd8533558c3508af70b16b260d38c8086e273
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / cv2_collage-0.10-py3-none-any.whl

Download URL cv2_collage-0.10-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
317aa39edc9cc810d5052fd7b585db52065a1c9f0420f6cd0f5805d3de055010
BLAKE2b-256 checksum
How to use checksums
aabb39d7b25ead9ab6b895ac8b8084d723ee84ececa6dc401a0c72048bd248ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for cv2-collage 0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page