Ask Your Question
0

How to perform face recognition using java library of Open Cv.

asked 2013-12-17 05:03:17 -0600

vivek0402 gravatar image

updated 2013-12-17 05:04:02 -0600

I am using java library of open cv 2.4.7. I don't know how to use its FaceRecognizer class. when I looked at the definition of this class I found this.

Ptr_FaceRecognizer createEigenFaceRecognizer(int num_components = 0, double threshold = DBL_MAX)

Return type 'Ptr_FaceRecognizer' is not supported, skipping the function.

is there any other method to use this algorithm? As I am very new in the field of open cv so Please suggest the way to perform face recognition by using open cv java library.

edit retag flag offensive close merge delete

Comments

Did you actually tried googling for a solution? Just adding java - opencv - facerecognizer gives me about 100 possible tutorials that all work decently...

StevenPuttemans gravatar imageStevenPuttemans ( 2013-12-17 07:31:14 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-12-17 09:15:54 -0600

berak gravatar image

sorry, dear, that's a (known) bug.

atm the java wrapper can't handle Ptr<something> types (in c++) properly and thus just skips them (as your msg says there).

so there's no native / JNI code for cv::createLBPHFaceRecognizer() and friends

(msg is from opencv\build\modules\java\contrib.txt, right ?)

feel free to append to the issue above.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-12-17 05:03:17 -0600

Seen: 2,408 times

Last updated: Dec 17 '13