coneypo / Dlib_face_recognition_from_camera

Detect and recognize the faces from camera / 调用摄像头进行人脸识别,支持多张人脸同时识别
http://www.cnblogs.com/AdaminXie/p/9010298.html
MIT License
2.07k stars 572 forks source link

服务器如何调用本地摄像头 #44

Closed OverVan closed 3 years ago

OverVan commented 3 years ago

大佬您好,我是在服务器上跑的python程序,那么怎么使用本地的摄像头呢?

coneypo commented 3 years ago

服务器是本地服务器吗还是云上的,你可以不读摄像头,cap = cv2.VideoCapture("video.mp4")试试看