Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 2.42 KB

README_EN.md

File metadata and controls

50 lines (36 loc) · 2.42 KB

English | 简体中文

MODNET-Matting-tool

C# reasoning tool based on deep learning matting tool
[Paper]

wechat:人工智能大讲堂

Reply [mat] in the background to get the installation package and model files

Supports multiple input file types

File -> Image File Load a local image file
File -> Screenshot
File -> Clipboard
File -> Video For efficiency, the current Fps is 2, that is, two frames per second

Support background replacement

Background->Background Colo: Replace the background with a solid color

Background -> Background Image: Replace the background with an image

Supports multiple save options

Save -> Save Overall :Foreground+Background

Save -> Save Foreground: Save only foreground

The saved images and videos are all under the path of the exe.

source code compilation

  1. Download the source code to the local 2.Visual Studio opens the .sln project solution
  2. Install the Nuget package

    3.1 In Visual Studio, right-click on the project and select "Manage NuGet Packages".

    3.2 In the "NuGet Package Manager" window, select the "Browse" tab.

    3.3 Search for Microsoft.ML.OnnxRuntime, select version 1.15.1, and click Install

    3.4 Search for OpenCvSharp4, select version 4.8.0, and click Install

    3.5 Search for OpenCvSharp4.runtime.win, select version 4.8.0, and click Install

    3.6 Find ScreenCapture.dll under Debug or Release and add it to the reference
  3. Put MODNET.onnx in the exe path
  4. Run the program