Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 25 of file set_unicharset_properties.cpp.
25 {
26 tesseract::CheckSharedLibraryVersion();
28
29
30 if (FLAGS_U.empty() || FLAGS_O.empty()) {
31 tprintf(
"Specify both input and output unicharsets!\n");
32 return EXIT_FAILURE;
33 }
34 if (FLAGS_script_dir.empty()) {
35 tprintf(
"Must specify a script_dir!\n");
36 return EXIT_FAILURE;
37 }
38
40 FLAGS_X.c_str());
41 return EXIT_SUCCESS;
42}
void ParseCommandLineFlags(const char *usage, int *argc, char ***argv, const bool remove_flags)
void tprintf(const char *format,...)
void SetPropertiesForInputFile(const std::string &script_dir, const std::string &input_unicharset_file, const std::string &output_unicharset_file, const std::string &output_xheights_file)