Giter Site home page Giter Site logo

huanghaozi / automatting Goto Github PK

View Code? Open in Web Editor NEW
54.0 54.0 7.0 1.49 MB

用Qt+OpenCV写的自动抠图的软件,使用removebg提供的api接口,可生成高清图

License: GNU General Public License v3.0

QMake 0.02% C++ 96.25% C 3.60% Objective-C 0.14%

automatting's Introduction

Hi there 👋 I'm HH, a coder in ZTE

  • Majored in 💰Finance
  • Minored in 🎞EE
  • Favoring 💻Coding
  • Blogging on (my website): 🖋huanghaozi.cn
  • Making a living🤯 at Shenzhen

My Stats Top Langs

automatting's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

automatting's Issues

现在每个token只能处理两张照片了。。。

感谢大神的工具,非常好用,但是今天开着全局代理,速度足够快。但是第三张图片就是bad request 以及too many request 的报错,换个token又能来两张,我觉得是不是处理时间过快导致的,麻烦大神看看

似乎。。。效果有待优化?一个新的想法(或许可行?)

image
左图是缩略图下载的样子,右图是本软件生成的,可以看到有蓝色的底色毛边(和阿里妈妈处理的效果差不多)

image
(上图为阿里妈妈抠图的效果)

或许可以通过蒙版获取需要裁剪的边框,计算合适的大小进行拆分,将每一张包含边界的图片上传进行处理(理论上图片像素小于 25w 就可以下载“高清图”),之后再讲下载后的图片重新拼接起来。。。。

或许api的次数就有点不够了,或许就需要通过模拟提交或者分析数据接口了(反正python配上一个chrome绿色版再加一个配套的驱动一打包就行。。。)(或者就直接用electron外部操作网页。。。)

注:

上两张图所涉及的四个头像(部分)均为我朋友的照片。。。
已经打码了,如果还是感觉被冒犯了,那就忍着吧 😄

项目肝完了,来共享一下 API Key ,大家一起来用呀

非常感谢大佬的工具,非常好用!
因为我的项目肝的差不多了,只剩下测试了
所以把自己申请的 API Key 拿出来和大家一起共享
大概抠了近1700张图,效果挺好

API Key List:

rM6HY6KGTBgvMaddsFZyKyzg
V85sxU8zHRGRXDP4QywXPL9P
GathnexZ1kRgNqwJcNQjtDs7
yNBDnJNZackcwtwSzY6BTv2r
7vVVM7oRNBBFwibT7J3XhCCS
PLRGdWtUTmCzhrcToNg6uHJV
83H5CWXN2duVkBdMBV3Wd4B7
Zp6rRkuAz735wT4HuRQjvn2z
FbAWy11UWoyQrRTpKDhrXxmU
5jstgQbuzVYsXFcoVM2PdZxk
JydB6pE2UCjc1WzYkWUgeyMi
xjTNqneCdqR1D8c9xg4o18V5
vZWjJLvSLYuAnwaPf5ziiAnG
exhLiTGiXE45j8ShGskEb6TY

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.