<commit_before>img2txt
=======

Image to Ascii Text. Dead simple, something useless.

Sample:

.. image:: https://github.com/hit9/img2txt/raw/master/sample/test.jpg

.. image:: https://github.com/hit9/img2txt/raw/master/sample/html.png

Install
-------

::

    [sudo] pip install git+git://github.com/hit9/img2txt.git

Usage
-----

::

    Usage: img2txt <imgfile> [--size=<size>] [--level=<level>]

sample usage::

    img2txt me.jpg --size=100 --level=10  > me.html

the arguments::

    --size             max length of the result
    --level            height/levle will get the line-height(here, height means the height of result)

WhyHTML<commit_msg>install must via git<commit_after>img2txt
=======

Image to Ascii Text. Dead simple, something useless.

Sample:

.. image:: https://github.com/hit9/img2txt/raw/master/sample/test.jpg

.. image:: https://github.com/hit9/img2txt/raw/master/sample/html.png

Install
-------

::

    git clone https://github.com/hit9/img2txt.git
    python setup.py install

Usage
-----

::

    Usage: img2txt <imgfile> [--size=<size>] [--level=<level>]

sample usage::

    img2txt me.jpg --size=100 --level=10  > me.html

the arguments::

    --size             max length of the result
    --level            height/levle will get the line-height(here, height means the height of result)

WhyHTML
{'fraction_non_alphanumeric': 0.16143497757847533, 'fraction_numerical': 0.02092675635276532, 'mean_word_length': 2.6287262872628725, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3244199', 'n_tokens_mistral': 467, 'n_tokens_neox': 443, 'n_words': 110}