Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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!

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.