Face Capture Detection via Webcam [closed]
Hi, first of all I'm sorry if my English is kinda mess, cause this isn't my main languange.
I'm a kind of newbie and I get a college task to make gender recognition with SVM. I just told you before I am really a newbie, right? I don't know how to start. I already make a acquisition application to capture image through a webcam, but I don't know how to make webcam detect our face using OpenCv, and then when we press button capture, the image just capture our face. How to make it? How to join java and OpenCv?
Anyway I'm using Java and netbeans 7.1. Thank you so much and really really sorry.
hey, that's quite advanced for a college project ;)
first, start reading
then, it's a bit unfortunate, that you want to do that from java, as a little bug in the java wrappers does not allow you to create a FaceRecognizer without additional jni code, so, probably much easier to do that from python, or c++
I know right? ;( I also really wanna change my program languange, but it seems I must do it in Java T_T Thank you so much, i'll try to read that first. but I'm quite beginner, maybe somtimes I'll asking questions again. Is it okay? Thank you so much :')
sure, feel free to ask again, that's what this site is all about ;)
if you want to start somehow, maybe first try to get images from the webcam, and try to get the face-detection running ? (that'll keep you busy for the day, hehe ;)
also read this page, there's a short facedetect demo at the bottom
I already did the application to get images from webcam. Now I a bit confuse how to make that rectangle in our face. And then capture that area. Waw... Is that hard? Okay, I'll stop talking and try that first. Once again thank you so much :')
the hard thing for most people is finding the resources. you will need to load an xml cascade file for this, the getClass().getResource... sometimes does not work, try an absolute path to the cascade then