#include <algorithm>
#include <cstdio>
#include <tesseract/baseapi.h>
#include "commontraining.h"
#include "mastertrainer.h"
#include "params.h"
#include <tesseract/strngs.h>
#include "tessclassifier.h"
#include "tesseractclass.h"
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
◆ ClassifierName
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 110 of file classifier_tester.cpp.
111 tesseract::CheckSharedLibraryVersion();
119 FLAGS_classifier.c_str(), trainer->
unicharset(), argc, argv, &api);
120 if (shape_classifier ==
nullptr) {
121 fprintf(stderr,
"Classifier init failed!:%s\n", FLAGS_classifier.c_str());
131 std::max(3, static_cast<int>(FLAGS_debug_level)),
false,
132 shape_classifier,
nullptr);
133 delete shape_classifier;