Socket
Socket
Sign inDemoInstall

ai.natml.vision.meet

Package Overview
Dependencies
1
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ai.natml.vision.meet

MediaPipe Meet Segmentation for human matting in Unity Engine.


Version published
Weekly downloads
392
decreased by-21.13%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Meet

MediaPipe Meet Segmentation for human matting in Unity Engine.

Installing Meet

Add the following items to your Unity project's Packages/manifest.json:

{
  "scopedRegistries": [
    {
      "name": "NatML",
      "url": "https://registry.npmjs.com",
      "scopes": ["ai.natml", "ai.fxn"]
    }
  ],
  "dependencies": {
    "ai.natml.vision.meet": "1.0.7"
  }
}

Predicting the Matte

First, create the predictor:

// Create the Meet predictor
var predictor = await MeetPredictor.Create();

Then predict the human matte:

// Given an image...
Texture2D image = ...;
// Predict the human matte
MeetPredictor.Matte matte = predictor.Predict(image);

Finally, render the segmentation map to a RenderTexture:

// Create a destination `RenderTexture`
var result = new RenderTexture(image.width, image.height, 0);
// Visualize the map into a `RenderTexture`
matte.Render(result);

Requirements

  • Unity 2022.3+

Quick Tips

  • Join the NatML community on Discord.
  • Discover more ML models on NatML Hub.
  • See the NatML documentation.
  • Contact us at hi@natml.ai.

Thank you very much!

Keywords

FAQs

Last updated on 05 Sep 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc