processCameraImage function
Calls parallel method to convert image from CameraImage
type into InputImage
type.
Implementation
Future<void> processCameraImage(ReceivePort rp, CameraImage image) async {
final message = {
"sendport": rp.sendPort,
"image": image,
};
await Isolate.spawn(_processCameraImage, message);
}