All Projects → yaochao → Img_to_txt

yaochao / Img_to_txt

Licence: mit
image to txt and video to txt

Programming Languages

python
139335 projects - #7 most used programming language

Image transfer to txt

Usage

  • install dependence:
$ pip3 install -r requirements.txt
  • command:
$ python3 img_to_txt.py [file/url] [size]
  • args:
[file/url]: The local file path, or online pic URL.
[size]: Width of output txt, The larger the size, the clearer the picture .

Example

$ python3 img_to_txt.py https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png

This command executed, you will get a file in current folder named out.txt, and you will watch a string output in the console:

google

google-txt

Lience

MIT lience

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