https://github.com/MacLeek/ascii-art
work-in-progress structure-based ascii art
https://github.com/MacLeek/ascii-art
Last synced: 3 months ago
JSON representation
work-in-progress structure-based ascii art
- Host: GitHub
- URL: https://github.com/MacLeek/ascii-art
- Owner: MacLeek
- License: mit
- Created: 2016-12-14T07:59:36.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-06T03:14:28.000Z (almost 8 years ago)
- Last Synced: 2024-08-03T11:03:02.710Z (7 months ago)
- Language: Python
- Homepage:
- Size: 1.14 MB
- Stars: 31
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# ASCII-ART
Turn a simple image to text with ascii characters!
Currently the code works a little, I'm still working on it!## Usage
Install the requirements:
```
pip install numpy scipy scikit-image
```
Compile with cython:
```
python setup.py build_ext --i
```
Note: add -I /usr/local/lib/python2.7/site-packages/numpy/core/include(your numpy include path) if needed.In python:
```python
import ascii
ascii.image_to_ascii('monk_1.bmp', 0.3, Rw=48)
```## Results:



## Reference
[Structure-based ASCII Art](http://www.cse.cuhk.edu.hk/~ttwong/papers/asciiart/asciiart.html)