Giter Site home page Giter Site logo

sunder's Introduction

心灵控制器!

你是否经常遇到这种情况,跟女朋友吵架了,却不知道对方在想什么?

……要是能进入对方的**是不是就好了?

我正好发明了心灵控制器,可以帮你解决这个问题!

使用效果

doc/jjj.jpg

心灵控制器的效果真是太好了!

使用方法

首先你要安装1个Python,然后pip install opencv-python

接下来只要clone这个仓库回去,就可以import心灵控制器了,像是这样——

import cv2
import sunder

背景颜色 = [255, 255, 255]
我的背景颜色 = [229, 229, 229]
我的字颜色 = [0, 0, 0]
你的背景颜色 = [245, 183, 18]
你的字颜色 = [255, 255, 255]

img = cv2.imread('in.png')
img2 = sunder.sunder(img, 背景颜色, 我的背景颜色, 我的字颜色, 你的背景颜色, 你的字颜色)

cv2.imwrite('out.png', img2)

使用起来非常简单!

结束

好,我要回去控制女孩子了,大家88!

sunder's People

Contributors

rimochan avatar

Stargazers

Flandre Scarlet avatar BiDuang avatar  avatar  avatar 想出网名啦 avatar Rin Tepis avatar

Watchers

 avatar  avatar

sunder's Issues

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.