tesseract v5.3.3.20231005
baseapi.cpp File Reference
#include "boxword.h"
#include "coutln.h"
#include "dawg_cache.h"
#include "dict.h"
#include "elst.h"
#include "environ.h"
#include "equationdetect.h"
#include "errcode.h"
#include "helpers.h"
#include "host.h"
#include "imageio.h"
#include "intfx.h"
#include "mutableiterator.h"
#include "normalis.h"
#include "pageres.h"
#include "paragraphs.h"
#include "params.h"
#include "pdblock.h"
#include "points.h"
#include "polyblk.h"
#include "rect.h"
#include "stepblob.h"
#include "tessdatamanager.h"
#include "tesseractclass.h"
#include "tprintf.h"
#include "werd.h"
#include "thresholder.h"
#include <tesseract/baseapi.h>
#include <tesseract/ocrclass.h>
#include <tesseract/osdetect.h>
#include <tesseract/renderer.h>
#include <tesseract/resultiterator.h>
#include <cmath>
#include <cstdint>
#include <cstring>
#include <fstream>
#include <iostream>
#include <locale>
#include <memory>
#include <set>
#include <sstream>
#include <vector>
#include <allheaders.h>
#include <dirent.h>
#include <libgen.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>

Go to the source code of this file.

Namespaces

namespace  tesseract
 

Macros

#define _USE_MATH_DEFINES
 

Functions

std::string tesseract::HOcrEscape (const char *text)
 

Variables

const int tesseract::kMinRectSize = 10
 
const char tesseract::kTesseractReject = '~'
 
const char tesseract::kUNLVReject = '~'
 
const char tesseract::kUNLVSuspect = '^'
 
const int tesseract::kNumbersPerBlob = 5
 
const int tesseract::kBytesPerNumber = 5
 
const int tesseract::kBytesPerBoxFileLine = (kBytesPerNumber + 1) * kNumbersPerBlob + 1
 
const int tesseract::kBytesPer64BitNumber = 20
 
const int tesseract::kMaxBytesPerLine = kNumbersPerBlob * (kBytesPer64BitNumber + 1) + 1 + UNICHAR_LEN
 
const int tesseract::kUniChs [] = {0x20ac, 0x201c, 0x201d, 0x2018, 0x2019, 0x2022, 0x2014, 0}
 
const int tesseract::kLatinChs [] = {0x00a2, 0x0022, 0x0022, 0x0027, 0x0027, 0x00b7, 0x002d, 0}
 

Macro Definition Documentation

◆ _USE_MATH_DEFINES

#define _USE_MATH_DEFINES

Definition at line 19 of file baseapi.cpp.