Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

face_locator_network Class Reference

#include <locator.h>

List of all members.

Public Methods

 face_locator_network (int hidden)
 face_locator_network (string FileName)
 ~face_locator_network ()
bool save (string FileName)
float run_net (annie::VECTOR &data)
float run_net (double *data)

Private Attributes

annie::TwoLayerNetworknet
bool is_set


Detailed Description

a neural network for use with facial location simply states if or if not it is a face that was passed to it


Constructor & Destructor Documentation

face_locator_network::face_locator_network int    hidden
 

create a new fully connected network with random weights

Parameters:
hidden  number of hidden nodes in the network

face_locator_network::face_locator_network string    FileName
 

read in the network based off of a saved file

Parameters:
FileName  the name of the file with the network info in it

face_locator_network::~face_locator_network  
 


Member Function Documentation

float face_locator_network::run_net double *    data
 

run the nural net on this set of data

Parameters:
data  an array containing the input data, should be of length INPUT_HEIGHT * INPUT_WIDTH
Returns:
the result the network gives

float face_locator_network::run_net annie::VECTOR   data
 

run the nural net on this set of data

Parameters:
data  an array containing the input data, should be of length INPUT_HEIGHT * INPUT_WIDTH
Returns:
the result the network gives

bool face_locator_network::save string    FileName
 

save the network to a file

Parameters:
FileName  the name of the file that will store this information
Returns:
true if it save correctly false if an error occured


Member Data Documentation

bool face_locator_network::is_set [private]
 

annie::TwoLayerNetwork* face_locator_network::net [private]
 

accutual annie nural network that this class is a wrapper for


The documentation for this class was generated from the following files:
Generated on Wed Apr 23 10:42:35 2003 for BioFilter by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002