标签: python flutter opencv face-recognition
我正在尝试使用 Flutter 在移动应用程序中构建人脸识别项目。在后端,我使用 python 中的 open cv,所以有 cv2.VideoCapture(0) 来打开网络摄像头,让我感到困惑的是..是否可以使用 cv2.VideoCapture(0) 从移动应用程序打开相机设备?或者有没有正确的方法从颤振中打开相机设备并将其与后端连接以进行人脸识别?
cv2.VideoCapture(0)