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