Ask Your Question

nanju's profile - activity

2015-07-04 15:00:59 -0600 received badge  Enthusiast
2015-07-02 11:11:18 -0600 received badge  Supporter (source)
2015-07-01 17:04:09 -0600 asked a question There is no java folder in the built opencv4android

Hello! I am making an application that need to use the FaceRecognizer. Since there is no faceRecognizer in ocv4android, I decided to build one containing the extra module. I folowed the instruction here: building opencv4android from trunk. I added the extra modules following the tutorial on How to build OpenCV with extra modules. I added all the extra modules. After the "make install" I had a folder named install which the built openCV4android libray is suppose to be. I tried importing it in eclispe but it was impossible, I compared it whith the standard opencv4android and I found that there was no java folder in the one I built. instead of it, there is a bin folder! And, in all the subfolder of the ocv4android I built, I did not found any java code. I don't understand what is wrong since I followed meticulously the instruction!! Can someone tell me please how to generate those java file?? I am sure that it will also help others who are trying to build ocv4android.

2015-07-01 09:36:30 -0600 commented question Modify OpenCV4Android source code

Hi guys. I built opencv4android but after the execution of "make install" command, a folder have been created named "install". in that folder instead of having a "java" folder I have a "bin" one and all the samples for android are missing. please can someone tells me how to generate the java file?

2015-06-23 10:54:59 -0600 received badge  Organizer (source)
2015-06-23 08:53:07 -0600 received badge  Editor (source)
2015-06-23 08:48:12 -0600 asked a question faceRecognizer on opencv4android

hello everybody!! first of all, I want to apologize if i break some rules for this is my first post here so i don't know yet all the rules.

I am a newbie with openCV! I am writing an application of face recognition on android using opencv. I learned a lot thanks to questions asked here and answers given to them. I' ve been able to progress on the development of my application. while I was developing I tryed to use NDK and all the JNI stuffs but I was not able generate the header file for my cpp file with the command line so I decided to do my best to avoid the usage of JNI and NDK. Just using OpenCV4Android and thanks to answers given here I have been able to write an app that can detect faces, preprocess them with the equalizeHist's stuffs and generate a csv file containing the address and the label of each saved face. My generated csv file contain lines like these:

dir/ect/ory/name.jpg;label

dir/ect/ory/name.jpg;label

dir/ect/ory/name.jpg;label ...

the app also generate and update two map objects that help me to access to names or directories of the detected faces by the usage of the tags. now here comes the problem: I can't use NDK (because the commands lines aren't working as they are supposed to, (note: I am using windows 7))and i don't know why. The second problem is that am not used to c++. So i was wondering if someone can help me by indicate me another clear way to process faceRecognizer. I've read some post and am not interested on using javaCV. it would be great if someone can show me how to modify the source code in c++ shown here so that i can use data i've been able to generate( csv file and equalized image). Its a bit complicated for me cose I must finish it in two days

I saw that many have asked almost similar questions, so please don't be mad at me. :-) Regards and anticipated thanks.

sorry I am updating to tell you guys that i've found why the ndk tools was not working. it was because i used the "/" separator like in linux instead of "\". that problem is solved but know while am trying to write a native methode using Mat parameters, the console answers me that:

Error: class org.opencv.core.Mat could not be found

S.O.S please how can I pass a mat parameter to a native method??