All Projects → TZYSJTU → Sketch Generation With Drawing Process Guided By Vector Flow And Grayscale

TZYSJTU / Sketch Generation With Drawing Process Guided By Vector Flow And Grayscale

Licence: gpl-2.0
This is the official implementation of the AAAI 2021 accepted paper "Sketch Generation with Drawing Process Guided by Vector Flow and Grayscale"

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Sketch Generation With Drawing Process Guided By Vector Flow And Grayscale

Credit Risk Modelling
Credit Risk analysis by using Python and ML
Stars: ✭ 91 (-20.18%)
Mutual labels:  numpy
Pythonstudy
Python related technologies used in work: crawler, data analysis, timing tasks, RPC, page parsing, decorator, built-in functions, Python objects, multi-threading, multi-process, asynchronous, redis, mongodb, mysql, openstack, etc.
Stars: ✭ 103 (-9.65%)
Mutual labels:  numpy
Pytorch
Tensors and Dynamic neural networks in Python with strong GPU acceleration
Stars: ✭ 52,811 (+46225.44%)
Mutual labels:  numpy
Pymc Example Project
Example PyMC3 project for performing Bayesian data analysis using a probabilistic programming approach to machine learning.
Stars: ✭ 90 (-21.05%)
Mutual labels:  numpy
Sspipe
Simple Smart Pipe: python productivity-tool for rapid data manipulation
Stars: ✭ 96 (-15.79%)
Mutual labels:  numpy
Boxdetection
A Box detection algorithm for any image containing boxes.
Stars: ✭ 104 (-8.77%)
Mutual labels:  numpy
Dareblopy
Data Reading Blocks for Python
Stars: ✭ 82 (-28.07%)
Mutual labels:  numpy
Python Bigdata
Data science and Big Data with Python
Stars: ✭ 112 (-1.75%)
Mutual labels:  numpy
Numba Scipy
numba_scipy extends Numba to make it aware of SciPy
Stars: ✭ 98 (-14.04%)
Mutual labels:  numpy
Opencv Ndarray Conversion
NumPy ndarray ⇋ OpenCV Mat conversion, that just works.
Stars: ✭ 107 (-6.14%)
Mutual labels:  numpy
Tutorials
机器学习相关教程
Stars: ✭ 9,616 (+8335.09%)
Mutual labels:  numpy
Pybind11 opencv numpy
Implementation of cv::Mat conversion to numpy.array for pybind11
Stars: ✭ 96 (-15.79%)
Mutual labels:  numpy
Numbagg
Fast N-dimensional aggregation functions with Numba
Stars: ✭ 104 (-8.77%)
Mutual labels:  numpy
Connected Components 3d
Connected components on multilabel 3D & 2D images. Handles 26, 18, and 6 connected variants.
Stars: ✭ 90 (-21.05%)
Mutual labels:  numpy
Stock Market Analysis And Prediction
Stock Market Analysis and Prediction is the project on technical analysis, visualization and prediction using data provided by Google Finance.
Stars: ✭ 112 (-1.75%)
Mutual labels:  numpy
Ghpythonremote
A two-way connector to use regular Python from IronPython in Rhino/Grasshopper, and vice-versa.
Stars: ✭ 85 (-25.44%)
Mutual labels:  numpy
100 Pandas Puzzles
100 data puzzles for pandas, ranging from short and simple to super tricky (60% complete)
Stars: ✭ 1,382 (+1112.28%)
Mutual labels:  numpy
Ni Pyt
Materiály k předmětu NI-PYT na FIT ČVUT
Stars: ✭ 112 (-1.75%)
Mutual labels:  numpy
Studybook
Study E-Book(ComputerVision DeepLearning MachineLearning Math NLP Python ReinforcementLearning)
Stars: ✭ 1,457 (+1178.07%)
Mutual labels:  numpy
Numpy Cn
NumPy官方中文文档(完整版)
Stars: ✭ 1,570 (+1277.19%)
Mutual labels:  numpy

Sketch-Generation-with-Drawing-Process-Guided-by-Vector-Flow-and-Grayscale

This is the official implementation of the AAAI 2021: AAAI Conference on Artificial Intelligence accepted paper "Sketch Generation with Drawing Process Guided by Vector Flow and Grayscale".
Our paper's preprint version is available at arXiv now: https://arxiv.org/abs/2012.09004.
Our Supplementary Material (PDF) is available at Baidu Netdisk (百度网盘) https://pan.baidu.com/s/1ZZEmpuPXRNBPvG0WHbbPKA. The extraction code (提取码) is 1234.
Here we give some instructions for running our code.

Authors

First Author

Zhengyan Tong (童峥岩), 此论文idea提供者、代码原作者、论文主笔者,主要从事计算机视觉方面的研究。发表此论文时为上海交通大学电子信息与电气工程学院信息工程专业大四在读本科生。联系方式: [email protected]

Other Authors

  • Xuanhong Chen (Shanghai Jiao Tong University Ph. D.)
  • Bingbing Ni (Shanghai Jiao Tong University Associate Professor) Corresponding author
  • Xiaohang Wang (Shanghai Jiao Tong University Undergraduate)

Acknowledgments

  • I am extremely grateful to the Second Author Xuanhong Chen for his professional advice, comments, and encouragement, which greatly improves this work.
  • In particular,I would like to express my gratitude to my junior high school classmate Tianhao Shen for his enthusiastic and selfless help in code debugging, although he is not one of the authors of this paper.

Examples

We give three examples that can be run directly (the hyperparameters of these three examples have been fixed).

Quick start

  • To draw the cat: python cat.py
  • To draw the dog: python dog.py
  • To draw the girl: python girl.py

Results

cat cat
cat cat
cat cat

Instructions

To draw arbitrary input: python process_order.py. Of course you need to adjust the following parameters.

Hyperparameters

  • input_path = './input/your file' Input image path
  • output_path = './output' Do not change this
  • n = 10 Gray-scale quantization order
  • period = 5 Line(stroke) width
  • direction = 10 Direction quantization order
  • Freq = 100 Save the drawing process every Freq strokes are drawn
  • deepen = 1 Edge map's intensity. The bigger, the darker.
  • transTone = False Do not change this
  • kernel_radius = 3 Edge tangent flow kernel size, do not change this
  • iter_time = 15 Edge tangent flow kernel iterations times, do not change this
  • background_dir = None Whether fix the drawing direction in the background, this value could be None or an integer between (0~180)
  • CLAHE = True Whether input uses CLAHE (Do not change this)
  • edge_CLAHE = True Whether edge map uses CLAHE (Do not change this)
  • draw_new = True Do not change this
  • random_order = False Use random drawing order if True
  • ETF_order = True Use the drawing order described in our paper if True
  • process_visible = True Whether show the drawing process

In our supplementary material (PDF), we explain these hyperparameters in more detail and we show more comparisons with existing pencil drawing algorithms. We also offer more results of our method. Our Supplementary Material is available at Baidu Netdisk (百度网盘) https://pan.baidu.com/s/1ZZEmpuPXRNBPvG0WHbbPKA. The extraction code (提取码) is 1234.

Results

girl2
girl2
girl2
girl2
girl2
girl2
girl2
girl2
girl2
girl2
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].