Go to the source code of this file.
◆ DECLARE_STRING_PARAM_FLAG() [1/3]
DECLARE_STRING_PARAM_FLAG |
( |
U |
| ) |
|
◆ DECLARE_STRING_PARAM_FLAG() [2/3]
DECLARE_STRING_PARAM_FLAG |
( |
O |
| ) |
|
◆ DECLARE_STRING_PARAM_FLAG() [3/3]
DECLARE_STRING_PARAM_FLAG |
( |
X |
| ) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 29 of file set_unicharset_properties.cpp.
30 tesseract::CheckSharedLibraryVersion();
34 if (FLAGS_U.empty() || FLAGS_O.empty()) {
35 tprintf(
"Specify both input and output unicharsets!\n");
38 if (FLAGS_script_dir.empty()) {
39 tprintf(
"Must specify a script_dir!\n");
44 FLAGS_U.c_str(), FLAGS_O.c_str(),
void ParseCommandLineFlags(const char *usage, int *argc, char ***argv, const bool remove_flags)
DLLSYM 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)
◆ STRING_PARAM_FLAG()
STRING_PARAM_FLAG |
( |
script_dir |
, |
|
|
"" |
, |
|
|
"Directory name for input script unicharsets/xheights" |
|
|
) |
| |