car

cartooner

make images look like a cartoon image

Showing:

Popularity

Downloads/wk

0

GitHub Stars

99

Maintenance

Last Commit

6mos ago

Contributors

2

Package

Dependencies

3

License

Categories

Readme

Cartooner

This tool converts your photo into a cartoon-like image

Samples

input

output

install

pip install cartooner

how to use


from cartooner import cartoonize
import cv2
import os
import time

input_file = ... # input image file name
output_file = ... # output image file name
image = cv2.imread(input_file)
output = cartoonize(image)

cv2.imwrite(output_file, output)

Dependences

  • numpy

  • scipy

  • opencv-python

    pip install -r requirement.txt
    

How it works

This cartoonizer uses K-means algorithm to cluster the histogram of image. The value K is auto selected by the method in this paper.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial