sample-projects icon indicating copy to clipboard operation
sample-projects copied to clipboard

Recognition not working in light

Open Neelchudasama1 opened this issue 7 years ago • 7 comments

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.

Neelchudasama1 avatar May 28 '18 07:05 Neelchudasama1

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

saudet avatar May 30 '18 08:05 saudet

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.

Neelchudasama1 avatar May 31 '18 05:05 Neelchudasama1

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 avatar May 31 '18 06:05 pratikvyas1991

@saudet: No Clue Yet?

pratikvyas1991 avatar Jun 01 '18 04:06 pratikvyas1991

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

saudet avatar Jun 01 '18 04:06 saudet

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

pratikvyas1991 avatar Jun 01 '18 04:06 pratikvyas1991

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

pafzalkhan avatar May 30 '19 12:05 pafzalkhan