detect function
Implementation
Future<List<Face>> detect(
CameraImage image,
HandleDetection handleDetection,
int cameraLenIndex,
) async {
final googleImage = GoogleVisionImage.fromBytes(
_concatenatePlanes(image.planes),
_buildMetaData(image, rotationIntToImageRotation(cameraLenIndex)),
);
return handleDetection(googleImage);
}