tesseract v5.3.3.20231005
apiexample_test.cc File Reference
#include <allheaders.h>
#include <tesseract/baseapi.h>
#include <time.h>
#include <fstream>
#include <iostream>
#include <locale>
#include <memory>
#include <string>
#include "include_gunit.h"
#include "image.h"

Go to the source code of this file.

Classes

class  tesseract::QuickTest
 
class  tesseract::MatchGroundTruth
 
class  tesseract::EuroText
 

Namespaces

namespace  tesseract
 

Functions

void tesseract::OCRTester (const char *imgname, const char *groundtruth, const char *tessdatadir, const char *lang)
 
 tesseract::TEST_P (MatchGroundTruth, FastPhototestOCR)
 
 tesseract::TEST_P (MatchGroundTruth, BestPhototestOCR)
 
 tesseract::TEST_P (MatchGroundTruth, TessPhototestOCR)
 
 tesseract::INSTANTIATE_TEST_SUITE_P (Eng, MatchGroundTruth, ::testing::Values("eng"))
 
 tesseract::INSTANTIATE_TEST_SUITE_P (DISABLED_Latin, MatchGroundTruth, ::testing::Values("script/Latin"))
 
 tesseract::INSTANTIATE_TEST_SUITE_P (DISABLED_Deva, MatchGroundTruth, ::testing::Values("script/Devanagari"))
 
 tesseract::INSTANTIATE_TEST_SUITE_P (DISABLED_Arabic, MatchGroundTruth, ::testing::Values("script/Arabic"))
 
 tesseract::TEST_F (EuroText, FastLatinOCR)