szad670401 / Fast-MTCNN

a casual work about retraining to optimize mtcnn Pnet and ONet. it can achieve 100+fps on CPU with minSize 60 (1920x1080) on intel i7 6700k
204 stars 63 forks source link

Slow performance using OpenVino #7

Open dbousamra opened 5 years ago

dbousamra commented 5 years ago

I am using your code, compiled against OpenVino l_openvino_toolkit_p_2018.3.343.

It works, but it's slower than it was using normal opencv. I'm not sure what I've done wrong. I added these lines where you run the networks: PNet_.setPreferableBackend(cv::dnn::DNN_BACKEND_INFERENCE_ENGINE); This is much slower than: PNet_.setPreferableBackend(cv::dnn::DNN_BACKEND_OPENCV);

Any ideas?

dbousamra commented 5 years ago

Has anyone tried this code with OpenVino?

runauto commented 5 years ago

Has anyone tried this code with OpenVino?

I also find this problem。

dbousamra commented 5 years ago

@runauto What have you found? That it's slower in Open Vino? Did you learn anything interesting?