爱意满满的作品展示区。
suke119
0D

图片视频卡通化,支持容器化部署

  •  3
     
  •   suke119 ·
    wangsrGit119 · Jan 16, 2023 · 6077 views
    This topic created in 1214 days ago, the information mentioned may be changed or developed.

    GitHub 源码:https://github.com/wangsrGit119/cartoon-media

    效果:

    说明:页面暂时支持图片卡通化,视频本地启动后直接调用下面函数

    videoactiontransfer(file_path)
    

    容器构建和启动

    下载源码构建容器

    docker build -t cartoon-media:1.0 .
    

    启动容器

    docker run -d --name cartoon-1.0 -p 18080:18080 cartoon-media:1.0
    

    启动后访问: http://localhost:18080/front/

    本地启动

    注意依赖安装

    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/

    Supplement 1  ·  Jan 18, 2023

    附一张我最喜欢的

    image

    高清大图:https://i.v2ex.co/Vs6LETB4l.jpeg

    4 replies    2023-01-18 16:04:47 +08:00
    gimp
        1
    gimp  
       Jan 18, 2023
    gimp
        2
    gimp  
       Jan 18, 2023
    试了几张,猫猫效果最好 😄
    suke119
        3
    suke119  
    OP
       Jan 18, 2023 via iPhone
    @gimp 🫣🫣
    suke119
        4
    suke119  
    OP
       Jan 18, 2023 via iPhone   ❤️ 1
    @gimp 你看我例子里面那个玫瑰花🌹也很好看
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1001 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 19:15 · PVG 03:15 · LAX 12:15 · JFK 15:15
    ♥ Do have faith in what you're doing.