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

Recognition not working in light #32

Open
Neelchudasama1 opened this issue May 28, 2018 · 7 comments
Open

Recognition not working in light #32

Neelchudasama1 opened this issue May 28, 2018 · 7 comments

Comments

@Neelchudasama1
Copy link

Hi.
This demo is working fine. and it's really helpful for me.
But I m facing one problem while trying to recognize the face but if there is light in the background so it ll not recognize a face.

@saudet
Copy link
Member

saudet commented May 30, 2018

Try to follow the tutorial: https://docs.opencv.org/3.4.1/da/d60/tutorial_face_main.html

@Neelchudasama1
Copy link
Author

HI.
Before posting this comment I have tried with the same link but still m not able to recognize in lighting area.
Can you please tell me what changes I need to do in current development.

@pratikvyas1991
Copy link

Hello, The same problem I am facing,

  1. When we train the model in low light, It doesn't recognize in high light condition.
  2. when we train the model in the high light, It doesn't recognize in low light condition.
    please suggest me something other than the link you mentioned which can help in different light conditions. As I have read the link so many times.
    Thanks

@pratikvyas1991
Copy link

@saudet: No Clue Yet?

@saudet
Copy link
Member

saudet commented Jun 1, 2018

You could just use the 2 classifiers that you have... ?

@pratikvyas1991
Copy link

Well I have Used LBPH , and it gives good result , But I need solution when light condition changes ,That's where I am stuck and Don't have any clue

@pafzalkhan
Copy link

Convert Mat to gray mat
cvtColor(mat_src, mat_des, 6);
use histogram equalization
equalizeHist(mat_des, mat_des);

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

No branches or pull requests

4 participants