The OpenCV Contrib Module on Android
===

I'm trying to develop a Face Recognition app on Android and since I don't want to use NDK on the project (simply don't have the time to switch), I'm sticking to develop the whole app with Java and therefor I'm having some problems :

1. It seems the Contrib Module isn't included in OpenCV 2.4.2 . is there anyway to use it in the project ?

2. I tried using JavaCV to use the Contrib Module's "FaceRecognizer" class. there are two classes available called "FaceRecognizer" & "FaceRecognizerPtr". does anybody know what the difference between these two is ?

3. The classes mentioned above have a method called "Train" which (In C++) receives two Vectors of types "Mat & Integer" ( `model->train(images,labels) & train(Vector<mat> theImages, Vector<int> theLabels`) . I tried passing them ArrayList<mat> & ArrayList<integer> and Vectors in Java but it seems that the method explicitly accepts the "CvArr" Data type which I'm not sure how to acquire... Here is the error :

> The method train(opencv_core.CvArr, opencv_core.CvArr) in the type
> opencv_contrib.FaceRecognizer is not applicable for the arguments
> (ArrayList<Mat>, ArrayList<Integer>)

Does anyone know how to change my ArrayList to CvArr ?!

This is my first post and I wasn't sure whether to ask all three questions in one post or in three posts so sorry for any inconveniences... If you need any other Information about the project, feel free to ask.