Giter Club home page Giter Club logo

modnet-matting-tool's Introduction

简体中文 | English

MODNET-Matting-tool

基于深度学习的抠图工具C#推理工具
[Paper]

关注微信公众号:人工智能大讲堂

后台回复【mat】获取安装包以及模型文件

支持多种文件类型

文件->图像文件 加载本地图像文件
文件->截图
文件->剪切板
文件->视频 为了效率目前Fps为2,即每秒两帧

支持背景替换

背景->背景颜色 背景替换为纯色

背景->背景图像 将背景替换为图像

支持多种保存选择

保存->保存整体 前景+背景

保存->保存前景 只保存前景

保存的图像和视频都在exe所在路径下。

源码编译

1.下载源码到本地
2.Visual Studio打开.sln项目解决方案
3.安装Nuget包
3.1在Visual Studio中,鼠标右键单击项目并选择“管理NuGet程序包”。
3.2在“NuGet包管理器”窗口中,选择“浏览”选项卡。
3.3搜索Microsoft.ML.OnnxRuntime,选择1.15.1版本,点击安装
3.4搜索OpenCvSharp4,选择4.8.0版本,点击安装
3.5搜索OpenCvSharp4.runtime.win,选择4.8.0版本,点击安装
3.6找到Debug或者Release下的ScreenCapture.dll,添加到引用中
4.将MODNET.onnx放到exe路径下
5.运行程序

注意:有时前景图像中可能带有一些碎片,可以使用OpenCV最大连通域算法去掉小的碎片。

modnet-matting-tool's People

Contributors

aidajiangtang avatar

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

Watchers

 avatar  avatar

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.