|
tesseract
4.00.00dev
|
#include "gtest/gtest.h"Go to the source code of this file.
Functions | |
| TEST (TesseractTest, FirstDummyTestForTesseract) | |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
This program reads in a text file consisting of feature samples from a training page in the following format:
FontName UTF8-char-str xmin ymin xmax ymax page-number
NumberOfFeatureTypes(N)
FeatureTypeName1 NumberOfFeatures(M)
Feature1
...
FeatureM
FeatureTypeName2 NumberOfFeatures(M)
Feature1
...
FeatureM
...
FeatureTypeNameN NumberOfFeatures(M)
Feature1
...
FeatureM
FontName CharName ...The result of this program is a binary inttemp file used by the OCR engine.
| argc | number of command line arguments |
| argv | array of command line arguments |
Definition at line 23 of file tesseracttests.cpp.
| TEST | ( | TesseractTest | , |
| FirstDummyTestForTesseract | |||
| ) |
Definition at line 19 of file tesseracttests.cpp.