SSD Lite high performance general object detection.
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.ssd-lite": "1.0.1"
}
}
First, create the SSD Lite predictor:
// Create the SSD Lite predictor
var predictor = await SSDLitePredictor.Create();
Then detect objects in the image:
// Create image feature
Texture2D image = ...;
// Detect objects
SSDLitePredictor.Detection[] detections = predictor.Predict(image);
- Unity 2021.2+
- 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!