{"id":15611647,"url":"https://github.com/primozgodec/imagecolorization","last_synced_at":"2026-03-10T01:33:22.657Z","repository":{"id":80114416,"uuid":"98869302","full_name":"PrimozGodec/ImageColorization","owner":"PrimozGodec","description":"Image and video colorizer is package for automatic image and video colorization. Models are allready trained","archived":false,"fork":false,"pushed_at":"2024-08-02T16:10:52.000Z","size":105,"stargazers_count":27,"open_issues_count":5,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T10:11:40.922Z","etag":null,"topics":["artificial-intelligence","colorization","datamining","image-colorization","machine-learning","neural-network"],"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/PrimozGodec.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-31T08:59:50.000Z","updated_at":"2024-03-03T02:43:01.000Z","dependencies_parsed_at":"2024-10-22T17:30:00.847Z","dependency_job_id":null,"html_url":"https://github.com/PrimozGodec/ImageColorization","commit_stats":{"total_commits":218,"total_committers":1,"mean_commits":218.0,"dds":0.0,"last_synced_commit":"fdfd06a4f250c2a79754b88a3c042a0346f879dd"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrimozGodec%2FImageColorization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrimozGodec%2FImageColorization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrimozGodec%2FImageColorization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrimozGodec%2FImageColorization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrimozGodec","download_url":"https://codeload.github.com/PrimozGodec/ImageColorization/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248968915,"owners_count":21191162,"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":["artificial-intelligence","colorization","datamining","image-colorization","machine-learning","neural-network"],"created_at":"2024-10-03T06:06:12.723Z","updated_at":"2026-03-10T01:33:22.613Z","avatar_url":"https://github.com/PrimozGodec.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Image and video colorizer\n=========================\n\nImage and video colorizer is package for automatic image and video colorization. \nModels are already trained.\n\n## Instalation\n\nInstallation can be done in 5 easy steps\n\n1.  Install all requirements for [Tensorflow](https://www.tensorflow.org/install/) \nand tensorflow itself with:\n\n        pip install tensorflow-gpu\n        \n     if you use GPU device for computation otherwise:\n     \n        pip install tensorflow\n    \n2.  Create virtual environment\n    \n        virtualenv -p python3 colorization_venv\n        \n3.  Activate virtual environment\n\n        source colorization_venv/bin/activate\n        \n4.  Clone **Image and video colorization** package and move in it\n\n        git clone https://github.com/PrimozGodec/ImageColorization.git\n        cd ImageColorization\n        \n5.  Install requirements\n\n        pip install -r requirements.txt\n        \n6.  You are done :)\n\nIn case you do not have a GPU device in your computer, please install Tensorflow \nfor a CPU. [Instructions](https://www.tensorflow.org/install/ \"Tensorflow\") are at\nthe [Tnesorflow website](https://www.tensorflow.org/install/ \"Tensorflow\").\n\n## Image colorization\n\nFor automatic image colorizing follow those steps:\n\n1.  Copy images into `/data/image/original` directory\n\n2.  Run `main.py` script from `src/image_colorization/` directory.\n\n        python -m src.image_colorization.main --model \u003cmodel name\u003e\n     \n    Parameter `--method` is optional, if not present `reg_full_model` is default.\n    It can be choose from this list:\n\n    * `reg_full_model` (default)\n    * `reg_full_vgg_model`\n    * `reg_part_model`\n    * `class_weights_model`\n    * `class_wo_weights_model`\n\n3. You can find colored images in `/data/image/colorized` directory.\n\n on your GPU or CPU specifications. \nYou will see progress bar that show you how far you are with colorization.\n\n## Video colorization\n\nFor automatic video colorizing follow those steps:\n\n1.  Copy images into `/data/video/original` directory\n\n2.  Run `video_colorizer.py` script from `src/video_colorization/` directory.\n\n        python -m src.video_colorization.video_colorizer\n     \n    Video colorizer is always using `reg_full_model`.\n\n3. You can find colored videos in `/data/video/colorized` directory.\n\nColorization take few hours since there is a lot of images to color in a video\nand depends on your GPU or CPU specifications and length of a video. \nYou will see progress bar that show you how far you are with colorization.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimozgodec%2Fimagecolorization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimozgodec%2Fimagecolorization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimozgodec%2Fimagecolorization/lists"}