Im not sure if all features are accessible form java side (I dont know
what you are using in your project), but if you import
org.opencv.core.Core; you can use
Core.eigen(src, computeEigenvectors, eigenvalues, eigenvectors) :
Computes eigenvalues and eigenvectors of a symmetric matrix. The
functions "eigen" compute just eigenvalues, or eigenvalues and
eigenvectors of the symmetric matrix "src" : Note: in the new and the
old interfaces different ordering of eigenvalues and eigenvectors
parameters is used.
Parameters:
src Input matrix that must have "CV_32FC1" or "CV_64FC1" type, square
size and be symmetrical ("src"^"T" == "src").
computeEigenvectors a computeEigenvectors
eigenvalues Output vector of eigenvalues of the same type as "src".
The eigenvalues are stored in the descending order.
eigenvectors Output matrix of eigenvectors. It has the same size and
type as "src". The eigenvectors are stored as subsequent matrix rows,
in the same order as the corresponding eigenvalues.
See Also:
org.opencv.core.Core.eigen
org.opencv.core.PCA
org.opencv.core.Core.completeSymm
So I think you could;) I tried come projects in javacv, but it has
terrible lack of documentation and some functions does not work an
Android:/ This new concept of Opencv for Android with realy quick
responses in this forum are awsome:)
Hope it helped you.
Roman
On 30 srp, 12:40, Prerana Polekar <
prerana.poleka...@gmail.com> wrote:
> I am able to run all samples given in the android-opencv package...I
> am trying to get the face-recognition part working on android using
> eigenfaces algo,is it feasible???...My project should look something
> like they have done in the following videohttp://
www.youtube.com/user/JosemGarcia86#p/u/1/38QOp3LhfyM