OCR on a Multipage TIFF Image File (C++)

You are here:
< All Topics

This function process several images stored in a TIFF file. The OCR results are stored in a text file.

This function uses a OCR output handler that is defined now:

void myOutputHandler(int infotype,int param) 
{
int i; 
switch(infotype) 
{
case OT_TEXT:
fprintf(file,"%c",(char) param); 
break;
case OT_ENDL:
fprintf(file,"\\n"); 
break;
case OT_ENDZ:
fprintf(file,"\\n\\n");
}
}
Contact Us for FREE Consultation on Your OCR Project
=
Table of Contents

Title

Go to Top