{"id":13418699,"url":"https://github.com/SSARCandy/Coherent-Line-Drawing","last_synced_at":"2025-03-15T03:31:49.971Z","repository":{"id":54742447,"uuid":"47489039","full_name":"SSARCandy/Coherent-Line-Drawing","owner":"SSARCandy","description":"🖼✨Automatically generates line drawing from a photograph","archived":false,"fork":false,"pushed_at":"2022-10-15T16:28:05.000Z","size":1000,"stargazers_count":551,"open_issues_count":2,"forks_count":58,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-07-31T22:43:48.983Z","etag":null,"topics":["cmake","computer-graphics","cpp17","gcov","lcov","non-photorealistic-rendering","opencv","wxwidgets"],"latest_commit_sha":null,"homepage":"https://ssarcandy.tw/2017/06/26/Coherent-Line-Drawing/","language":"C++","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/SSARCandy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"ssarcandy","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2015-12-06T08:20:42.000Z","updated_at":"2024-07-19T10:45:44.000Z","dependencies_parsed_at":"2023-01-20T02:33:04.708Z","dependency_job_id":null,"html_url":"https://github.com/SSARCandy/Coherent-Line-Drawing","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SSARCandy%2FCoherent-Line-Drawing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SSARCandy%2FCoherent-Line-Drawing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SSARCandy%2FCoherent-Line-Drawing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SSARCandy%2FCoherent-Line-Drawing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SSARCandy","download_url":"https://codeload.github.com/SSARCandy/Coherent-Line-Drawing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243681024,"owners_count":20330152,"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":["cmake","computer-graphics","cpp17","gcov","lcov","non-photorealistic-rendering","opencv","wxwidgets"],"created_at":"2024-07-30T22:01:05.739Z","updated_at":"2025-03-15T03:31:49.964Z","avatar_url":"https://github.com/SSARCandy.png","language":"C++","funding_links":["https://ko-fi.com/ssarcandy"],"categories":["TODO scan for Android support in followings","\u003ca name=\"cpp\"\u003e\u003c/a\u003eC++"],"sub_categories":[],"readme":"# Coherent Line Drawing\n\n[![C/C++ CI](https://github.com/SSARCandy/Coherent-Line-Drawing/workflows/C/C++%20CI/badge.svg)](https://github.com/SSARCandy/Coherent-Line-Drawing/actions)\n[![Build Status](https://travis-ci.org/SSARCandy/Coherent-Line-Drawing.svg?branch=master)](https://travis-ci.org/SSARCandy/Coherent-Line-Drawing)\n[![codecov](https://codecov.io/gh/SSARCandy/Coherent-Line-Drawing/branch/master/graph/badge.svg)](https://codecov.io/gh/SSARCandy/Coherent-Line-Drawing)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/SSARCandy/Coherent-Line-Drawing/blob/master/LICENSE)\n\n\nThis project implemented a non-photorealistic rendering technique presented by Kang et al, that can automatically generates a line drawing from a photograph. This project provide an easy-to-use, real-time interactive graphic user interface system.\n\n\n- [Original academic paper](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.108.559\u0026rep=rep1\u0026type=pdf)\n- [Introduction in Chinese](https://ssarcandy.tw/2017/06/26/Coherent-Line-Drawing/)\n\n![demo](./demo/4.jpg)\n\n## Workflow (Youtube)\n\n\u003ca href=\"http://www.youtube.com/watch?feature=player_embedded\u0026v=48fTXKUTM-8\n\" target=\"_blank\"\u003e\u003cimg src=\"http://img.youtube.com/vi/48fTXKUTM-8/0.jpg\" \nalt=\"Coherent Line Drawing\" width=\"800\" border=\"10\" /\u003e\u003c/a\u003e\n\n\n## Build\n\n### Requirement\n\n- C++ 17\n- CMake\n- OpenCV 3\n- WxWidget 3 (not required for cmd application)\n- Boost (not required for gui application)\n\n_If you prefer C++ 11 version, there is a branch called [cpp11](https://github.com/SSARCandy/Coherent-Line-Drawing/tree/cpp11), the function is equivalent._  \n\nIt should work fine in Windows/Linux/MacOS.  \nI provided some scripts that can use in Linux:\n\n\n```sh\n# Usage: build.sh [options]\n# Options:\n#   -c, --clean       Clean build\n#   -d, --debug       Build with debug mode\n#   -j, --jobs        Use N cores to build\n$ ./build.sh\n\n# Usage: linter.sh [options]\n# Check code style\n# Options:\n#   -i                In-place format\n$ ./linter.sh\n```\n\n### Command Line Version\n\nI provide another command line application that can directly use without graphic interface, the entry point is `src/cmd.cpp`. The options is list as following, also you can refer to `./test.sh` to see how to use:\n\n```sh\n# Coherent-Line-Drawing Options:\n#   -h [ --help ]            Help message\n#   -s [ --src ] arg         Source image path\n#   -o [ --output ] arg      Output image path\n#   --ETF_kernel arg (=5)    ETF kernel size\n#   --ETF_iter arg (=1)      Refining n times ETF\n#   --CLD_iter arg (=1)      Iterate n times FDoG\n#   --sigma_c arg (=1)       Line width\n#   --sigma_m arg (=3)       Degree of coherence\n#   --rho arg (=0.997)       Noise\n#   --tau arg (=0.8)         Thresholding\n```\n\n### Pre-Build GUI Version\n\nYou can download pre-build version at [here](https://github.com/SSARCandy/Coherent-Line-Drawing/releases).  \nIncluding Windows and macOS versions.\n\n**Screenshots**\n\n![demo](./demo/1.jpg)\n![demo](./demo/2.jpg)\n![demo](./demo/3.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSSARCandy%2FCoherent-Line-Drawing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSSARCandy%2FCoherent-Line-Drawing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSSARCandy%2FCoherent-Line-Drawing/lists"}