Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the error "the feature2MatrixInit failed!!" #8

Open
Ghustwb opened this issue Jun 28, 2017 · 1 comment
Open

the error "the feature2MatrixInit failed!!" #8

Ghustwb opened this issue Jun 28, 2017 · 1 comment

Comments

@Ghustwb
Copy link

Ghustwb commented Jun 28, 2017

The problem still exists.
First of all ,I want to test 1920*1080 video.
Then,when i set the "minsize" to 60(default),the application output "the minsize is too small,please change it",and,I set the value of "minsize" to 80, "the feature2MatrixInit failed!!"Segmentation fault
And,I change the "mtcnn find(image.rows, image.cols)" to "mtcnn find(640,480)" in pikaqiu.cpp. Finally the program work correct. but I do not ensure the accuracy! I do not understand it.
BTW, I think the the way of timer is not correct,I am in ubuntu. your test code is clock()/10e3,maybe is clock()/CLOCKS_PER_SEC
Thanks

@AlphaQi
Copy link
Owner

AlphaQi commented Jun 28, 2017

  1. I have updated the code again, and I think I made a mistake before.
    This time, I delete the incorrect scales in the initialization stage.
  2. The reasons is analyzed in other replies.
  3. You set "mtcnn find(640,480)" is wrong, it can't get the correct result, if you want to know the reason, you need to learn the paper.
  4. about the time cost problem, I have changed introductions before, I get 68ms per frame under windows10 .VS2013.
  5. Thank you for you advice, I will check the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants