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

Q on initialization params proper values #2

Open
salamanders opened this issue Nov 14, 2018 · 0 comments
Open

Q on initialization params proper values #2

salamanders opened this issue Nov 14, 2018 · 0 comments

Comments

@salamanders
Copy link

salamanders commented Nov 14, 2018

Great wrapper, thank you!

I was trying out your example code, and was curious about new MtcnnService(30, 0.709, new double[] { 0.6, 0.7, 0.7 })

  1. Can you give zn eli5 of the three parameters? (Does scaleFactor have anything to do with stepsThreshold?)
  2. What sort of pre-filtering should I do on the images? Reduce to 640x480? Grayscale? Adjust contrast?
  3. Most importantly, which of these values should I be playing around with? I'm assuming the third param of "steps" isn't a step resize, or else it wouldn't have "0.7" twice.

I'm using it successfully on frames from a 720 HD video, but it is verrrrry slow. Can I include more libs to speed things up? (I don't think I can do CUDA on a mac laptop). Anything I can tweak in the params to speed things up, or perhaps I can downscale the images first?

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

1 participant