Skip to content

Run a live cartoonize for live video feed from your camera

License

Notifications You must be signed in to change notification settings

nitish-chhabra/live-cartoonize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live Cartoonize

Cartoonize your own video through the input from the video camera. OpenCV is used to capture the video frames and these are then processed through internal layers to create a cartoonish avatar of your frame. This cartoonish avatar is created multiple times per second (FPS depends on the compute capability of Run Environment)

Demo

Cartoonize Demo

Installation

Cartoonize requires OpenCV v4.2+ to run.

Install the dependencies and run the main.py file to run a live demo of the cartoonize implementation

If you prefer a native install:

$ cd path/to/your/install/directory
$ git clone https://github.com/traveller-scientist/live-cartoonize.git
$ cd live-cartoonize 
$ pip3 install -r requirements.txt
$ python3 main.py

If you prefer a virtual environment (Unix or MacOS):

$ cd path/to/your/install/directory
$ git clone https://github.com/traveller-scientist/live-cartoonize.git
$ python3 -m venv live-cartoonize
$ cd live-cartoonize 
$ source bin/activate
$ pip3 install -r requirements.txt
$ python3 main.py

If you prefer a virtual environment (Windows - cmd):

$ cd path/to/your/install/directory
$ git clone https://github.com/traveller-scientist/live-cartoonize.git
$ python3 -m venv live-cartoonize
$ cd live-cartoonize 
$ Scripts\activate.bat
$ pip3 install -r requirements.txt
$ python3 main.py

To exit the OpenCV cartoonize window please press q on the keyboard

To exit out of the virtual environment:

$ deactivate

License

MIT

Free Software, Hell Yeah!

For any doubts you can also connect with me on LinkedIn or Instagram

About

Run a live cartoonize for live video feed from your camera

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages