Flutter 相机无法在颤振中检测中等分辨率的人脸
我正在制作一款应用程序,它可以用firebase ml vision软件包检测人脸抖动,但它可以检测除介质以外的所有分辨率。这是我的应用程序的最佳解决方案,因为使用中等分辨率,图像质量不会太低,但仍能保持性能平稳 那是虫子吗?这是我的代码:Flutter 相机无法在颤振中检测中等分辨率的人脸,flutter,firebase-mlkit,Flutter,Firebase Mlkit,我正在制作一款应用程序,它可以用firebase ml vision软件包检测人脸抖动,但它可以检测除介质以外的所有分辨率。这是我的应用程序的最佳解决方案,因为使用中等分辨率,图像质量不会太低,但仍能保持性能平稳 那是虫子吗?这是我的代码: Center( child: Container( child: RotatedBox( quarterTurns: (MediaQuery .of(context)
Center(
child: Container(
child: RotatedBox(
quarterTurns:
(MediaQuery
.of(context)
.orientation == Orientation.landscape)
? 3
: 0,
child: CustomPaint(
foregroundPainter:
(faces.isEmpty) ? null : MyPainter(faces, imageSize),
child: AspectRatio(
aspectRatio: controller.value.aspectRatio,
child: CameraPreview(controller),
),
),
),
),
),
我有一个想法,我可以使用一个低分辨率的相机控制器来检测和其他高分辨率的相机来显示。在同一页中有两个摄像头控制器可以吗