Gender detection
Hi
I am trying to detect gender from video streaming and got the sample code from "Face recognition from video stream". But the prediction result is fluctuating always. When i tried storing the image and detecting the gender it is working fine.
Post some code. We cant know if you do something wrong
I am using the code available at http://docs.opencv.org/trunk/_downloads/facerec_video.cpp. But I trained the model with gender classification data.
in my opinion, you should donwload, for example LFW database (http://vis-www.cs.umass.edu/lfw/), because it is a realistic database. You should train with 1000-2000 images per class and i think you should predict good results.
im actually downloading FERET database. Currently, trained with some images and testing it. If it is data problem, it may show wrong result like 0 or 1 but in my case it is fluctuating 0 and 1 from the live video stream.
gender recognition using fisher face was working fine for me but suddenly i am getting Open CV error:Insufficient memory