Ignore:
Timestamp:
07/24/2009 03:33:27 PM (10 years ago)
Author:
dave
Message:

eigenface user classification seems to work on the test video

File:
1 edited

Legend:

Unmodified
Added
Removed
  • foam/trunk/faceclassifier/src/FaceBank.cpp

    r94 r95  
    5151{ 
    5252        // Subtract the mean as an attempt to deal with global lighting changes 
    53         face.SubMean(); 
     53        //face.SubMean(); 
    5454         
    5555        m_Classifier->AddFeature(ID,face.Scale(m_FaceWidth,m_FaceHeight).RGB2GRAY().ToFloatVector()); 
     
    6262{ 
    6363        // Subtract the mean as an attempt to deal with global lighting changes 
    64         face.SubMean(); 
     64        //face.SubMean(); 
    6565         
    6666        float error; 
     
    6868 
    6969        // if the error is less than the threshold, return the id 
    70         if (error<m_ErrorThresh) 
     70        //if (error<m_ErrorThresh) 
    7171        { 
    7272                return 1-error; 
Note: See TracChangeset for help on using the changeset viewer.