reference/ocr-simple/learn.h
changeset 0 6b8091ca909a
equal deleted inserted replaced
-1:000000000000 0:6b8091ca909a
       
     1 // learn.h 
       
     2 // Functions for use with LearnedcharGroups array
       
     3 void learn(char * tifFile, char * asciiFile);  // assumes "perfect" image
       
     4 void readLearnFiles();    // sources learnfile.tcl where learn files can be set
       
     5 
       
     6 int writeLearnedGroups(char * filename);  // Save learned characters
       
     7 int readLearnedGroups(char * filename);   // read back saved characters
       
     8 void testLearn();                         
       
     9 
       
    10 // oldlearn for use with LearnedChars array 
       
    11 // averaging learning ***NOT CURRENTLY USED ***
       
    12 void oldlearn(char * tifFile, char * asciiFile);  // averages values
       
    13 void initLearnedChars();   // sets learned charactere array to 0