ObjectDetection

sealed class ObjectDetection<T : InferenceModel, U : InferenceModel> : ModelType<T, U>

Object detection models and preprocessing.

Types

SSD
Link copied to clipboard

This model is a real-time neural network for object detection that detects 80 different classes.

YOLOv4
Link copied to clipboard

Functions

model
Link copied to clipboard
open fun model(modelHub: ModelHub): T
preprocessInput
Link copied to clipboard
open fun preprocessInput(preprocessing: Preprocessing): FloatArray
abstract fun preprocessInput(data: FloatArray, tensorShape: LongArray): FloatArray
pretrainedModel
Link copied to clipboard
abstract fun pretrainedModel(modelHub: ModelHub): U

Properties

modelRelativePath
Link copied to clipboard
open override val modelRelativePath: String

Inheritors

ONNXModels.ObjectDetection
Link copied to clipboard
ONNXModels.ObjectDetection
Link copied to clipboard