FaceAlignment

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

Face alignment models and preprocessing.

Types

Fan2d106
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.FaceAlignment
Link copied to clipboard