Mean subtraction of OpenCV face detector

asked 2018-06-11 05:03:25 -0600

WHaoC gravatar image

updated 2018-06-11 05:27:05 -0600

berak gravatar image

I have seen the README.md in https://github.com/opencv/opencv/tree/master/samples/dnn

The mean subtraction of OpenCV face detector should be (104, 177, 123) for BGR, but both test.prototxt and train.prototxt in opencv/samples/dnn/face_detector show the mean_value for channel G is 117.

Did I miss something?

edit retag flag offensive close merge delete

Comments

@WHaoC, feel free to test an accuracy using (104, 117, 123) mean values as described in https://github.com/opencv/opencv/tree... . If it improves mAP, you need to fix it at https://github.com/opencv/opencv/blob... and at https://github.com/opencv/opencv/blob... .

dkurt gravatar imagedkurt ( 2018-06-14 02:24:21 -0600 )edit