FaceRecognition-tensorflow icon indicating copy to clipboard operation
FaceRecognition-tensorflow copied to clipboard

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

Open blog4me opened this issue 6 years ago • 4 comments

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

blog4me avatar Mar 18 '18 02:03 blog4me

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

seathiefwang avatar Mar 18 '18 02:03 seathiefwang

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

You can try this.

tbfly avatar Mar 24 '18 08:03 tbfly

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.

blog4me avatar Mar 24 '18 08:03 blog4me

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

Bluenessdrops avatar Apr 08 '20 13:04 Bluenessdrops