MCPcopy Create free account
hub / github.com/creatale/node-dv / PrintHelpForPSM

Function PrintHelpForPSM

deps/tesseract/api/tesseractmain.cpp:110–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void PrintHelpForPSM() {
111 const char* msg =
112 "Page segmentation modes:\n"
113 " 0 Orientation and script detection (OSD) only.\n"
114 " 1 Automatic page segmentation with OSD.\n"
115 " 2 Automatic page segmentation, but no OSD, or OCR.\n"
116 " 3 Fully automatic page segmentation, but no OSD. (Default)\n"
117 " 4 Assume a single column of text of variable sizes.\n"
118 " 5 Assume a single uniform block of vertically aligned text.\n"
119 " 6 Assume a single uniform block of text.\n"
120 " 7 Treat the image as a single text line.\n"
121 " 8 Treat the image as a single word.\n"
122 " 9 Treat the image as a single word in a circle.\n"
123 " 10 Treat the image as a single character.\n"
124 " 11 Sparse text. Find as much text as possible in no"
125 " particular order.\n"
126 " 12 Sparse text with OSD.\n"
127 " 13 Raw line. Treat the image as a single text line,\n"
128 "\t\t\tbypassing hacks that are Tesseract-specific.\n";
129
130 printf("%s", msg);
131}
132
133void PrintHelpForOEM() {
134 const char* msg =

Callers 2

PrintHelpMessageFunction · 0.85
ParseArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected