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:
var predictor = await NanoDetPredictor.Create();
Then detect objects in the image:
Texture2D image = ...;
NanoDetPredictor.Detection[] detections = predictor.Predict(image);
Requirements
Quick Tips
Thank you very much!