Home
last modified time | relevance | path

Searched refs:EquationDetect (Results 1 – 8 of 8) sorted by relevance

/dports/graphics/tesseract/tesseract-5.0.0/src/ccmain/
H A Dequationdetect.cpp91 return type == EquationDetect::LEFT_INDENT || type == EquationDetect::BOTH_INDENT; in IsLeftIndented()
95 return type == EquationDetect::RIGHT_INDENT || type == EquationDetect::BOTH_INDENT; in IsRightIndented()
98 EquationDetect::EquationDetect(const char *equ_datapath, const char *equ_name) { in EquationDetect() function in tesseract::EquationDetect
117 EquationDetect::~EquationDetect() { in ~EquationDetect()
250 void EquationDetect::IdentifySpecialText() { in IdentifySpecialText()
408 void EquationDetect::MergePartsByLocation() { in MergePartsByLocation()
518 void EquationDetect::IdentifySeedParts() { in IdentifySeedParts()
753 void EquationDetect::IdentifyInlineParts() { in IdentifyInlineParts()
761 void EquationDetect::ComputeCPsSuperBBox() { in ComputeCPsSuperBBox()
829 int EquationDetect::EstimateTextPartLineSpacing() { in EstimateTextPartLineSpacing()
[all …]
H A Dequationdetect.h37 class TESS_API EquationDetect : public EquationDetectBase {
39 EquationDetect(const char *equ_datapath, const char *equ_language);
40 ~EquationDetect() override;
H A Dtesseractclass.h73 class EquationDetect; variable
196 void SetEquationDetect(EquationDetect *detector);
1012 EquationDetect *equ_detect_;
H A Dtesseractclass.cpp501 void Tesseract::SetEquationDetect(EquationDetect *detector) { in SetEquationDetect()
/dports/graphics/tesseract/tesseract-5.0.0/unittest/
H A Dequationdetect_test.cc33 class TestableEquationDetect : public EquationDetect {
36 : EquationDetect(tessdata, EQU_TRAINEDDATA_NAME) { in TestableEquationDetect()
78 EquationDetect::IndentType RunIsIndented(ColPartitionGrid *part_grid, ColPartition *part) { in RunIsIndented()
278 EXPECT_EQ(EquationDetect::NO_INDENT, equation_det_->RunIsIndented(&part_grid, part1)); in TEST_F()
280 EXPECT_EQ(EquationDetect::LEFT_INDENT, equation_det_->RunIsIndented(&part_grid, part2)); in TEST_F()
282 EXPECT_EQ(EquationDetect::RIGHT_INDENT, equation_det_->RunIsIndented(&part_grid, part3)); in TEST_F()
284 EXPECT_EQ(EquationDetect::BOTH_INDENT, equation_det_->RunIsIndented(&part_grid, part4)); in TEST_F()
286 EXPECT_EQ(EquationDetect::NO_INDENT, equation_det_->RunIsIndented(&part_grid, part5)); in TEST_F()
/dports/graphics/tesseract/tesseract-5.0.0/include/tesseract/
H A Dbaseapi.h52 class EquationDetect; variable
769 EquationDetect *equ_detect_; ///< The equation detector.
/dports/multimedia/ccextractor/ccextractor-0.85/windows/libs/include/
H A Dbaseapi.h70 class EquationDetect; variable
861 EquationDetect* equ_detect_; ///<The equation detector.
/dports/graphics/tesseract/tesseract-5.0.0/src/api/
H A Dbaseapi.cpp2114 equ_detect_ = new EquationDetect(datapath_.c_str(), nullptr); in FindLines()