Gender detection

asked 2013-11-22 00:01:53 -0600

deeesan gravatar image

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.

edit retag flag offensive close merge delete

Comments

Post some code. We cant know if you do something wrong

Moster gravatar imageMoster ( 2013-11-22 02:41:26 -0600 )edit

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.

deeesan gravatar imagedeeesan ( 2013-11-22 03:45:28 -0600 )edit

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.

albertofernandez gravatar imagealbertofernandez ( 2013-11-22 05:47:50 -0600 )edit

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.

deeesan gravatar imagedeeesan ( 2013-11-22 06:08:20 -0600 )edit

gender recognition using fisher face was working fine for me but suddenly i am getting Open CV error:Insufficient memory

deeesan gravatar imagedeeesan ( 2013-11-27 23:30:30 -0600 )edit