seathiefwang / FaceRecognition-tensorflow

基于TensorFlow训练的人脸识别神经网络
1.31k stars 414 forks source link

通过摄像头识别自己速度很慢 #10

Open blog4me opened 6 years ago

blog4me commented 6 years ago

您好,我学习您项目时候,通过摄像头获取自己的脸时候,时间很长,用了接近4小时才获取到10000张自拍,问一下您知道是什么原因吗?我用的是dlib

seathiefwang commented 6 years ago

dlib这个库没有opencv快的,准确率要高一点。

tbfly commented 6 years ago

https://github.com/seathiefwang/FaceRecognition-tensorflow/pull/5

You can try this.

blog4me commented 6 years ago

Thanks! I’m gonna try

5

You can try this.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Bluenessdrops commented 4 years ago

我的做法是先剪裁图片再进行处理,并且把显示函数和处理函数分开来写,这样会快一点且不影响imshow的显示效果,差不多3分钟就能抓1000张