All Projects → SSARCandy → Coherent Line Drawing

SSARCandy / Coherent Line Drawing

Licence: mit
🖼✨Automatically generates line drawing from a photograph

Programming Languages

cpp17
186 projects

Projects that are alternatives of or similar to Coherent Line Drawing

Raftlib
The RaftLib C++ library, streaming/dataflow concurrency via C++ iostream-like operators
Stars: ✭ 717 (+55.53%)
Mutual labels:  cmake, opencv
Moneymanagerex
Money Manager Ex is an easy to use, money management application built with wxWidgets
Stars: ✭ 836 (+81.34%)
Mutual labels:  cmake, wxwidgets
Gerbolyze
Render high-resolution bitmap images to PCB gerber files
Stars: ✭ 169 (-63.34%)
Mutual labels:  computer-graphics, opencv
Kinectazuredkprogramming
Samples about Kinect Azure DK programming
Stars: ✭ 92 (-80.04%)
Mutual labels:  cmake, opencv
CLUSEK-RT
Vulkan based C++ ray-tracing game engine.
Stars: ✭ 24 (-94.79%)
Mutual labels:  cmake, computer-graphics
Opencv Mingw Build
👀 MinGW 32bit and 64bit version of OpenCV compiled on Windows. Including OpenCV 3.3.1, 3.4.1, 3.4.1-x64, 3.4.5, 3.4.6, 3.4.7, 3.4.8-x64, 3.4.9, 4.0.0-alpha-x64, 4.0.0-rc-x64, 4.0.1-x64, 4.1.0, 4.1.0-x64, 4.1.1-x64, 4.5.0-with-contrib
Stars: ✭ 401 (-13.02%)
Mutual labels:  cmake, opencv
Camodet
Lightweight Simple CAmera MOtion DETection application.
Stars: ✭ 26 (-94.36%)
Mutual labels:  cmake, opencv
Opencv4androidwithcmake
Use Android Studio 3.0 (>=2.2) and Cmake Toolchain to make your Android device fly with Opencv (OpenCV 3.40)
Stars: ✭ 126 (-72.67%)
Mutual labels:  cmake, opencv
Anms Codes
Efficient adaptive non-maximal suppression algorithms for homogeneous spatial keypoint distribution
Stars: ✭ 174 (-62.26%)
Mutual labels:  cmake, opencv
Cmake Templates
Some CMake Templates (examples). Qt, Boost, OpenCV, C++11, etc 一些栗子
Stars: ✭ 368 (-20.17%)
Mutual labels:  cmake, opencv
Tensorflow Cmake
TensorFlow examples in C, C++, Go and Python without bazel but with cmake and FindTensorFlow.cmake
Stars: ✭ 418 (-9.33%)
Mutual labels:  cmake, opencv
Open3d
Open3D: A Modern Library for 3D Data Processing
Stars: ✭ 5,860 (+1171.15%)
Mutual labels:  computer-graphics
Csi Camera
Simple example of using a CSI-Camera (like the Raspberry Pi Version 2 camera) with the NVIDIA Jetson Nano Developer Kit
Stars: ✭ 433 (-6.07%)
Mutual labels:  opencv
Deepbacksub
Virtual Video Device for Background Replacement with Deep Semantic Segmentation
Stars: ✭ 426 (-7.59%)
Mutual labels:  opencv
Cgold
🐋 The Hitchhiker’s Guide to the CMake
Stars: ✭ 428 (-7.16%)
Mutual labels:  cmake
Multi Object Tracker
Multi-object trackers in Python
Stars: ✭ 451 (-2.17%)
Mutual labels:  opencv
Tprpix
a Cross-Platform, 2D Survival Sandbox Game Project. Based on C++17/cmake/OpenGL/SQLite3.
Stars: ✭ 448 (-2.82%)
Mutual labels:  cmake
Wxmedit
wxMEdit, a cross-platform Text/Hex Editor, an improved version of MadEdit
Stars: ✭ 424 (-8.03%)
Mutual labels:  wxwidgets
Pycair
Content aware image resizing
Stars: ✭ 425 (-7.81%)
Mutual labels:  opencv
Uikit Cross Platform
Cross-platform Swift implementation of UIKit, mostly for Android
Stars: ✭ 421 (-8.68%)
Mutual labels:  cmake

Coherent Line Drawing

C/C++ CI Build Status codecov License: MIT

This 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.

demo

Workflow (Youtube)

Coherent Line Drawing

Build

Requirement

  • C++ 17
  • CMake
  • OpenCV 3
  • WxWidget 3 (not required for cmd application)
  • Boost (not required for gui application)

If you prefer C++ 11 version, there is a branch called cpp11, the function is equivalent.

It should work fine in Windows/Linux/MacOS.
I provided some scripts that can use in Linux:

# Usage: build.sh [options]
# Options:
#   -c, --clean       Clean build
#   -d, --debug       Build with debug mode
#   -j, --jobs        Use N cores to build
$ ./build.sh

# Usage: linter.sh [options]
# Check code style
# Options:
#   -i                In-place format
$ ./linter.sh

Command Line Version

I 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:

# Coherent-Line-Drawing Options:
#   -h [ --help ]            Help message
#   -s [ --src ] arg         Source image path
#   -o [ --output ] arg      Output image path
#   --ETF_kernel arg (=5)    ETF kernel size
#   --ETF_iter arg (=1)      Refining n times ETF
#   --CLD_iter arg (=1)      Iterate n times FDoG
#   --sigma_c arg (=1)       Line width
#   --sigma_m arg (=3)       Degree of coherence
#   --rho arg (=0.997)       Noise
#   --tau arg (=0.8)         Thresholding

Pre-Build GUI Version

You can download pre-build version at here.
Including Windows and macOS versions.

Screenshots

demo demo demo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].