Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wangsrgit119/cartoon-media
image or video to cartoon| 图片视频卡通化
https://github.com/wangsrgit119/cartoon-media
cartoon docker fastapi ffmpeg image-cartoonizer python3
Last synced: 19 days ago
JSON representation
image or video to cartoon| 图片视频卡通化
- Host: GitHub
- URL: https://github.com/wangsrgit119/cartoon-media
- Owner: wangsrGit119
- License: mit
- Created: 2023-01-16T01:30:58.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-04T06:15:26.000Z (10 months ago)
- Last Synced: 2024-03-04T07:27:38.262Z (10 months ago)
- Topics: cartoon, docker, fastapi, ffmpeg, image-cartoonizer, python3
- Language: Python
- Homepage:
- Size: 38.3 MB
- Stars: 48
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cartoon-media
> image or video to cartoon
![example](example.png)
> base repo [cartoonize](https://github.com/experience-ml/cartoonize)
### get starter with docker
> build image
```sh
docker build -t cartoon-media:1.0 .
```> start container
```sh
docker run -d --name cartoon-1.0 -p 18080:18080 cartoon-media:1.0
```> visit: http://localhost:18080/front/
### get start with local
```cmd
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```
> visit: http://localhost:18080/front/## 中文
### 容器构建和启动
> 下载源码构建容器
```sh
docker build -t cartoon-media:1.0 .
```> 启动容器
```sh
docker run -d --name cartoon-1.0 -p 18080:18080 cartoon-media:1.0
```> 启动后访问: http://localhost:18080/front/
### 本地启动
> 注意依赖安装
```cmd
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```
> 访问: http://localhost:18080/front/