Ask Your Question

NathanAP's profile - activity

2015-07-16 15:51:00 -0600 commented question Android eyes detection

So I verify if those files exist in sdcard, otherwise I create them from my own apk, right? Well, I could do it before loads the activity where my surfaceview is.

2015-07-16 15:32:02 -0600 received badge  Editor (source)
2015-07-16 15:29:09 -0600 commented question Android eyes detection

Oh, I see... So I need it in my app and in phone sdcard? (Now that you said this, I forgot to say something important in main question. I will edit it)

2015-07-16 15:06:03 -0600 commented question Android eyes detection

Yeah, I have all those in etc folder. So I just put them inside libs folder?

2015-07-16 14:27:34 -0600 asked a question Android eyes detection

Hello guys, Im REALLY new with OpenCV and Im trying to learn how to use it. I'm doing a little project to my college and I need to use OpenCV to detect both eyes (open) from people, the return need to be true/false. I know it might be simple, but Im not sure if Im going in the right way. Im using Android Studio and I dont know if I made the right import: I found an tutorial that made me create a "libraries" folder and a "src/main/jniLibs" to copy files from "opencv/java" folder, it works well, but I dont have those "haarcascade" .xml (from"etc" folder) imported, that seems I need to use. Can you guys help me with this? I really want to learn how to use it, but people on Google and Stackflow need OpenCV for big issues, while I need a true/false return. Thanks!

Edit: forgot to say that Im using it with a bitmap object that will not be saved in sdcard (people clicks in a button in a SurfaceView and OpenCV try to find eyes). I dont know if it changes much, but its a important thing to remember.