reference/ocr-simple/learn.h
changeset 0 6b8091ca909a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/reference/ocr-simple/learn.h	Thu May 18 23:12:51 2006 +0200
@@ -0,0 +1,13 @@
+// learn.h 
+// Functions for use with LearnedcharGroups array
+void learn(char * tifFile, char * asciiFile);  // assumes "perfect" image
+void readLearnFiles();    // sources learnfile.tcl where learn files can be set
+
+int writeLearnedGroups(char * filename);  // Save learned characters
+int readLearnedGroups(char * filename);   // read back saved characters
+void testLearn();                         
+
+// oldlearn for use with LearnedChars array 
+// averaging learning ***NOT CURRENTLY USED ***
+void oldlearn(char * tifFile, char * asciiFile);  // averages values
+void initLearnedChars();   // sets learned charactere array to 0