1.0.2 • Published 9 months ago

ai.natml.vision.nanodet v1.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

NanoDet

NanoDet high performance general object detection.

Installing NanoDet

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

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

Detecting Objects in an Image

First, create the NanoDet predictor:

// Create the NanoDet predictor
var predictor = await NanoDetPredictor.Create();

Then detect objects in the image:

// Create image feature
Texture2D image = ...;
// Detect objects
NanoDetPredictor.Detection[] detections = predictor.Predict(image);

Requirements

  • Unity 2022.3+

Quick Tips

Thank you very much!