create static method
Creates and initializes the model from package assets.
For full pipeline use, prefer the high-level FaceDetector with FaceDetectionMode.full, which loads and runs this model for you.
Implementation
static Future<FaceBlendshapesModel> create({
InterpreterOptions? options,
}) async {
final Interpreter itp = await Interpreter.fromAsset(
'packages/face_detection_tflite/assets/models/$kFaceBlendshapesModel',
options: options,
);
return _finishInterpreter(itp);
}