jessdy / Media2Cartoon

img2cartoon and video2cartoon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Media2Cartoon

Made in China Created by Jessdy GitHub Release Downloads Bitbucket open issues

English | 中文简体

This is an open source software that can convert uploaded images or videos into cartoon style.

screenshot

Features

  • Supports uploading of image and video formats
  • Supports resizing video.
  • Supports trimming video length.

Usage

Docker(Recommend)

  1. Clone the code repository to your local machine.
git clone https://github.com/jessdy/Media2Cartoon.git
  1. Container building
docker build -t Media2Cartoon:1.0 .
  1. Start the container
docker run -d --name cartoon-1.0 -p 18080:18080 Media2Cartoon:1.0
  1. Visit
  • URL:[http://localhost:18080/front/]

Local

  1. Clone the code repository to your local machine.
git clone https://github.com/jessdy/Media2Cartoon.git
  1. Install dependencies
cd server
pip uninstall -y protobuf
pip install protobuf==3.19.0 -i https://pypi.douban.com/simple      
pip install -r requirements.txt -i https://pypi.douban.com/simple 
uvicorn main:app --reload --port 18080 --host 0.0.0.0
  1. Visit
  • URL:[http://localhost:18080/front/]

About

img2cartoon and video2cartoon

License:MIT License


Languages

Language:Python 96.0%Language:Dockerfile 4.0%