Ask Your Question
-1

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

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

amitanand gravatar image

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

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

1

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 -0600 )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 -0600 )edit
1

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 -0600 )edit
1

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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-01-02 06:11:24 -0600

GabrielLuke gravatar image

Although OpenCV is used for facial recognition, OpenCV itself did not identify faces.

We will learn how together with OpenCV and deep education we can apply to:

  1. Detect faces
  2. Compute 128-d face embeddings to quantify a face
  3. Train a Support Vector Machine (SVM) on top of the embeddings
  4. Recognise faces in images and video streams

All these tasks are performed using OpenCV, which allows us to obtain a "pure" face recognition pipeline for OpenCV.

edit flag offensive delete link more

Comments

Is it a spam?

LBerger gravatar imageLBerger ( 2020-01-02 06:58:02 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2019-10-10 07:36:08 -0600

Seen: 249 times

Last updated: Jan 02 '20