Git Product home page Git Product logo

img_mix's Introduction

图像混合

一个适用于HoshinoBot的图像混合插件

★ 如果你喜欢的话,请给仓库点一个star支持一下23333 ★

本项目地址:

https://github.com/BeiYazi0/Img_Mix

部署教程:

1.下载或git clone本插件:

在 HoshinoBot\hoshino\modules 目录下使用以下命令拉取本项目

git clone https://github.com/BeiYazi0/Img_Mix

2.安装依赖:

pip install -r requirements.txt

3.启用:

在 HoshinoBot\hoshino\config\ bot.py 文件的 MODULES_ON 加入 'Img_Mix'

然后重启 HoshinoBot

指令

【混合】 +序号+图片1+图片2

指定mask来对两张图片进行混合

【查模板】 +序号

查看指定的mask

【添加模板】 +模板名+图片

添加mask

效果

原图 image image

指令 image image

效果 image

备注

添加模板可以添加自己的mask,但是mask应当只能是是黑(0,0,0)白(255,255,255)两色。

img_mix's People

Contributors

beiyazi0 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

img_mix's Issues

不存在该模板

下载完之后我查模板1,告诉我不存在该模板,但是我去找MASK,发现里面确实有原来就有的黑白图片

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.