Package com.libremobileos.yifan.face
Class FaceDetector.InputImageProcessor
- java.lang.Object
-
- com.libremobileos.yifan.face.FaceDetector.InputImageProcessor
-
- Enclosing class:
- FaceDetector
public static class FaceDetector.InputImageProcessor extends Object
ProcessesBitmap
s to compatible format- See Also:
FaceDetector.InputImage
-
-
Constructor Summary
Constructors Constructor Description InputImageProcessor(int inputWidth, int inputHeight, int sensorOrientation)
Create newFaceDetector.InputImage
processor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FaceDetector.InputImage
process(Bitmap input)
ProcessBitmap
for use in AI model.
-
-
-
Constructor Detail
-
InputImageProcessor
public InputImageProcessor(int inputWidth, int inputHeight, int sensorOrientation)
Create newFaceDetector.InputImage
processor.
-
-
Method Detail
-
process
public FaceDetector.InputImage process(Bitmap input)
ProcessBitmap
for use in AI model.- Parameters:
input
-Bitmap
with length/height that were specified in the constructor- Returns:
- Processed
FaceDetector.InputImage
-
-