更新时间:2023-01-29 19:37:28
看起来像它是在Flutter Live中通过开发演示之一完成的。在 ***视频在此处中查看。在24:17。 CameraController上有一个名为getByteStream的方法。该方法的要点如下所示。
Looks like it is possible as it was done at Flutter Live with one of the development demos. Check out the *** video here . at 24:17. There is a method on the CameraController called getByteStream. The gist of the method shown below.
void cameraBytesToDetector({@required CameraController camera}){
camera.startByteStream( (image) {
// do something with the image stream here
});
}
但是我找不到任何参考,因为我也在寻找一种方法读取视频流。
But I can find no reference anywhere as I am also looking for a way to read the video stream.