颤振中的等效 CameraImage.planes 是什么?

时间:2021-01-13 16:29:53

标签: flutter

我的应用中有图片

Uint8List file = await _videoViewController.takeSnapshot();
DartImage.Image test = DartImage.decodeImage(file);

为了把它放在我的 AI 中,我需要像 CameraImage.planes 这样的东西放在 bytesList 上,它的工作原理是这样的:

Tflite.detectObjectOnFrame(
            bytesList: cameraImage.planes.map((plane) {
              return plane.bytes;
            }).toList(),

DartImage.Image 上有什么东西可以替代 CameraImage.planes 吗?

0 个答案:

没有答案