Ignore:
Timestamp:
07/23/2009 01:04:04 PM (10 years ago)
Author:
dave
Message:

added face classifier application, not working yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • foam/trunk/vision/src/PCAClassifier.h

    r89 r94  
    2121#include "Matrix.h" 
    2222#include "Classifier.h" 
     23#include "PCA.h" 
    2324 
    2425#ifndef FOAM_PCA_CLASSIFIER 
     
    2829{ 
    2930public: 
    30         PCAClassifier(unsigned int FeatureSize); 
     31        PCAClassifier(const PCA &pca); 
    3132        ~PCAClassifier(); 
    32                  
     33         
     34        // take image vectors in internally uses pca space parameters 
     35        virtual void AddFeature(int group, const Vector<float> &f); 
     36        virtual int Classify(const Vector<float> &f, float &error); 
     37 
    3338private: 
    34          
    35          
     39        void Refresh(); 
     40 
     41        PCA m_PCA; 
    3642         
    3743}; 
Note: See TracChangeset for help on using the changeset viewer.