FaceAlignment
sealed class FaceAlignment<T : InferenceModel, U : InferenceModel> : ModelType<T, U>
Content copied to clipboard
Face alignment models and preprocessing.
Types
Fan2d106
Link copied to clipboard
object Fan2d106 : ONNXModels.FaceAlignment<OnnxInferenceModel, Fan2D106FaceAlignmentModel>
Content copied to clipboard
This model is a neural network for face alignment that take RGB images of faces as input and produces coordinates of 106 faces landmarks.
Functions
preInit
Link copied to clipboard
preprocessInput
Link copied to clipboard
open fun preprocessInput(imageFile: File, preprocessing: Preprocessing): FloatArray
Content copied to clipboard
abstract fun preprocessInput(data: FloatArray, tensorShape: LongArray): FloatArray
Content copied to clipboard
pretrainedModel
Link copied to clipboard
Properties
Inheritors
ONNXModels.FaceAlignment
Link copied to clipboard