SinglePoseDetectionModelBase
abstract class SinglePoseDetectionModelBase<I>(modelKindDescription: String?) : OnnxHighLevelModel<I, <ERROR CLASS>>
Content copied to clipboard
Base class for pose detection models for detecting a single pose per image.
Constructors
SinglePoseDetectionModelBase
Link copied to clipboard
Functions
detectPose
Link copied to clipboard
Detects a pose for the given image.
initializeWith
Link copied to clipboard
open override fun initializeWith(vararg executionProviders: ExecutionProvider)
Content copied to clipboard
Initialize the model with the specified executions providers.
Properties
internalModel
Link copied to clipboard
modelKindDescription
Link copied to clipboard
preprocessing
Link copied to clipboard
abstract val preprocessing: <ERROR CLASS><I, <ERROR CLASS><FloatArray, <ERROR CLASS>>>
Content copied to clipboard
Inheritors
SinglePoseDetectionModel
Link copied to clipboard
Extensions
detectPose
Link copied to clipboard
fun SinglePoseDetectionModelBase<Bitmap>.detectPose(imageProxy: ImageProxy): DetectedPose
Content copied to clipboard
Detects a pose for the given imageProxy. Internal preprocessing is updated to rotate image to match target orientation. After prediction, internal preprocessing is restored to the original state.