{"id":23116082,"url":"https://github.com/hansalemaos/cv2_collage","last_synced_at":"2026-05-06T15:45:18.059Z","repository":{"id":65143498,"uuid":"583451839","full_name":"hansalemaos/cv2_collage","owner":"hansalemaos","description":"Create a collage from images with OpenCV","archived":false,"fork":false,"pushed_at":"2022-12-29T20:32:48.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T13:04:07.108Z","etag":null,"topics":["collage","numpy","opencv","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/cv2-collage/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hansalemaos.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-29T20:29:49.000Z","updated_at":"2022-12-29T20:30:39.000Z","dependencies_parsed_at":"2022-12-31T21:40:59.352Z","dependency_job_id":null,"html_url":"https://github.com/hansalemaos/cv2_collage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansalemaos%2Fcv2_collage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansalemaos%2Fcv2_collage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansalemaos%2Fcv2_collage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansalemaos%2Fcv2_collage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansalemaos","download_url":"https://codeload.github.com/hansalemaos/cv2_collage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247104538,"owners_count":20884252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["collage","numpy","opencv","python"],"created_at":"2024-12-17T04:10:56.333Z","updated_at":"2026-05-06T15:45:13.032Z","avatar_url":"https://github.com/hansalemaos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2\u003eCreate a collage from images with OpenCV \u003c/h2\u003e\n\n\n```python\n$ pip install cv2-collage \nfrom cv2_collage import create_collage\n\nlst = [\n    \"https://raw.githubusercontent.com/hansalemaos/screenshots/main/2022-12-27%2003_40_27-.png\",\n    \"https://raw.githubusercontent.com/hansalemaos/screenshots/main/2022-12-27%2003_49_27-.png\",\n    \"https://raw.githubusercontent.com/hansalemaos/screenshots/main/2022-12-27%2004_01_57-.png\",\n    \"https://raw.githubusercontent.com/hansalemaos/screenshots/main/2022-12-27%2004_02_09-.png\",\n    \"https://raw.githubusercontent.com/hansalemaos/screenshots/main/colorfind1.png\",\n    \"https://raw.githubusercontent.com/hansalemaos/screenshots/main/colorfind2.png\",\n    \"https://raw.githubusercontent.com/hansalemaos/screenshots/main/colorfind3.png\",\n    \"https://raw.githubusercontent.com/hansalemaos/screenshots/main/colorfind4.png\",\n    \"https://raw.githubusercontent.com/hansalemaos/screenshots/main/zoompics_0000006.png\",\n    \"https://raw.githubusercontent.com/hansalemaos/screenshots/main/zoompics_0000007.png\",\n    \"https://raw.githubusercontent.com/hansalemaos/screenshots/main/zoompics_0000008.png\",\n]\n\n\nfrom numpy_choices import get_random_items_from_list\n\ncoldone = create_collage(\n    lst=get_random_items_from_list(lst, 16),\n    width=1000,\n    background=(0, 0, 0),\n    save_path=r\"F:\\cv2mergepics\\m\\tetete.png\",\n)\n\n\n\n\n```\n\n\u003cimg src=\"https://github.com/hansalemaos/screenshots/raw/main/collage.png\"/\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansalemaos%2Fcv2_collage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansalemaos%2Fcv2_collage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansalemaos%2Fcv2_collage/lists"}