Awesome-Python-Scripts/Toonify
Chetan Pandey cef99f37d3
Toonify Scripts (#154)
* Toonify Script Added

* Update README.md

* Update toonify-API-2.py
2020-10-05 13:25:29 +05:30
..
README.md Toonify Scripts (#154) 2020-10-05 13:25:29 +05:30
toonify-API-1.py Toonify Scripts (#154) 2020-10-05 13:25:29 +05:30
toonify-API-2.py Toonify Scripts (#154) 2020-10-05 13:25:29 +05:30
toonify-opencv.py Toonify Scripts (#154) 2020-10-05 13:25:29 +05:30

HOW TO USE

Using OpenCv (link)

  • To just view the image
python3 toonify-opencv.py -i img_path
  • To view and download the image
python3 toonify-opencv.py -i img_path -o download_path

Using Toonify-API(by DeepAI)

For local image (link)
python3 toonify-API-1.py -i img_path -k api_key

For URLS (link)
python3 toonify-API-2.py -i img_path -k api_key

NOTE: The toonify image works well with .jpg format and might give some problem with other formats

For more details on toonify API:

toonify API doc