ai.natml.vision.ssd-lite
v1.0.1
Published
Single Shot Detector Lite for object detection in Unity Engine.
Downloads
928
Maintainers
Readme
Single Shot Detector Lite
SSD Lite high performance general object detection.
Installing SSD Lite
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"
}
}
Detecting Objects in an Image
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);
Requirements
- Unity 2021.2+
Quick Tips
- Join the NatML community on Discord.
- Discover more ML models on NatML Hub.
- See the NatML documentation.
- Contact us at [email protected].
Thank you very much!