{"id":22243810,"url":"https://github.com/coderham/paintingbynumbersify","last_synced_at":"2025-09-03T18:32:17.164Z","repository":{"id":29790997,"uuid":"122786515","full_name":"CoderHam/PaintingByNumbersIFY","owner":"CoderHam","description":"Python code for converting any image to a Painting By Numbers version of itself.  Now supports GPU acceleration as well.","archived":false,"fork":false,"pushed_at":"2022-02-09T20:55:04.000Z","size":1836,"stargazers_count":33,"open_issues_count":1,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-19T05:17:33.541Z","etag":null,"topics":["computer-vision","gpu-acceleration","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CoderHam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-24T22:43:48.000Z","updated_at":"2024-11-11T12:43:34.000Z","dependencies_parsed_at":"2022-09-23T07:12:49.653Z","dependency_job_id":null,"html_url":"https://github.com/CoderHam/PaintingByNumbersIFY","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/CoderHam%2FPaintingByNumbersIFY","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderHam%2FPaintingByNumbersIFY/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderHam%2FPaintingByNumbersIFY/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderHam%2FPaintingByNumbersIFY/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CoderHam","download_url":"https://codeload.github.com/CoderHam/PaintingByNumbersIFY/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231909826,"owners_count":18444504,"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":["computer-vision","gpu-acceleration","python"],"created_at":"2024-12-03T04:29:20.243Z","updated_at":"2024-12-30T20:24:46.077Z","avatar_url":"https://github.com/CoderHam.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PaintingByNumbersIFY\nPython code for converting any image to a Painting By Numbers version of itself.\n\n## Usage\n```\npython pbnify.py --help\nusage: pbnify.py [-h] -i INPUT_IMAGE -o OUTPUT_IMAGE [-k NUM_OF_CLUSTERS]\n                 [--outline]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -i INPUT_IMAGE, --input-image INPUT_IMAGE\n                        Path of input image.\n  -o OUTPUT_IMAGE, --output-image OUTPUT_IMAGE\n                        Path of output image.\n  -k NUM_OF_CLUSTERS, --num-of-clusters NUM_OF_CLUSTERS\n                        Number of kmeans clusters for dominant color\n                        calculation. Defaults to 15.\n  --outline             Save outline image containing edges.\n```\n\n```\npython pbnify.py -i images/picasso.jpg -o images/picasso_PBN.jpg --outline -k 15\n```\n### Original Image/s:\n\u003cimg src=\"https://github.com/CoderHam/PaintingByNumbersIFY/blob/master/images/dancing.jpg\" width=\"400\"/\u003e \u003cimg src=\"https://github.com/CoderHam/PaintingByNumbersIFY/blob/master/images/picasso.jpg\" width=\"400\"/\u003e \u003cimg src=\"https://github.com/CoderHam/PaintingByNumbersIFY/blob/master/images/hawaii_ham.jpg\" width=\"400\"/\u003e\n\n### Image/s converted to their Painting By Number form:\n\u003cimg src=\"https://github.com/CoderHam/PaintingByNumbersIFY/blob/master/images/dancing_PBN.jpg\" width=\"400\"/\u003e \u003cimg src=\"https://github.com/CoderHam/PaintingByNumbersIFY/blob/master/images/picasso_PBN.jpg\" width=\"400\"/\u003e \u003cimg src=\"https://github.com/CoderHam/PaintingByNumbersIFY/blob/master/images/hawaii_ham_PBN.jpg\" width=\"400\"/\u003e\n\n### Outline of Image/s converted to their Painting By Number form:\n\u003cimg src=\"https://github.com/CoderHam/PaintingByNumbersIFY/blob/master/images/dancing_PBN_outline.jpg\" width=\"400\"/\u003e \u003cimg src=\"https://github.com/CoderHam/PaintingByNumbersIFY/blob/master/images/picasso_PBN_outline.jpg\" width=\"400\"/\u003e \u003cimg src=\"https://github.com/CoderHam/PaintingByNumbersIFY/blob/master/images/hawaii_ham_PBN_outline.jpg\" width=\"400\"/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderham%2Fpaintingbynumbersify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderham%2Fpaintingbynumbersify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderham%2Fpaintingbynumbersify/lists"}