SSD
object SSD : ONNXModels.ObjectDetection<OnnxInferenceModel, SSDObjectDetectionModel>
Content copied to clipboard
This model is a real-time neural network for object detection that detects 80 different classes (labels are available in org.jetbrains.kotlinx.dl.dataset.handler.cocoCategoriesForSSD).
The model have an input with the shape is (1x3x1200x1200).
The model has 3 outputs:
boxes: (1x'nbox'x4)
labels: (1x'nbox')
scores: (1x'nbox')
See also
Functions
model
Link copied to clipboard
preInit
Link copied to clipboard
preprocessInput
Link copied to clipboard
open fun preprocessInput(imageFile: File, preprocessing: Preprocessing): FloatArray
Content copied to clipboard
open override fun preprocessInput(data: FloatArray, tensorShape: LongArray): FloatArray
Content copied to clipboard
pretrainedModel
Link copied to clipboard
open override fun pretrainedModel(modelHub: ModelHub): SSDObjectDetectionModel
Content copied to clipboard