Ask Your Question
0

Face recognition without deep learning on gpu?

asked 2020-04-12 16:05:48 -0600

updated 2020-04-12 20:42:26 -0600

supra56 gravatar image

Hello!

I am currently working on a project where we have to build a model which can detect and recognize faces in video. Can I train the face recognizer on gpu?

Face Recognizer: face_recognizer = cv2.face.LBPHFisherFaceRecognizer() Method train: face_recognizer.train(faces, np.array(labels))

Thank you!

edit retag flag offensive close merge delete

Comments

For OpenCV 3.x and 4.x face_recognizer = cv2.face.LBPHFaceRecognizer_create()

supra56 gravatar imagesupra56 ( 2020-04-12 20:58:49 -0600 )edit

OpenCV 4.1.1

aur1234 gravatar imageaur1234 ( 2020-04-13 02:15:52 -0600 )edit

Sorry ignore my first comment. I used OpenCV 4.3.0

supra56 gravatar imagesupra56 ( 2020-04-13 07:38:21 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-04-14 03:10:39 -0600

It's correct cv2.face.LBPHFaceRecognizer_create(), thanks. I have ommited.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-04-12 16:05:48 -0600

Seen: 368 times

Last updated: Apr 12 '20