Java Cv-Algorithm.getList(stringVector) returns 0.

asked 2013-12-19 00:27:03 -0500

vivek0402 gravatar image

I am using open cv 2.4.6 and java cv 0.6. for face recognition. I wanted to know the no. of algorithms present for face recognition. but in my code it returns 0. here is my code-

StringVector algo=new StringVector();
    Algorithm.getList(algo);
    System.out.println(algo.size());

If I am creating object for any face recognition algorithm, it returns null.does it mean No algorithm's present for face recognition? What's wrong here.

edit retag flag offensive close merge delete