Deprecate TFLite preprocessing methods

This commit is contained in:
laurenspriem 2024-03-11 17:10:16 +05:30
parent 350e02f348
commit db4b1a8767
2 changed files with 2 additions and 0 deletions

View file

@ -403,6 +403,7 @@ class ImageMlIsolate {
/// Returns a list of [Num3DInputMatrix] images, one for each face.
///
/// Uses [preprocessToMobileFaceNetInput] inside the isolate.
@Deprecated("Old method used in TensorFlow Lite")
Future<
(
List<Num3DInputMatrix>,

View file

@ -729,6 +729,7 @@ Future<List<Uint8List>> preprocessFaceAlignToUint8List(
/// Preprocesses [imageData] based on [faceLandmarks] to align the faces in the images
///
/// Returns a list of [Num3DInputMatrix] images, one for each face, ready for MobileFaceNet inference
@Deprecated("Old method used in TensorFlow Lite")
Future<
(
List<Num3DInputMatrix>,