Giter Site home page Giter Site logo

cartoon_camera_filter's Introduction

Cartoon_Camera_Filter

Cartoon stylization on landscape picture with pure image processing method. This is my final project of RPI's ECSE-4540 (introduced by Dr. Richard Radke). You can find out the theoritical details of the project in the final_report file.

cartoon_filter.py is the code of my project. I have put some demo source image in demo_image folder for testing. If you want to test your own photo, please put it that folder and named it with number.

After opening the code with whatever IDE you want, you will see that there is a num variance which indicate the name of the picture you want to input from the demo_image folder. This is a while loop generating program, please change both the num variance and the name of the last image you want to input after the "while". Then you can batch generate the results and the results will be stored in output folder.

I provided two sky image and three style imageshere, please use whatever you want and don't forget to change the sky and style images' file names in my code. Notice that style1 and style2 can lead to a bright and colorful output and style3's output's color will be much more similar to original image.

I recommand you to run the code under Anaconda. All you need to do is installing a OpenCV package. If you use other environment to run the code, please install following package first:

cv2 matplotlib imageio numpy scipy skimage

Thanks

Ziyu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.