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

Method GetPageSegMode

deps/tesseract/api/baseapi.cpp:465–470  ·  view source on GitHub ↗

Return the current page segmentation mode. */

Source from the content-addressed store, hash-verified

463
464/** Return the current page segmentation mode. */
465PageSegMode TessBaseAPI::GetPageSegMode() const {
466 if (tesseract_ == NULL)
467 return PSM_SINGLE_BLOCK;
468 return static_cast<PageSegMode>(
469 static_cast<int>(tesseract_->tessedit_pageseg_mode));
470}
471
472/**
473 * Recognize a rectangle from an image and return the result as a string.

Callers 3

NAN_GETTERFunction · 0.80
FixPageSegModeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected