{"id":23084135,"url":"https://github.com/ligmitz/rimcol","last_synced_at":"2025-09-03T05:37:23.683Z","repository":{"id":41972511,"uuid":"452005706","full_name":"ligmitz/rimcol","owner":"ligmitz","description":"A rust crate to convert grayscale images to rgb images.","archived":false,"fork":false,"pushed_at":"2022-11-25T18:02:32.000Z","size":21169,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-16T01:40:38.468Z","etag":null,"topics":["command-line-tool","rust","tensorflow"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/rimcol","language":"PureBasic","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/ligmitz.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-01-25T19:01:05.000Z","updated_at":"2024-07-22T09:32:20.000Z","dependencies_parsed_at":"2022-08-12T01:01:07.181Z","dependency_job_id":null,"html_url":"https://github.com/ligmitz/rimcol","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ligmitz/rimcol","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligmitz%2Frimcol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligmitz%2Frimcol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligmitz%2Frimcol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligmitz%2Frimcol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ligmitz","download_url":"https://codeload.github.com/ligmitz/rimcol/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligmitz%2Frimcol/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273397761,"owners_count":25098233,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["command-line-tool","rust","tensorflow"],"created_at":"2024-12-16T15:49:14.602Z","updated_at":"2025-09-03T05:37:23.664Z","avatar_url":"https://github.com/ligmitz.png","language":"PureBasic","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# **rimcol**\n\n**rimcol - Rust Image Coloriser** is a command line tool for converting grayscale images to RGB images.\n\n\u003c/div\u003e\n\n---\n\n**rimcol** stands for *rust image coloriser*. It is a command line tool written in rust to predict the rgb color pallete of a grayscale image using a CNN model written in tensorflow and python. The input image should be a **256*256** grayscale image and the output is an RGB image of the same dimension.\n\n**Note**: The model is still in its early stages and is evolved to be more accurate with each iteration.\n\n---\n\n\u003ch1\u003eCommand-line options\u003c/h1\u003e\n\n* **-i**, **--path-to-input** (Parameter): Pass the input grayscale image location.\n* **-o**, **--path-for-output** (Parameter): Pass the output location for saving the RGB image.\n* **-h**, **--help**: Get the help info.\n\n---\n\n\u003ch1\u003eInstallation\u003c/h1\u003e\n\nrimcol currently can be used in 3 ways, install via [cargo](https://doc.rust-lang.org/cargo/), build from source and use as a rust package.\n\nBefore installing, download the model from \u003ca href=\"https://drive.google.com/drive/folders/1-Q--MxdkfbO26UHIKBlrkRSY9TT2VFG4?usp=sharing\" target=\"_blank\"\u003ehere\u003c/a\u003e,\nextract it and place the folder at `/home/\u003cuser\u003e/`.\n\n**Note**: rimcol depends on tensorflow for running the CNN model, so you should have tensorflow prerequisites installed. Refer [tensorflow-rust](https://github.com/tensorflow/rust).\n\n## Manual installation from GitHub\n\nCompiled binary versions of rimcol are uploaded to GitHub when a release is made.\nYou can install rimcol manually by [downloading a release](https://github.com/ligmitz/rimcol/releases), extracting it, and copying the binary to a directory in your `$PATH`, such as `/usr/local/bin`.\n\n## Cargo\n\nIf you already have a Rust environment set up, you can use the `cargo install` command:\n\n    $ cargo install rimcol\n\nCargo will build the `rimcol` binary and place it in `$HOME/.cargo`.\n\n## As a package\n\nIf you want to use rimcol as a package in your rust project, add this to your `Cargo.toml` file:\n\n```\nrimcol = \"0.1.0\"\n```\n\n---\n\n\u003ca id=\"development\"\u003e\n\u003ch1\u003eDevelopment\n\n\u003ca href=\"https://blog.rust-lang.org/2021/12/02/Rust-1.57.0.html\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/rustc-1.57.0+-lightgray.svg\" alt=\"Rust 1.57.0+\" /\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://github.com/ogham/exa/blob/master/LICENCE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/licence-MIT-green\" alt=\"MIT Licence\" /\u003e\n\u003c/a\u003e\n\u003c/h1\u003e\u003c/a\u003e\n\nrimcol is written in [Rust](https://www.rust-lang.org/).\nYou will need rustc version 1.57.0 or higher.\nThe recommended way to install Rust for development is from the [official download page](https://www.rust-lang.org/tools/install), using rustup.\n\nOnce Rust is installed, you can compile the rimcol directory cloned from github with Cargo:\n\n    $ cargo build\n\n- If you want to compile a version for yourself, run `cargo build --release`.\n\nCopy the resulting binary, which will be in the `target/release` directory, into a folder in your `$PATH` such as `/usr/local/bin`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fligmitz%2Frimcol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fligmitz%2Frimcol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fligmitz%2Frimcol/lists"}