Future<Uint8List> convertImage(CameraImage image) async { try { return image.planes.first.bytes; } catch (e) { debugPrint('>>>>>>>>>>>> ERROR: $e'); } return Uint8List(0); }