core/utils library
Functions
-
detect(
CameraImage image, HandleDetection handleDetection, int cameraLenIndex) → Future< List< Face> > - Detection method. Returns the list of faces found.
-
getCamera(
CameraLensDirection dir) → Future< CameraDescription?> -
get front camera description or return
null
if unavailable -
rotationIntToImageRotation(
int rotation) → ImageRotation - Returns camera rotation based on camera index.
Typedefs
-
HandleDetection
= Future<
List< Function(GoogleVisionImage image)Face> >