tesseract
4.00.00dev
|
#include "gtest/gtest.h"
#include "baseapi.h"
#include "leptonica/allheaders.h"
#include <iostream>
#include <string>
#include <fstream>
#include <locale>
Go to the source code of this file.
Functions | |
TEST (TesseractTest, ApiExample) | |
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 53 of file apiexample_test.cc.
TEST | ( | TesseractTest | , |
ApiExample | |||
) |
Definition at line 24 of file apiexample_test.cc.