https://github.com/adamspannbauer/line_art
https://github.com/adamspannbauer/line_art
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/adamspannbauer/line_art
- Owner: AdamSpannbauer
- License: mit
- Created: 2020-01-12T23:18:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-14T13:31:25.000Z (over 6 years ago)
- Last Synced: 2025-03-02T18:19:50.486Z (over 1 year ago)
- Language: Python
- Size: 9.04 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Line Art1
Draw an input image using a random walk. Comes in 2 flavors: (1) Black/White & (2) Color. Presented with little description, documentation, usage information.
The color version uses the dominant color finding process shown [here](https://adamspannbauer.github.io/2018/03/02/app-icon-dominant-colors/) (with some modifications to avoid 'unwanted' colors).
Built with:
* Python (for uhh... everything)
* OpenCV (for segmenting/drawing2)
* Sci-kit Learn (for finding dominant colors)
## Example Input/Output
### Color
Output:

Input:

### Black/White
Output:

Input:

1Not sure if technically lines or technically art
2I should prolly learn p5.js instead of using OpenCV for these drawing type projects