Need help in recognising the image for face recognition app using OpenCV

asked 2019-10-10 07:36:08 -0500

updated 2019-10-10 08:15:38 -0500

supra56 gravatar image

I am using LBPHFaceRecognizer algorithm,and using following code :-- mJavaDetector.detectMultiScale(mGray, faces, 1.3, 2, Objdetect.CASCADE_FIND_BIGGEST_OBJECT, new Size(mAbsoluteFaceSize, mAbsoluteFaceSize), new Size()); . So which would be the best scenario for recognizing the images in OpenCv 4.1.0

edit retag flag offensive close merge delete

Comments

face recognition app

which problem exactly are you trying to solve ? what is the goal of your app ?

(the facerecognizer classes there try to find the closest match to known persons in a database. probably not, what you need, but please explain)

berak gravatar imageberak ( 2019-10-10 08:09:31 -0500 )edit

While using the above code for face recognition,sometime it takes lot of time to recognize the face and sometime it even didn't recognize the face completely. So i need best configuration for face recognition to detectMultiScale using in low processor device. And is there any parameters available to change camera resolution in low end devices.

amitanand gravatar imageamitanand ( 2019-10-10 08:28:53 -0500 )edit

it takes lot of time to recognize the face

hey, that is detection only, not recognition. and yes, cascades are slow. use something else, like the dnn based face detection, or pico

berak gravatar imageberak ( 2019-10-10 09:21:37 -0500 )edit

I am using : faceRecognizer.predict(m, n, p); to predict and detect the face ,so using cascade detection of faces is fast but take more time to recognize the face. So how to improve the recognition time using cascade only.

amitanand gravatar imageamitanand ( 2019-10-11 07:52:40 -0500 )edit